sales_tool/api-gateway/create_api_dev.sh
2025-11-17 14:21:29 +09:00

17 lines
No EOL
399 B
Bash
Executable file

#!/bin/bash
# プロジェクトIDを設定
PROJECT_ID="datacom-poc"
# 使用するAPI名
API_NAME="sales-tool-api"
# プロジェクトを設定
gcloud auth application-default set-quota-project dmiru-dev
gcloud config set project $PROJECT_ID
# API Gatewayを作成
gcloud api-gateway apis create sales-tool-api \
echo "API Gateway '${API_NAME}' が作成され、有効化されました。"