gcp sdk change project code example
Example 1: gcloud set project
gcloud config set project <Your-Project-Name>
Example 2: gcloud set project
gcloud config set project my-project
gcloud config set project <Your-Project-Name>
gcloud config set project my-project