CmdID

CmdID / Commands

gcloud-config-set

Set a property in the Google Cloud CLI configuration. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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_idIdentify

Set the compute zone for future operations

gcloud config set compute/zone zone_nameIdentify

Disable prompting to make gcloud suitable for scripting

gcloud config set disable_prompts trueIdentify

View the list of properties currently in use

gcloud config listIdentify

Unset a previously set property

gcloud config unset property_nameIdentify

Create a new configuration profile

gcloud config configurations create configuration_nameIdentify

Switch between different configuration profiles

gcloud config configurations activate configuration_nameIdentify