gcloud config

NAME
gcloud config - view and edit Google Cloud CLI properties
SYNOPSIS
gcloud config GROUP | COMMAND [GCLOUD_WIDE_FLAG]
DESCRIPTION
The gcloud config command group lets you set, view and unset properties used by Google Cloud CLI.

A configuration is a set of properties that govern the behavior of gcloud and other Google Cloud CLI tools. The initial default configuration is set when gcloud init is run. You can create additional named configurations using gcloud init or gcloud config configurations create.

To display the path of the active configuration along with information about the current gcloud environment, run $ gcloud info.

To switch between configurations, use gcloud config configurations activate.

gcloud supports several flags that have the same effect as properties in a configuration (for example, gcloud supports both the --project flag and project property). Properties differ from flags in that flags affect command behavior on a per-invocation basis. Properties allow you to maintain the same settings across command executions.

In addition to setting properties in a configuration, and the use of flags, it is possible to override the value of a property with an environment variable. The matching environment variable for a property is of the form 'CLOUDSDK_CATEGORY_PROPERTY'. For example, to demonstrate overriding the project property in the core category to my-project, use a command like:

CLOUDSDK_CORE_PROJECT=my-project gcloud config get core/project

For more information on configurations, see gcloud topic configurations.

GCLOUD WIDE FLAGS
These flags are available to all commands: --help.

Run $ gcloud help for details.

GROUPS
GROUP is one of the following:
configurations
Manage the set of gcloud named configurations.
COMMANDS
COMMAND is one of the following:
get
Print the value of a Google Cloud CLI property.
list
List Google Cloud CLI properties for the currently active configuration.
set
Set a Google Cloud CLI property.
unset
Unset a Google Cloud CLI property.
AVAILABLE PROPERTIES
core
account
Account gcloud should use for authentication. Run gcloud auth list to see your currently available accounts.
console_log_format
Control the format used to display log messages to the console.

Valid values are:

  • standard - Simplified log messages are displayed on the console.
  • detailed - More detailed messages are displayed on the console.

If unset, default is standard.

custom_ca_certs_file
Absolute path to a custom CA cert file.
default_format
Sets the default format for printing command resources. core/default_format overrides the default yaml format. If the command contains a command-specific output format, it takes precedence over the core/default_format value. Use --verbosity=debug flag to view the command-specific format. Both core/format and --format also take precedence over core/default_format. The supported formats are limited to: config, default, disable, flattened, json, list, none, object, text. For more details run $ gcloud topic formats. Run $ gcloud config set --help to see more information about core/default_format
default_regional_backend_service
If True, backend services in gcloud compute backend-services will be regional by default. Setting the --global flag is required for global backend services.
disable_color
If True, color will not be used when printing messages in the terminal.
disable_file_logging
If True, gcloud will not store logs to a file. This may be useful if disk space is limited.
disable_prompts
If True, the default answer will be assumed for all user prompts. However, for any prompts that require user input, an error will be raised. This is equivalent to either using the global --quiet flag or setting the environment variable CLOUDSDK_CORE_DISABLE_PROMPTS to 1. Setting this property is useful when scripting with gcloud.
disable_usage_reporting
If True, anonymous statistics on SDK usage will not be collected. This value is set by your choices during installation, but can be changed at any time. For more information, see Usage statistics.
format
Sets the format for printing all command resources. This overrides the default command-specific human-friendly output format. Use --verbosity=debug flag to view the command-specific format. If both core/default_format and core/format are specified, core/format takes precedence. If both core/format and --format are specified, --format takes precedence. The supported formats are limited to: config, default, disable, flattened, json, list, none, object, text. For more details run $ gcloud topic formats. Run $ gcloud config set --help to see more information about core/format
log_http
If True, log HTTP requests and responses to the logs. To see logs in the terminal, adjust verbosity settings. Otherwise, logs are available in their respective log files.
max_log_days
Maximum number of days to retain log files before deleting. If set to 0, turns off log garbage collection and does not delete log files. If unset, the default is 30 days.
parse_error_details
If True, gcloud will attempt to parse and interpret error details in API originating errors. If False, gcloud will write flush error details as is to stderr/log.
pass_credentials_to_gsutil
If True, pass the configured Google Cloud CLI authentication to gsutil.
project
Project ID of the Cloud Platform project to operate on by default. This can be overridden by using the global --project flag.
show_structured_logs
Control when JSON-structured log messages for the current verbosity level (and above) will be written to standard error. If this property is disabled, logs are formatted as text by default.

