gcloud set project
gcloud config set project <Your-Project-Name>
3.75
4
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`
Thank you!
4
0
4.14
7
gcloud config set project my-project
Thank you!
7
0
4.83
6
gcloud config set project my-project
Thank you!
6
0
Are there any code examples left?
New code examples in category Shell/Bash