gcloud GROUP | COMMAND [--account=ACCOUNT] [--billing-project=BILLING_PROJECT] [--configuration=CONFIGURATION] [--flags-file=YAML_FILE] [--flatten=[KEY,…]] [--format=FORMAT] [--help] [--project=PROJECT_ID] [--quiet, -q] [--verbosity=VERBOSITY; default="warning"] [--version, -v] [-h] [--impersonate-service-account=SERVICE_ACCOUNT_EMAIL] [--log-http] [--trace-token=TRACE_TOKEN] [--no-user-output-enabled]
gcloud CLI manages authentication, local configuration,
developer workflow, and interactions with the Google Cloud Platform APIs.
For a quick introduction to the gcloud command-line tool, a list of commonly
used commands, and a look at how these commands are structured, run gcloud cheat-sheet or refer
to the gcloud command-line tool cheat sheet: https://cloud.google.com/sdk/docs/cheatsheet
--account=ACCOUNTcore/account property value for this command invocation.
--billing-project=BILLING_PROJECTbilling/quota_project and
--billing-project are specified, --billing-project
takes precedence. Run $ gcloud
config set --help to see more information about
billing/quota_project.
--configuration=CONFIGURATIONgcloud topic
configurations. You can also use the CLOUDSDK_ACTIVE_CONFIG_NAME
environment variable to set the equivalent of this flag for a terminal session.
--flags-file=YAML_FILE--flag:value
dictionary. Useful for specifying complex flag values with special characters
that work with any command interpreter. Additionally, each
--flags-file arg is replaced by its constituent flags. See $ gcloud topic flags-file for
more information.
--flatten=[KEY,…]name[] output resource slices in
KEY into separate records for each item in each slice.
Multiple keys and slices may be specified. This also flattens keys for
--format and --filter. For example,
--flatten=abc.def flattens abc.def[].ghi references to
abc.def.ghi. A resource record containing abc.def[]
with N elements will expand to N records in the flattened output. This flag
interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter,
--limit.
--format=FORMATconfig, csv, default, diff,
disable, flattened, get,
json, list, multi, none,
object, table, text, value,
yaml. For more details run $ gcloud topic formats.
--help--project=PROJECT_IDgcloud config list --format='text(core.project)' and can be set
using gcloud config set project PROJECTID.
--project and its fallback core/project property play
two roles in the invocation. It specifies the project of the resource to operate
on. It also specifies the project for API enablement check, quota, and billing.
To specify a different project for quota and billing, use
--billing-project or billing/quota_project property.
--quiet, -qCLOUDSDK_CORE_DISABLE_PROMPTS to 1.
--verbosity=VERBOSITY; default="warning"core/verbosity property value for this command invocation.
VERBOSITY must be one of: debug,
info, warning, error,
critical, none.
--version, -v-h--impersonate-service-account=SERVICE_ACCOUNT_EMAILauth/impersonate_service_account property value for this command
invocation.
--log-httpcore/log_http property value for this command invocation.
--trace-token=TRACE_TOKENcore/trace_token property value for this
command invocation.
--user-output-enabledcore/user_output_enabled property value for this command
invocation. Use --no-user-output-enabled to disable.
GROUP is one of the following:
access-context-manageractive-directoryai-platformalpha(ALPHA) Alpha versions of gcloud commands.
anthosapigeeappartifactsassetauthbeta(BETA) Beta versions of gcloud commands.
bigtablebillingbuildscloud-shellcomponentscomposercomputeconfigcontainerdata-catalogdataflowdataprocdatastoredebugdeployment-managerdnsdomainsendpointsfilestorefirebasefirestorefunctionsgamehealthcareiamiapidentityiotkmsloggingmlml-enginemonitoringnetwork-managementorganizationspolicy-troubleshootprojectspubsubrecommenderredisresource-managerrunsccschedulersecretsservicessourcespannersqltaskstopicCOMMAND is one of the following:
cheat-sheetdocker(DEPRECATED) Enable Docker CLI access to Google Container Registry.
feedbackhelpinfoinitsurveyversion