Valid values are:

  • never - Log messages as text
  • always - Always log messages as JSON
  • log - Only log messages as JSON if stderr is a file
  • terminal - Only log messages as JSON if stderr is a terminal

If unset, default is never.

trace_token
Token used to route traces of service requests for investigation of issues. This token will be provided by Google support.
universe_domain
Sets the domain of the universe to use for API requests.
user_output_enabled
True, by default. If False, messages to the user and command output on both standard output and standard error will be suppressed.
verbosity
Default logging verbosity for gcloud commands. This is the equivalent of using the global --verbosity flag. Supported verbosity levels: debug, info, warning, error, critical, and none.
accessibility
screen_reader
Make gcloud more screen reader friendly.
ai
region
Default region to use when working with AI Platform resources. When a --region flag is required but not provided, the command will fall back to this value, if set.
ai_platform
region
Default region to use when working with AI Platform Training and Prediction resources (currently for Prediction only). It is ignored for training resources for now. The value should be either global or one of the supported regions. When a --region flag is required but not provided, the command will fall back to this value, if set.
api_endpoint_overrides
accessapproval
Overrides API endpoint for gcloud access-approval command group. Defaults to https://accessapproval.googleapis.com/
accesscontextmanager
Overrides API endpoint for gcloud access-context-manager command group. Defaults to https://accesscontextmanager.googleapis.com/
ai
Overrides API endpoint for gcloud ai command group.
aiplatform
Overrides API endpoint for gcloud ai-platform command group. Defaults to https://aiplatform.googleapis.com/
anthosevents
Overrides API endpoint for gcloud anthos command group. Defaults to https://anthosevents.googleapis.com/
anthospolicycontrollerstatus_pa
Overrides API endpoint for gcloud container fleet policycontroller command group. Defaults to https://anthospolicycontrollerstatus-pa.googleapis.com/
apigateway
Overrides API endpoint for gcloud api-gateway command group. Defaults to https://apigateway.googleapis.com/
apigee
Overrides API endpoint for gcloud apigee command group. Defaults to https://apigee.googleapis.com/
appengine
Overrides API endpoint for gcloud app command group. Defaults to https://appengine.googleapis.com/
apphub
Overrides API endpoint for gcloud apphub command group. Defaults to https://apphub.googleapis.com/
artifactregistry
Overrides API endpoint for gcloud artifacts command group. Defaults to https://artifactregistry.googleapis.com/
assuredworkloads
Overrides API endpoint for gcloud assured command group. Defaults to https://assuredworkloads.googleapis.com/
auditmanager
Overrides API endpoint for gcloud audit-manager command group. Defaults to https://auditmanager.googleapis.com/
baremetalsolution
Overrides API endpoint for gcloud bms command group. Defaults to https://baremetalsolution.googleapis.com/
bigtableadmin
Overrides API endpoint for gcloud bigtable command group. Defaults to https://bigtableadmin.googleapis.com/
certificatemanager
Overrides API endpoint for gcloud certificate-manager command group. Defaults to https://certificatemanager.googleapis.com/
cloudapiregistry
Overrides API endpoint for gcloud api-registry command group. Defaults to https://cloudapiregistry.googleapis.com/
cloudasset
Overrides API endpoint for gcloud asset command group. Defaults to https://cloudasset.googleapis.com/
cloudbilling
Overrides API endpoint for gcloud billing command group. Defaults to https://cloudbilling.googleapis.com/
cloudbuild
Overrides API endpoint for gcloud builds command group. Defaults to https://cloudbuild.googleapis.com/
cloudcommerceconsumerprocurement
Overrides API endpoint for gcloud commerce-procurement command group. Defaults to https://cloudcommerceconsumerprocurement.googleapis.com/
clouddebugger
Overrides API endpoint for gcloud debug command group. Defaults to https://clouddebugger.googleapis.com/
clouddeploy
Overrides API endpoint for gcloud deploy command group. Defaults to https://clouddeploy.googleapis.com/
clouderrorreporting
Overrides API endpoint for gcloud error-reporting command group. Defaults to https://clouderrorreporting.googleapis.com/
cloudfunctions
Overrides API endpoint for gcloud functions command group. Defaults to https://cloudfunctions.googleapis.com/
cloudidentity
Overrides API endpoint for gcloud identity command group. Defaults to https://cloudidentity.googleapis.com/
cloudkms
Overrides API endpoint for gcloud kms command group. Defaults to https://cloudkms.googleapis.com/
cloudlocationfinder
Overrides API endpoint for gcloud cloudlocationfinder command group. Defaults to https://cloudlocationfinder.googleapis.com/
cloudresourcemanager
Overrides API endpoint for gcloud projects command group. Defaults to https://cloudresourcemanager.googleapis.com/
cloudscheduler
Overrides API endpoint for gcloud scheduler command group. Defaults to https://cloudscheduler.googleapis.com/
cloudsecuritycompliance
Overrides API endpoint for gcloud compliance-manager command group. Defaults to https://cloudsecuritycompliance.googleapis.com/
cloudtasks
Overrides API endpoint for gcloud tasks command group. Defaults to https://cloudtasks.googleapis.com/
cloudtrace
Overrides API endpoint for gcloud trace command group. Defaults to https://cloudtrace.googleapis.com/
composer
Overrides API endpoint for gcloud composer command group. Defaults to https://composer.googleapis.com/
compute
Overrides API endpoint for gcloud compute command group. For Private Service Connect usage, see https://cloud.google.com/vpc/docs/configure-private-service-connect-apis#using-endpoints
config
Overrides API endpoint for gcloud infra-manager command group. Defaults to https://config.googleapis.com/
container
Overrides API endpoint for gcloud container command group. Defaults to https://container.googleapis.com/
datacatalog
Overrides API endpoint for gcloud data-catalog command group. Defaults to https://datacatalog.googleapis.com/
dataflow
Overrides API endpoint for gcloud dataflow command group. Defaults to https://dataflow.googleapis.com/
datafusion
Overrides API endpoint for gcloud data-fusion command group. Defaults to https://datafusion.googleapis.com/
datamigration
Overrides API endpoint for gcloud database-migration command group. Defaults to https://datamigration.googleapis.com/
datapipelines
Overrides API endpoint for gcloud datapipelines command group. Defaults to https://datapipelines.googleapis.com/
dataplex
Overrides API endpoint for gcloud dataplex command group. Defaults to https://dataplex.googleapis.com/
dataproc
Overrides API endpoint for gcloud dataproc command group. Defaults to https://dataproc.googleapis.com/
datastore
Overrides API endpoint for gcloud datastore command group. Defaults to https://datastore.googleapis.com/
datastream
Overrides API endpoint for gcloud datastream command group. Defaults to https://datastream.googleapis.com/
deploymentmanager
Overrides API endpoint for gcloud deployment-manager command group. Defaults to https://deploymentmanager.googleapis.com/
developerconnect
Overrides API endpoint for gcloud developer-connect command group. Defaults to https://developerconnect.googleapis.com/
dns
Overrides API endpoint for gcloud dns command group. Defaults to https://dns.googleapis.com/dns/v1/
domains
Overrides API endpoint for gcloud domains command group. Defaults to https://domains.googleapis.com/
edgecontainer
Overrides API endpoint for gcloud edge-container command group. Defaults to https://edgecontainer.googleapis.com/
eventarc
Overrides API endpoint for gcloud eventarc command group. Defaults to https://eventarc.googleapis.com/
eventarcpublishing
Overrides API endpoint for gcloud eventarc publish command group. Defaults to https://eventarcpublishing.googleapis.com/
faultinjectiontesting
Overrides API endpoint for gcloud fault-injection command group. Defaults to https://faultinjectiontesting.googleapis.com/
faulttesting
Overrides API endpoint for gcloud fault-testing command group. Defaults to https://faulttesting.googleapis.com/
file
Overrides API endpoint for gcloud filestore command group. Defaults to https://file.googleapis.com/
firebasedataconnect
Overrides API endpoint for gcloud firebase-data-connect command group. Defaults to https://firebasedataconnect.googleapis.com/
firestore
Overrides API endpoint for gcloud firestore command group. Defaults to https://firestore.googleapis.com/
genomics
Overrides API endpoint for gcloud genomics command group. Defaults to https://genomics.googleapis.com/
gkemulticloud
Overrides API endpoint for gcloud container aws, gcloud container azure and gcloud container attached command groups.
healthcare
Overrides API endpoint for gcloud healthcare command group. Defaults to https://healthcare.googleapis.com/
hypercomputecluster
Overrides API endpoint for gcloud cluster-director command group. Defaults to https://hypercomputecluster.googleapis.com/
iam
Overrides API endpoint for gcloud iam command group. Defaults to https://iam.googleapis.com/
iamconnectors
Overrides API endpoint for gcloud agent-identity command group. Defaults to https://iamconnectors.googleapis.com/
iamcredentials
Overrides API endpoint for gcloud iam command group. Defaults to https://iamcredentials.googleapis.com/
iap
Overrides API endpoint for gcloud iap command group. Defaults to https://iap.googleapis.com/
ids
Overrides API endpoint for gcloud ids command group. Defaults to https://ids.googleapis.com/
krmapihosting
Overrides API endpoint for gcloud anthos config controller command group. Defaults to https://krmapihosting.googleapis.com/
language
Overrides API endpoint for gcloud ml language command group. Defaults to https://language.googleapis.com/
lifesciences
Overrides API endpoint for gcloud lifesciences command group. Defaults to https://lifesciences.googleapis.com/
logging
Overrides API endpoint for gcloud logging command group. Defaults to https://logging.googleapis.com/
looker
Overrides API endpoint for gcloud looker command group. Defaults to https://looker.googleapis.com/
managedidentities
Overrides API endpoint for gcloud active-directory command group. Defaults to https://managedidentities.googleapis.com/
marketplacesolutions
Overrides API endpoint for gcloud mps command group. Defaults to https://marketplacesolutions.googleapis.com/
mediaasset
Overrides API endpoint for gcloud media command group. Defaults to https://mediaasset.googleapis.com/
memcache
Overrides API endpoint for gcloud memcache command group. Defaults to https://memcache.googleapis.com/
metastore
Overrides API endpoint for gcloud metastore command group. Defaults to https://metastore.googleapis.com/
monitoring
Overrides API endpoint for gcloud monitoring command group. Defaults to https://monitoring.googleapis.com/
netapp
Overrides API endpoint for gcloud netapp command group. Defaults to https://netapp.googleapis.com/
networkconnectivity
Overrides API endpoint for gcloud network-connectivity command group. Defaults to https://networkconnectivity.googleapis.com/
networkmanagement
Overrides API endpoint for gcloud network-management command group. Defaults to https://networkmanagement.googleapis.com/
networksecurity
Overrides API endpoint for gcloud network-security command group. Defaults to https://networksecurity.googleapis.com/
networkservices
Overrides API endpoint for gcloud network-services command group. Defaults to https://networkservices.googleapis.com/
notebooks
Overrides API endpoint for gcloud notebooks command group. Defaults to https://notebooks.googleapis.com/
observability
Overrides API endpoint for gcloud observability command group. Defaults to https://observability.googleapis.com/
orgpolicy
Overrides API endpoint for gcloud org-policies command group. Defaults to https://orgpolicy.googleapis.com/
policyanalyzer
Overrides API endpoint for policy-intelligence command group. Defaults to https://policyanalyzer.googleapis.com/
privateca
Overrides API endpoint for gcloud privateca command group. Defaults to https://privateca.googleapis.com/
privilegedaccessmanager
Overrides API endpoint for gcloud pam command group. Defaults to https://privilegedaccessmanager.googleapis.com/
publicca
Overrides API endpoint for gcloud publicca command group. Defaults to https://publicca.googleapis.com/
pubsub
Overrides API endpoint for gcloud pubsub command group. Defaults to https://pubsub.googleapis.com/
recaptchaenterprise
Overrides API endpoint for gcloud recaptcha command group. Defaults to https://recaptchaenterprise.googleapis.com/
recommender
Overrides API endpoint for gcloud recommender command group. Defaults to https://recommender.googleapis.com/
redis
Overrides API endpoint for gcloud redis command group. Defaults to https://redis.googleapis.com/
run
Overrides API endpoint for gcloud run command group. Defaults to https://run.googleapis.com/
runtimeconfig
Overrides API endpoint for gcloud runtime-config command group. Defaults to https://runtimeconfig.googleapis.com/
sddc
Overrides API endpoint for gcloud vmware sddc command group. Defaults to https://sddc.googleapis.com/
secretmanager
Overrides API endpoint for gcloud secrets command group. Defaults to https://secretmanager.googleapis.com/
securitycenter
Overrides API endpoint for gcloud scc command group. Defaults to https://securitycenter.googleapis.com/
servicedirectory
Overrides API endpoint for gcloud service-directory command group. Defaults to https://servicedirectory.googleapis.com/
servicemanagement
Overrides API endpoint for gcloud endpoints command group. Defaults to https://servicemanagement.googleapis.com/
sourcerepo
Overrides API endpoint for gcloud source command group. Defaults to https://sourcerepo.googleapis.com/
spanner
Overrides API endpoint for gcloud spanner command group. For spanner emulator usage, see https://cloud.google.com/spanner/docs/emulator#using_the_gcloud_cli_with_the_emulator
speech
Overrides API endpoint for gcloud ml speech command group. Defaults to https://speech.googleapis.com/
sql
Overrides API endpoint for gcloud sql command group.
storage
Overrides API endpoint for gcloud storage command group. Defaults to https://storage.googleapis.com/storage/v1/
testing
Overrides API endpoint for gcloud firebase test command group. Defaults to https://testing.googleapis.com/
transfer
Overrides API endpoint for gcloud transfer command group.
transferappliance
Overrides API endpoint for gcloud transfer appliances command group. Defaults to https://transferappliance.googleapis.com/
vectorsearch
Overrides API endpoint for gcloud vector-search command group. Defaults to https://vectorsearch.googleapis.com/
vision
Overrides API endpoint for gcloud ml vision command group. Defaults to https://vision.googleapis.com/
vmmigration
Overrides API endpoint for gcloud migration vms command group. Defaults to https://vmmigration.googleapis.com/
vmwareengine
Overrides API endpoint for gcloud vmware command group. Defaults to https://vmwareengine.googleapis.com/
workflowexecutions
Overrides API endpoint for gcloud workflows executions command group. Defaults to https://workflowexecutions.googleapis.com/
workflows
Overrides API endpoint for gcloud workflows command group. Defaults to https://workflows.googleapis.com/
workstations
Overrides API endpoint for gcloud workstations command group. Defaults to https://workstations.googleapis.com/
app
cloud_build_timeout
Timeout, in seconds, to wait for Docker builds to complete during deployments. All Docker builds now use the Cloud Build API.
promote_by_default
If True, when deploying a new version of a service, that version will be promoted to receive all traffic for the service. This property can be overridden with the --promote-by-default or --no-promote-by-default flags.
stop_previous_version
If True, when deploying a new version of a service, the previously deployed version is stopped. If False, older versions must be stopped manually.
use_runtime_builders
If set, opt in/out to a new code path for building applications using pre-fabricated runtimes that can be updated independently of client tooling. If not set, the default path for each runtime is used.
artifacts
location
Default location to use when working with Artifact Registry resources. When a location value is required but not provided, the command will fall back to this value, if set. If this value is unset, the default location is global when location value is optional.
repository
Default repository to use when working with Artifact Registry resources. When a repository value is required but not provided, the command will fall back to this value, if set.
auth
access_token_file
A file path to read the access token. Use this property to authenticate gcloud with an access token. The credentials of the active account (if it exists) will be ignored. The file should contain an access token with no other information.
disable_credentials
If True, gcloud will not attempt to load any credentials or authenticate any requests. This is useful when behind a proxy that adds authentication to requests.
impersonate_service_account
While set, all API requests will be made as the given service account or target service account in an impersonation delegation chain instead of the currently selected account. You can specify either a single service account as the impersonator, or a comma-separated list of service accounts to create an impersonation delegation chain. This is done without needing to create, download, or activate a key for the service account or accounts.

