gcloud-config-set
Set a property in the Google Cloud CLI configuration. tldr-pages
On several platforms
Several platforms
Set a property in the Google Cloud CLI configuration. Properties control various aspects of Google Cloud CLI behavior.
Set the project property in the core section
gcloud config set project project_idIdentifySet the compute zone for future operations
gcloud config set compute/zone zone_nameIdentifyDisable prompting to make gcloud suitable for scripting
gcloud config set disable_prompts trueIdentifyView the list of properties currently in use
gcloud config listIdentifyUnset a previously set property
gcloud config unset property_nameIdentifyCreate a new configuration profile
gcloud config configurations create configuration_nameIdentifySwitch between different configuration profiles
gcloud config configurations activate configuration_nameIdentify