gcloud config set SECTION/PROPERTY VALUE [--installation] [GCLOUD_WIDE_FLAG …]
--installation flag. For more
information regarding creating and using configurations, see gcloud topic
configurations.
To view a list of properties currently in use, run gcloud config list.
To unset properties, use gcloud config unset.
Google Cloud CLI comes with a default configuration. To create
multiple configurations, use gcloud config
configurations create, and gcloud config
configurations activate to switch between them.
tmp folder, set for your current tab
only, and do not persist across sessions. For details on how to make these
configurations persist, refer to the Cloud Shell guide on setting gcloud
command-line tool preferences: https://cloud.google.com/shell/docs/configuring-cloud-shell#gcloud_command-line_tool_preferences.
project property in the core section, run:
gcloud config set project PROJECT_ID
To set the zone property in the compute section, run:
gcloud config set compute/zone ZONE_NAMETo disable prompting for scripting, run:
gcloud config set disable_prompts trueTo set a proxy with the appropriate type, and specify the address and port on which to reach it, run:
gcloud config set proxy/type httpgcloud config set proxy/address 1.234.56.78gcloud config set proxy/port 8080
SECTION/PROPERTYcore/project or
project is a valid way of setting a project. Using section names is
required for setting other properties like compute/region. Consult
the Available Properties section below for a comprehensive list of properties.
VALUE--installation--access-token-file,
--account, --billing-project,
--configuration,
--flags-file,
--flatten, --format, --help, --impersonate-service-account,
--log-http,
--project, --quiet, --trace-token, --user-output-enabled,
--verbosity.
Run $ gcloud help for details.
coreaccountgcloud should use for
authentication. Run gcloud auth
list to see your currently available accounts.
console_log_formatValid values are:
standard - Simplified log messages are displayed on the console.
detailed - More detailed messages are displayed on the console.
standard.
custom_ca_certs_filedefault_formatcore/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_servicegcloud compute
backend-services will be regional by default. Setting the
--global flag is required for global backend services.
disable_colordisable_file_logginggcloud will not store
logs to a file. This may be useful if disk space is limited.
disable_prompts--quiet flag or setting the environment
variable CLOUDSDK_CORE_DISABLE_PROMPTS to 1. Setting this property
is useful when scripting with gcloud.
disable_usage_reportingformat--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_httpverbosity settings. Otherwise, logs are available
in their respective log files.
max_log_daysparse_error_detailsgcloud 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_gsutilproject--project flag.
show_structured_logstext 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
never.
trace_tokenuniverse_domainuser_output_enabledverbositygcloud commands. This is the equivalent
of using the global --verbosity flag. Supported verbosity levels:
debug, info, warning, error,
critical, and none.
accessibilityscreen_readerairegion--region flag is required but not provided, the command will fall
back to this value, if set.
ai_platformregionglobal 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_overridesaccessapprovalgcloud access-approval
command group. Defaults to https://accessapproval.googleapis.com/
accesscontextmanagergcloud
access-context-manager command group. Defaults to
https://accesscontextmanager.googleapis.com/
agentidentitygcloud agent-identity command group.
Defaults to https://agentidentity.googleapis.com/
aigcloud
ai command group.
aiplatformgcloud ai-platform command
group. Defaults to https://aiplatform.googleapis.com/
anthoseventsgcloud
anthos command group. Defaults to
https://anthosevents.googleapis.com/
anthospolicycontrollerstatus_pagcloud container
fleet policycontroller command group. Defaults to
https://anthospolicycontrollerstatus-pa.googleapis.com/
apigatewaygcloud api-gateway command
group. Defaults to https://apigateway.googleapis.com/
apigeegcloud
apigee command group. Defaults to
https://apigee.googleapis.com/
appenginegcloud
app command group. Defaults to
https://appengine.googleapis.com/
apphubgcloud
apphub command group. Defaults to
https://apphub.googleapis.com/
appoptimizegcloud app-optimize command group.
Defaults to https://appoptimize.googleapis.com/
artifactregistrygcloud artifacts command
group. Defaults to https://artifactregistry.googleapis.com/
assuredworkloadsgcloud
assured command group. Defaults to
https://assuredworkloads.googleapis.com/
auditmanagergcloud audit-manager
command group. Defaults to https://auditmanager.googleapis.com/
baremetalsolutiongcloud
bms command group. Defaults to
https://baremetalsolution.googleapis.com/
bigtableadmingcloud
bigtable command group. Defaults to
https://bigtableadmin.googleapis.com/
certificatemanagergcloud
certificate-manager command group. Defaults to
https://certificatemanager.googleapis.com/
cloudapiregistrygcloud api-registry command group.
Defaults to https://cloudapiregistry.googleapis.com/
cloudassetgcloud
asset command group. Defaults to
https://cloudasset.googleapis.com/
cloudbillinggcloud
billing command group. Defaults to
https://cloudbilling.googleapis.com/
cloudbuildgcloud
builds command group. Defaults to
https://cloudbuild.googleapis.com/
cloudcommerceconsumerprocurementgcloud commerce-procurement command
group. Defaults to
https://cloudcommerceconsumerprocurement.googleapis.com/
clouddebuggergcloud debug command group. Defaults to
https://clouddebugger.googleapis.com/
clouddeploygcloud
deploy command group. Defaults to
https://clouddeploy.googleapis.com/
clouderrorreportinggcloud error-reporting command group.
Defaults to https://clouderrorreporting.googleapis.com/
cloudfunctionsgcloud functions command
group. Defaults to https://cloudfunctions.googleapis.com/
cloudidentitygcloud
identity command group. Defaults to
https://cloudidentity.googleapis.com/
cloudkmsgcloud
kms command group. Defaults to
https://cloudkms.googleapis.com/
cloudlocationfindergcloud
cloudlocationfinder command group. Defaults to
https://cloudlocationfinder.googleapis.com/
cloudresourcemanagergcloud
projects command group. Defaults to
https://cloudresourcemanager.googleapis.com/
cloudschedulergcloud scheduler command
group. Defaults to https://cloudscheduler.googleapis.com/
cloudsecuritycompliancegcloud
compliance-manager command group. Defaults to
https://cloudsecuritycompliance.googleapis.com/
cloudtasksgcloud
tasks command group. Defaults to
https://cloudtasks.googleapis.com/
cloudtracegcloud trace command group. Defaults to
https://cloudtrace.googleapis.com/
composergcloud
composer command group. Defaults to
https://composer.googleapis.com/
computegcloud
compute command group. For Private Service Connect usage, see https://cloud.google.com/vpc/docs/configure-private-service-connect-apis#using-endpoints
configgcloud infra-manager
command group. Defaults to https://config.googleapis.com/
containergcloud container command
group. Defaults to https://container.googleapis.com/
datacataloggcloud data-catalog command
group. Defaults to https://datacatalog.googleapis.com/
dataflowgcloud
dataflow command group. Defaults to
https://dataflow.googleapis.com/
datafusiongcloud data-fusion command group.
Defaults to https://datafusion.googleapis.com/
datamigrationgcloud
database-migration command group. Defaults to
https://datamigration.googleapis.com/
datapipelinesgcloud datapipelines command group.
Defaults to https://datapipelines.googleapis.com/
dataplexgcloud
dataplex command group. Defaults to
https://dataplex.googleapis.com/
dataprocgcloud
dataproc command group. Defaults to
https://dataproc.googleapis.com/
datastoregcloud datastore command
group. Defaults to https://datastore.googleapis.com/
datastreamgcloud datastream command
group. Defaults to https://datastream.googleapis.com/
deploymentmanagergcloud
deployment-manager command group. Defaults to
https://deploymentmanager.googleapis.com/
developerconnectgcloud
developer-connect command group. Defaults to
https://developerconnect.googleapis.com/
dnsgcloud
dns command group. Defaults to
https://dns.googleapis.com/dns/v1/
domainsgcloud
domains command group. Defaults to
https://domains.googleapis.com/
edgecontainergcloud edge-container command group.
Defaults to https://edgecontainer.googleapis.com/
eventarcgcloud
eventarc command group. Defaults to
https://eventarc.googleapis.com/
eventarcpublishinggcloud eventarc publish command group.
Defaults to https://eventarcpublishing.googleapis.com/
faultinjectiontestinggcloud fault-injection command group.
faulttestinggcloud fault-testing command group.
Defaults to https://faulttesting.googleapis.com/
filegcloud filestore command
group. Defaults to https://file.googleapis.com/
firebasedataconnectgcloud firebase-data-connect command
group. Defaults to https://firebasedataconnect.googleapis.com/
firestoregcloud firestore command
group. Defaults to https://firestore.googleapis.com/
ftpgcloud storage ftp command group.
Defaults to https://ftp.googleapis.com/
genomicsgcloud genomics command group. Defaults
to https://genomics.googleapis.com/
gkemulticloudgcloud container aws,
gcloud container
azure and gcloud container
attached command groups.
healthcaregcloud healthcare command
group. Defaults to https://healthcare.googleapis.com/
hypercomputeclustergcloud cluster-director command group.
Defaults to https://hypercomputecluster.googleapis.com/
iamgcloud
iam command group. Defaults to
https://iam.googleapis.com/
iamconnectorsgcloud agent-identity command group.
Defaults to https://iamconnectors.googleapis.com/
iamcredentialsgcloud
iam command group. Defaults to
https://iamcredentials.googleapis.com/
iapgcloud
iap command group. Defaults to
https://iap.googleapis.com/
idsgcloud
ids command group. Defaults to
https://ids.googleapis.com/
krmapihostinggcloud anthos config
controller command group. Defaults to
https://krmapihosting.googleapis.com/
languagegcloud ml language command
group. Defaults to https://language.googleapis.com/
logginggcloud
logging command group. Defaults to
https://logging.googleapis.com/
lookergcloud
looker command group. Defaults to
https://looker.googleapis.com/
managedidentitiesgcloud active-directory
command group. Defaults to
https://managedidentities.googleapis.com/
marketplacesolutionsgcloud mps command group. Defaults to
https://marketplacesolutions.googleapis.com/
mediaassetgcloud media command group. Defaults to
https://mediaasset.googleapis.com/
memcachegcloud
memcache command group. Defaults to
https://memcache.googleapis.com/
metastoregcloud metastore command
group. Defaults to https://metastore.googleapis.com/
monitoringgcloud monitoring command
group. Defaults to https://monitoring.googleapis.com/
netappgcloud
netapp command group. Defaults to
https://netapp.googleapis.com/
networkconnectivitygcloud
network-connectivity command group. Defaults to
https://networkconnectivity.googleapis.com/
networkmanagementgcloud
network-management command group. Defaults to
https://networkmanagement.googleapis.com/
networksecuritygcloud network-security
command group. Defaults to https://networksecurity.googleapis.com/
networkservicesgcloud network-services
command group. Defaults to https://networkservices.googleapis.com/
notebooksgcloud notebooks command
group. Defaults to https://notebooks.googleapis.com/
observabilitygcloud observability
command group. Defaults to https://observability.googleapis.com/
orgpolicygcloud org-policies command
group. Defaults to https://orgpolicy.googleapis.com/
policyanalyzerpolicy-intelligence command group.
Defaults to https://policyanalyzer.googleapis.com/
privatecagcloud privateca command
group. Defaults to https://privateca.googleapis.com/
privilegedaccessmanagergcloud
pam command group. Defaults to
https://privilegedaccessmanager.googleapis.com/
publiccagcloud
publicca command group. Defaults to
https://publicca.googleapis.com/
pubsubgcloud
pubsub command group. Defaults to
https://pubsub.googleapis.com/
recaptchaenterprisegcloud recaptcha command
group. Defaults to https://recaptchaenterprise.googleapis.com/
recommendergcloud recommender command
group. Defaults to https://recommender.googleapis.com/
redisgcloud
redis command group. Defaults to
https://redis.googleapis.com/
rungcloud
run command group. Defaults to
https://run.googleapis.com/
runtimeconfiggcloud runtime-config command group.
Defaults to https://runtimeconfig.googleapis.com/
sddcgcloud vmware sddc command group.
Defaults to https://sddc.googleapis.com/
secretmanagergcloud
secrets command group. Defaults to
https://secretmanager.googleapis.com/
securitycentergcloud
scc command group. Defaults to
https://securitycenter.googleapis.com/
servicedirectorygcloud
service-directory command group. Defaults to
https://servicedirectory.googleapis.com/
servicehealthgcloud servicehealth command group.
Defaults to https://servicehealth.googleapis.com/
servicemanagementgcloud endpoints command
group. Defaults to https://servicemanagement.googleapis.com/
sourcerepogcloud
source command group. Defaults to
https://sourcerepo.googleapis.com/
spannergcloud
spanner command group. For spanner emulator usage, see https://cloud.google.com/spanner/docs/emulator#using_the_gcloud_cli_with_the_emulator
speechgcloud ml speech command
group. Defaults to https://speech.googleapis.com/
sqlgcloud
sql command group.
storagegcloud
storage command group. Defaults to
https://storage.googleapis.com/storage/v1/
testinggcloud firebase test
command group. Defaults to https://testing.googleapis.com/
transfergcloud
transfer command group.
transferappliancegcloud transfer appliances command
group. Defaults to https://transferappliance.googleapis.com/
vectorsearchgcloud vector-search
command group. Defaults to https://vectorsearch.googleapis.com/
visiongcloud ml vision command
group. Defaults to https://vision.googleapis.com/
vmmigrationgcloud migration vms
command group. Defaults to https://vmmigration.googleapis.com/
vmwareenginegcloud
vmware command group. Defaults to
https://vmwareengine.googleapis.com/
workflowexecutionsgcloud workflows
executions command group. Defaults to
https://workflowexecutions.googleapis.com/
workflowsgcloud workflows command
group. Defaults to https://workflows.googleapis.com/
workstationsgcloud workstations command
group. Defaults to https://workstations.googleapis.com/
appcloud_build_timeoutpromote_by_default--promote-by-default or
--no-promote-by-default flags.
stop_previous_versionuse_runtime_buildersartifactslocationlocation 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.
repositoryrepository value is required but not provided, the command will
fall back to this value, if set.
authaccess_token_filedisable_credentialsgcloud 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
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.
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_filegcloud auth login
will automatically use this login configuration unless it is explicitly unset.
service_account_disable_id_token_refreshservice_account_use_self_signed_jwttoken_hostbatchlocationlocation value is required but not provided, the command will fall
back to this value, if set.
billingquota_projectgcloud. 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.
buildskaniko_cache_ttlregion--region flag is required but not provided, the command will fall
back to this value, if set.
timeoutuse_kanikodocker build.
colabregion--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_manageradditional_repositoriesgcloud components
repositories commands.
disable_update_checkcomposerlocationcomputeimage_family_scopezonal or global.
region--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_apizone--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.
containerbuild_timeoutclusteruse_application_default_credentialsuse_client_certificatecontainer_attachedlocationcontainer_awslocationcontainer_azurelocationcontainer_bare_metallocationcontainer_vmwarelocationcontext_awareuse_client_certificategcloud topic
client-certificate for list of services supporting this feature.
dataflowdisable_public_ipsenable_streaming_engineprint_onlydatafusionlocationdatapipelinesdisable_public_ipsenable_streaming_enginedataplexassetasset is required but not provided
by a flag, the command will fall back to this value, if set.
lakelake is required but not provided by a
flag, the command will fall back to this value, if set.
locationlocation is required but not
provided by a flag, the command will fall back to this value, if set.
zonezone is required but not provided by a
flag, the command will fall back to this value, if set.
dataproclocationregiondeploydelivery_pipelineregiondeployment_managerglob_importseventarclocationglobal 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.
filestorelocation--location flag or set the filestore/zone or
filestore/region property.
region--region flag is required but not provided, the command will fall
back to this value, if set.
zone--zone flag is required but not provided, the command will fall
back to this value, if set.
functionsgen2--gen2 nor --no-gen2 is provided, the decision
of whether to use Generation 2 falls back to this value if set.
region--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.
gcloudignoreenabled.gcloudignore files (see $ gcloud topic
gcloudignore). If False, turn off the gcloudignore mechanism entirely
and upload all files.
gkebackupbackup--backup flag is required but not provided, the command will
fall back to this value.
backup_plan--backup-plan flag is required but not provided,
the command will fall back to this value.
location--location flag is required but not provided, the command
will fall back to this value.
restore--restore flag is required but not provided, the command
will fall back to this value.
restore_plan--restore-plan flag is required but not provided,
the command will fall back to this value.
healthcaredataset--dataset flag is required but not provided, the command will fall
back to this value, if set.
location--location flag is required but not provided, the command will fall
back to this value.
interactivebottom_bindings_linebottom_status_linecontextfixed_prompt_positionhelp_linesjustify_bottom_linesmanpage_generatorpromptshow_helpsuggestlookerregionregion is required but not provided by a flag, the command will
fall back to this value, if set.
lustrelocationlocation value is required but not provided, the command will fall
back to this value, if set.
media_assetlocation--location flag is required but not provided, the command will fall
back to this value.
memcacheregionregion is required but not provided by a flag,
the command will fall back to this value, if set.
metastorelocationlocation is required but not provided by a flag, the command will
fall back to this value, if set.
tiertier 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_enginelocal_pythonPATH.
polling_intervalmpsproductnetapplocationlocation value is required but not provided, the command will fall
back to this value, if set.
notebookslocationlocation value is required but not provided, the command will fall
back to this value, if set.
privatecalocation--location flag is required but not provided, the command will fall
back to this value, if set.
proxyaddresspasswordportrdnstypeusernameredisregionregion is required but not provided by a flag, the command
will fall back to this value, if set.
regionalendpoint_modeSpecifies 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 global rather than regional endpoints. * `regional` - Only use regional endpoints. An error will be raised if a regional endpoint is not available for a given command. * `regional-preferred` - Use regional endpoints when available, otherwise use global endpoints. Recommended for most users.
runclustercluster_locationplatformregion--region flag is required but not provided, the command will fall
back to this value, if set.
runappsdeployment_service_accountsccorganizationgcloud
should use for scc surface.
parentgcloud should
use for scc surface.
secretslocationsreplication-policyservicehealthlocation--location flag is required but not provided, the command will fall
back to this value, if set.
spannerinstancesshputty_force_connectgcloud should
automatically accept new or changed host keys when executing plink/pscp commands
on Windows. Defaults to True, but can be set to False to present these
interactive prompts to the user for host key checking.
verify_internal_ipgcloud should
perform an initial SSH connection to verify an instance ID is correct when
connecting via its internal IP. Without this check, gcloud will simply connect to the
internal IP of the desired instance, which may be wrong if the desired instance
is in a different subnet but happens to share the same internal IP as an
instance in the current subnet. Defaults to True.
storageadditional_headersheader1=value1,header2=value2.
base_retry_delaycheck_hashescheck_mv_early_deletion_feeconvert_incompatible_windows_path_characterscopy_chunk_sizedownload_chunk_sizeexponential_sleep_multiplierkey_store_pathencryption_key: {A customer-supplied or customer-managed key.} decryption_keys: - {A customer-supplied key} …
Customer-supplied encryption keys must be RFC 4648 section 4 base64-encoded
AES256 strings. Customer-managed encryption keys must be of the form
projects/{project}/locations/{location}/keyRings/{key-ring}/cryptoKeys/{crypto-key}.
max_retriesmax_retry_delaymultipart_chunksizemultipart_thresholdparallel_composite_upload_compatibility_checkparallel_composite_upload_component_prefix/, the temporary components are
uploaded relative to the bucket name. If the prefix does not begin with a
/, the temporary components are uploaded relative to the prefix
portion of the destination object name. For example, consider an upload that
will create a final object named gs://bucket/dir1/dir2/object.
Using a prefix of /prefix means temporary components use names like
gs://bucket/prefix/COMPONENT_NAME. Using a prefix of
prefix means temporary components use names like
gs://bucket/dir1/dir2/prefix/COMPONENT_NAME. Note that this can
complicate cleaning up temporary components, as they will not all share a common
prefix. If this property is not specified, gcloud storage uses the prefix
/gcloud/tmp/parallel_composite_uploads/see_gcloud_storage_cp_help_for_details/.
If a chosen prefix results in temporary component names longer than the maximum
length Cloud Storage allows, gcloud storage performs a non-composite upload.
parallel_composite_upload_component_sizeparallel_composite_upload_enabledparallel_composite_upload_thresholdprocess_countresumable_thresholdrsync_files_directoryrsync_list_chunk_sizes3_endpoint_urlsliced_object_download_component_sizesliced_object_download_max_componentssliced_object_download_thresholdsuggest_transferthread_counttracker_files_directoryupload_chunk_sizeuse_gcloud_crc32cuse_gsutiluse_gsutil_rsync_delete_unmatched_destination_objects_behavioruse_magicfilefile --mime <filename> command to guess
content types instead of the default filename extension-based mechanism.
Available on UNIX and macOS (and possibly on Windows, if you're running Cygwin
or some other package that provides implementations of UNIX-like commands). When
available and enabled use_magicfile should be more robust because it analyzes
file contents in addition to extensions.
use_threading_localsurveydisable_promptsvector_searchlocation--location flag is required but not provided, the command will fall
back to this value, if set.
vmwareregion--region flag is required but not provided, the command will fall
back to this value, if set.
workstationscluster--cluster flag is required but not provided, the command will fall
back to this value, if set.
config--config flag is required but not provided, the command will fall
back to this value, if set.
region--region flag is required but not provided, the command will fall
back to this value, if set.
gcloud alpha config setgcloud beta config setgcloud preview config setExcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-09 UTC.