17 lines
No EOL
399 B
Bash
Executable file
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}' が作成され、有効化されました。" |