init
This commit is contained in:
commit
922fa0e77a
62 changed files with 2586 additions and 0 deletions
17
api-gateway/create_api_dev.sh
Executable file
17
api-gateway/create_api_dev.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/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}' が作成され、有効化されました。"
|
||||
Loading…
Add table
Add a link
Reference in a new issue