In order to make API requests as a service account, your currently selected account must have an IAM role that includes the iam.serviceAccounts.getAccessToken permission for the service account or accounts.

The roles/iam.serviceAccountTokenCreator role has the iam.serviceAccounts.getAccessToken permission. You can also create a custom role.

You can specify a list of service accounts, separated with commas. This creates an impersonation delegation chain in which each service account delegates its permissions to the next service account in the chain. Each service account in the list must have the roles/iam.serviceAccountTokenCreator role on the next service account in the list. For example, when the property is set through gcloud config set auth/impersonate_service_account= SERVICE_ACCOUNT_1,SERVICE_ACCOUNT_2, the active account must have the roles/iam.serviceAccountTokenCreator role on SERVICE_ACCOUNT_1, which must have the roles/iam.serviceAccountTokenCreator role on SERVICE_ACCOUNT_2. SERVICE_ACCOUNT_1 is the impersonated service account and SERVICE_ACCOUNT_2 is the delegate.

login_config_file
Sets the created login configuration file in auth/login_config_file. Calling gcloud auth login will automatically use this login configuration unless it is explicitly unset.
service_account_disable_id_token_refresh
If True, disable ID token refresh for service account.
service_account_use_self_signed_jwt
If True, use self signed jwt flow to get service account credentials access token. This only applies to service account json file and not to the legacy .p12 file.
token_host
Overrides the token endpoint to provision access tokens. It can be used with Private Service Connect.
batch
location
Default location to use when working with Batch resources. When a location value is required but not provided, the command will fall back to this value, if set.
billing
quota_project
The Google Cloud project that is billed and charged quota for operations performed in gcloud. When unset, the default is [CURRENT_PROJECT]. This default bills and charges quota against the current project. If you need to operate on one project, but need to bill your usage against or use quota from a different project, you can use this flag to specify the billing project. If both billing/quota_project and --billing-project are specified, --billing-project takes precedence.
builds
kaniko_cache_ttl
TTL, in hours, of cached layers when using Kaniko. If zero, layer caching is disabled.
region
Default region to use when working with Cloud Build resources. When a --region flag is required but not provided, the command will fall back to this value, if set.
timeout
Timeout, in seconds, to wait for builds to complete. If unset, defaults to 10 minutes.
use_kaniko
If True, kaniko will be used to build images described by a Dockerfile, instead of docker build.
colab
region
Default region to use when working with Colab Enterprise resources. When a --region flag is required but not provided, the command will fall back to this value, if set. Please see https://cloud.google.com/colab/docs/locations for a list of supported regions.
component_manager
additional_repositories
Comma separated list of additional repositories to check for components. This property is automatically managed by the gcloud components repositories commands.
disable_update_check
If True, Google Cloud CLI will not automatically check for updates.
composer
location
Composer location to use. Each Composer location constitutes an independent resource namespace constrained to deploying environments into Compute Engine regions inside this location. This parameter corresponds to the /locations/<location> segment of the Composer resource URIs being referenced.
compute
image_family_scope
Sets how images are selected with image families for disk and instance creation. By default, zonal image resources are used when using an image family in a public image project, and global image resources are used for all other projects. To override the default behavior, set this property to zonal or global.
region
Default region to use when working with regional Compute Engine resources. When a --region flag is required but not provided, the command will fall back to this value, if set. To see valid choices, run gcloud compute regions list.
use_new_list_usable_subnets_api
If True, use the new API for listing usable subnets which only returns subnets in the current project.
zone
Default zone to use when working with zonal Compute Engine resources. When a --zone flag is required but not provided, the command will fall back to this value, if set. To see valid choices, run gcloud compute zones list.
container
build_timeout
Timeout, in seconds, to wait for container builds to complete.
cluster
Name of the cluster to use by default when working with Kubernetes Engine.
use_application_default_credentials
If True, use application default credentials to authenticate to the cluster API server.
use_client_certificate
If True, use the cluster's client certificate to authenticate to the cluster API server.
container_attached
location
Default Google Cloud location to use for Attached clusters.
container_aws
location
Default Google Cloud location to use for Anthos clusters on AWS.
container_azure
location
Default Google Cloud location to use for Anthos clusters on Azure.
container_bare_metal
location
Default Google Cloud location to use for Anthos clusters on Bare Metal.
container_vmware
location
Default Google Cloud location to use for Anthos clusters on VMware.
context_aware
use_client_certificate
If True, use client certificate to authorize user device using Context-aware access. This includes user login as well. Some services may not support client certificate authorization. If a command sends requests to such services, the client certificate will not be validated. Run gcloud topic client-certificate for list of services supporting this feature.
dataflow
disable_public_ips
Specifies that Cloud Dataflow workers must not use public IP addresses.
enable_streaming_engine
Set this to true to enable Streaming Engine for the job.
Prints the container spec to stdout. Does not save in Google Cloud Storage.
datafusion
location
Datafusion location to use. Each Datafusion location constitutes an independent resource namespace constrained to deploying environments into Compute Engine regions inside this location. This parameter corresponds to the /locations/<location> segment of the Datafusion resource URIs being referenced.
datapipelines
disable_public_ips
Specifies that Cloud Dataflow workers must not use public IP addresses.
enable_streaming_engine
Set this to true to enable Streaming Engine for the job.
dataplex
asset
Dataplex asset to use. When an asset is required but not provided by a flag, the command will fall back to this value, if set.
lake
Dataplex lake to use. When a lake is required but not provided by a flag, the command will fall back to this value, if set.
location
Dataplex location to use. When a location is required but not provided by a flag, the command will fall back to this value, if set.
zone
Dataplex zone to use. When a zone is required but not provided by a flag, the command will fall back to this value, if set.
dataproc
location
Dataproc location to use. Each Dataproc location constitutes an independent resource namespace constrained to deploying instances into Compute Engine zones inside the location.
region
Dataproc region to use. Each Dataproc region constitutes an independent resource namespace constrained to deploying instances into Compute Engine zones inside the region.
deploy
delivery_pipeline
Delivery Pipeline being managed by Cloud Deploy.
region
Cloud Deploy region to use. Each Cloud Deploy region constitutes an independent resource namespace constrained to deploying instances into Compute Engine zones inside the region.
deployment_manager
glob_imports
Enable import path globbing. Uses glob patterns to match multiple imports in a config file.
eventarc
location
The default location to use when working with Eventarc resources. This should be either global or one of the supported regions. When a --location flag is required but not provided, the command will fall back to this value, if set.
filestore
location
Please use the --location flag or set the filestore/zone or filestore/region property.
region
Default region to use when working with Cloud Filestore regions. When a --region flag is required but not provided, the command will fall back to this value, if set.
zone
Default zone to use when working with Cloud Filestore zones. When a --zone flag is required but not provided, the command will fall back to this value, if set.
functions
gen2
Default environment to use when working with Cloud Functions resources. When neither --gen2 nor --no-gen2 is provided, the decision of whether to use Generation 2 falls back to this value if set.
region
Default region to use when working with Cloud Functions resources. When a --region flag is required but not provided, the command will fall back to this value, if set. To see valid choices, run gcloud beta functions regions list.
gcloudignore
enabled
If True, do not upload .gcloudignore files (see $ gcloud topic gcloudignore). If False, turn off the gcloudignore mechanism entirely and upload all files.
gkebackup
backup
Default backup ID to use when working with Backup for GKE Services resources. When a --backup flag is required but not provided, the command will fall back to this value.
backup_plan
Default backup plan ID to use when working with Backup for GKE Services resources. When a --backup-plan flag is required but not provided, the command will fall back to this value.
location
Default location to use when working with Backup for GKE Services resources. When a --location flag is required but not provided, the command will fall back to this value.
restore
Default restore ID to use when working with Backup for GKE Services resources. When a --restore flag is required but not provided, the command will fall back to this value.
restore_plan
Default restore plan ID to use when working with Backup for GKE Services resources. When a --restore-plan flag is required but not provided, the command will fall back to this value.
healthcare
dataset
Default dataset to use when working with Cloud Healthcare resources. When a --dataset flag is required but not provided, the command will fall back to this value, if set.
location
Default location to use when working with Cloud Healthcare resources. When a --location flag is required but not provided, the command will fall back to this value.
interactive
bottom_bindings_line
If True, display the bottom key bindings line.
bottom_status_line
If True, display the bottom status line.
completion_menu_lines
Number of lines in the completion menu.
context
Command context string.
fixed_prompt_position
If True, display the prompt at the same position.
help_lines
Maximum number of help snippet lines.
hidden
If True, expose hidden commands/flags.
justify_bottom_lines
If True, left- and right-justify bottom toolbar lines.
manpage_generator
If True, use the manpage CLI tree generator for unsupported commands.
multi_column_completion_menu
If True, display the completions as a multi-column menu.
prompt
Command prompt string.
show_help
If True, show help as command args are being entered.
suggest
If True, add command line suggestions based on history.
lifesciences
location
Default location to use when working with Cloud Life Sciences resources. When a --location flag is required but not provided, the command will fall back to this value.
looker
region
Default region to use when working with Cloud Looker resources. When a region is required but not provided by a flag, the command will fall back to this value, if set.
lustre
location
Default location to use when working with Cloud Lustre resources. When a location value is required but not provided, the command will fall back to this value, if set.
media_asset
location
Default location to use when working with Cloud Media Asset resources. When a --location flag is required but not provided, the command will fall back to this value.
memcache
region
Default region to use when working with Cloud Memorystore for Memcached resources. When a region is required but not provided by a flag, the command will fall back to this value, if set.
metastore
location
Default location to use when working with Dataproc Metastore. When a location is required but not provided by a flag, the command will fall back to this value, if set.
tier
Default tier to use when creating Dataproc Metastore services. When a tier is required but not provided by a flag, the command will fall back to this value, if set.

