how to set existing project as default in google cloud shell code example
Example 1: gcloud set project
gcloud config set project <Your-Project-Name>
Example 2: gcloud set project
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`