📜  gcloud 更改项目 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:30.779000             🧑  作者: Mango

代码示例3
gcloud auth list
* account 1
  account 2

# change the project's account if not
gcloud config set account `ACCOUNT`

#Depending on the account, the project list will be different:
gcloud projects list

- project 1
- project 2...

#Switch to intended project:
gcloud config set project `PROJECT ID`