Valid values are:

  • developer - The developer tier provides limited scalability and no fault tolerance. Good for low-cost proof-of-concept.
  • enterprise - The enterprise tier provides multi-zone high availability, and sufficient scalability for enterprise-level Dataproc Metastore workloads.
ml_engine
local_python
Full path to the Python interpreter to use for Cloud ML Engine local predict/train jobs. If not specified, the default path is the one to the Python interpreter found on system PATH.
polling_interval
Interval (in seconds) at which to poll logs from your Cloud ML Engine jobs. Note that making it much faster than the default (60) will quickly use all of your quota.
mps
product
Id for Marketplace Solutions Product.
netapp
location
Default location to use when working with Cloud NetApp Files resources. When a location value is required but not provided, the command will fall back to this value, if set.
notebooks
location
Default location to use when working with Notebook resources. When a location value is required but not provided, the command will fall back to this value, if set.
privateca
location
Default location to use when working with Private CA resources. When a --location flag is required but not provided, the command will fall back to this value, if set.
proxy
address
Hostname or IP address of proxy server.
password
Password to use when connecting, if the proxy requires authentication.
port
Port to use when connected to the proxy server.
rdns
If True, DNS queries will not be performed locally, and instead, handed to the proxy to resolve. This is default behavior.
type
Type of proxy being used. Supported proxy types are: [http, http_no_tunnel, socks4, socks5].
username
Username to use when connecting, if the proxy requires authentication.
redis
region
Default region to use when working with Cloud Memorystore for Redis resources. When a region is required but not provided by a flag, the command will fall back to this value, if set.
regional
endpoint_mode
Specifies endpoint mode for a given command. Regional endpoints
provide enhanced data residency and reliability by ensuring your
request is handled entirely within the specified Google Cloud region.
This differs from global endpoints, which may process parts of the
request outside the target region.
Benefits of Regional Endpoints:
(1) Data Residency: Keeps data in-transit within the chosen region.
(2) Improved Isolation: Reduces the risk of cross-region impact
from outages.
The choices are:
*   `global` - (Default) Use