HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/394/help/man/man1/gcloud_preview.1
.TH "GCLOUD_PREVIEW" 1



.SH "NAME"
.HP
gcloud preview \- preview versions of gcloud commands



.SH "SYNOPSIS"
.HP
\f5gcloud preview\fR \fIGROUP\fR | \fICOMMAND\fR [\fB\-\-account\fR=\fIACCOUNT\fR] [\fB\-\-billing\-project\fR=\fIBILLING_PROJECT\fR] [\fB\-\-configuration\fR=\fICONFIGURATION\fR] [\fB\-\-flags\-file\fR=\fIYAML_FILE\fR] [\fB\-\-flatten\fR=[\fIKEY\fR,...]] [\fB\-\-format\fR=\fIFORMAT\fR] [\fB\-\-help\fR] [\fB\-\-project\fR=\fIPROJECT_ID\fR] [\fB\-\-quiet\fR,\ \fB\-q\fR] [\fB\-\-verbosity\fR=\fIVERBOSITY\fR;\ default="warning"] [\fB\-\-version\fR,\ \fB\-v\fR] [\fB\-h\fR] [\fB\-\-access\-token\-file\fR=\fIACCESS_TOKEN_FILE\fR] [\fB\-\-impersonate\-service\-account\fR=\fISERVICE_ACCOUNT_EMAILS\fR] [\fB\-\-log\-http\fR] [\fB\-\-trace\-token\fR=\fITRACE_TOKEN\fR] [\fB\-\-no\-user\-output\-enabled\fR]



.SH "DESCRIPTION"

\fB(PREVIEW)\fR Preview versions of gcloud commands.



.SH "GLOBAL FLAGS"

.RS 2m
.TP 2m
\fB\-\-account\fR=\fIACCOUNT\fR

Google Cloud user account to use for invocation. Overrides the default
\fBcore/account\fR property value for this command invocation.

.TP 2m
\fB\-\-billing\-project\fR=\fIBILLING_PROJECT\fR

The Google Cloud project that will be charged quota for operations performed in
\f5gcloud\fR. If you need to operate on one project, but need quota against a
different project, you can use this flag to specify the billing project. If both
\f5billing/quota_project\fR and \f5\-\-billing\-project\fR are specified,
\f5\-\-billing\-project\fR takes precedence. Run \f5$ gcloud config set
\-\-help\fR to see more information about \f5billing/quota_project\fR.

.TP 2m
\fB\-\-configuration\fR=\fICONFIGURATION\fR

File name of the configuration to use for this command invocation. For more
information on how to use configurations, run: \f5gcloud topic
configurations\fR. You can also use the CLOUDSDK_ACTIVE_CONFIG_NAME environment
variable to set the equivalent of this flag for a terminal session.

.TP 2m
\fB\-\-flags\-file\fR=\fIYAML_FILE\fR

A YAML or JSON file that specifies a \fB\-\-flag\fR:\fBvalue\fR dictionary.
Useful for specifying complex flag values with special characters that work with
any command interpreter. Additionally, each \fB\-\-flags\-file\fR arg is
replaced by its constituent flags. See $ gcloud topic flags\-file for more
information.

.TP 2m
\fB\-\-flatten\fR=[\fIKEY\fR,...]

Flatten \fIname\fR[] output resource slices in \fIKEY\fR into separate records
for each item in each slice. Multiple keys and slices may be specified. This
also flattens keys for \fB\-\-format\fR and \fB\-\-filter\fR. For example,
\fB\-\-flatten=abc.def\fR flattens \fBabc.def[].ghi\fR references to
\fBabc.def.ghi\fR. A resource record containing \fBabc.def[]\fR with N elements
will expand to N records in the flattened output. This allows us to specify what
\f5resource\-key\fR the \f5filter\fR will operate on. This flag interacts with
other flags that are applied in this order: \fB\-\-flatten\fR,
\fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.

.TP 2m
\fB\-\-format\fR=\fIFORMAT\fR

Sets the format for printing command output resources. The default is a
command\-specific human\-friendly output format. If both \f5core/format\fR and
\f5\-\-format\fR are specified, \f5\-\-format\fR takes precedence.
\f5\-\-format\fR and \f5core/format\fR both take precedence over
\f5core/default_format\fR. The supported formats are limited to: \f5config\fR,
\f5csv\fR, \f5default\fR, \f5diff\fR, \f5disable\fR, \f5flattened\fR, \f5get\fR,
\f5json\fR, \f5list\fR, \f5multi\fR, \f5none\fR, \f5object\fR, \f5table\fR,
\f5text\fR, \f5value\fR, \f5yaml\fR. For more details run $ gcloud topic
formats. Run \f5$ gcloud config set \-\-help\fR to see more information about
\f5core/format\fR

.TP 2m
\fB\-\-help\fR

Display detailed help.

.TP 2m
\fB\-\-project\fR=\fIPROJECT_ID\fR

The Google Cloud project ID to use for this invocation. If omitted, then the
current project is assumed; the current project can be listed using \f5gcloud
config list \-\-format='text(core.project)'\fR and can be set using \f5gcloud
config set project PROJECTID\fR.

\f5\-\-project\fR and its fallback \f5core/project\fR 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 \f5\-\-billing\-project\fR or
\f5billing/quota_project\fR property.

.TP 2m
\fB\-\-quiet\fR, \fB\-q\fR

Disable all interactive prompts when running \f5gcloud\fR commands. If input is
required, defaults will be used, or an error will be raised.

Overrides the default core/disable_prompts property value for this command
invocation. This is equivalent to setting the environment variable
\f5CLOUDSDK_CORE_DISABLE_PROMPTS\fR to 1.

.TP 2m
\fB\-\-verbosity\fR=\fIVERBOSITY\fR; default="warning"

Override the default verbosity for this command. Overrides the default
\fBcore/verbosity\fR property value for this command invocation. \fIVERBOSITY\fR
must be one of: \fBdebug\fR, \fBinfo\fR, \fBwarning\fR, \fBerror\fR,
\fBcritical\fR, \fBnone\fR.

.TP 2m
\fB\-\-version\fR, \fB\-v\fR

Print version information and exit. This flag is only available at the global
level.

.TP 2m
\fB\-h\fR

Print a summary help and exit.


.RE
.sp

.SH "OTHER FLAGS"

.RS 2m
.TP 2m
\fB\-\-access\-token\-file\fR=\fIACCESS_TOKEN_FILE\fR

A file path to read the access token. Use this flag to authenticate \f5gcloud\fR
with an access token. The credentials of the active account (if exists) will be
ignored. The file should only contain an access token with no other information.
Overrides the default \fBauth/access_token_file\fR property value for this
command invocation.

.TP 2m
\fB\-\-impersonate\-service\-account\fR=\fISERVICE_ACCOUNT_EMAILS\fR

For this \f5gcloud\fR invocation, 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. The impersonation is done
without needing to create, download, and 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
\f5iam.serviceAccounts.getAccessToken\fR permission for the service account or
accounts.

The \f5roles/iam.serviceAccountTokenCreator\fR role has the
\f5iam.serviceAccounts.getAccessToken permission\fR. 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 \f5roles/iam.serviceAccountTokenCreator\fR role on the
next service account in the list. For example, when
\f5\-\-impersonate\-service\-account=\fR
\f5\fISERVICE_ACCOUNT_1\fR\fR,\f5\fISERVICE_ACCOUNT_2\fR\fR, the active account
must have the \f5roles/iam.serviceAccountTokenCreator\fR role on
\f5\fISERVICE_ACCOUNT_1\fR\fR, which must have the
\f5roles/iam.serviceAccountTokenCreator\fR role on
\f5\fISERVICE_ACCOUNT_2\fR\fR. \f5\fISERVICE_ACCOUNT_1\fR\fR is the impersonated
service account and \f5\fISERVICE_ACCOUNT_2\fR\fR is the delegate.

Overrides the default \fBauth/impersonate_service_account\fR property value for
this command invocation.

.TP 2m
\fB\-\-log\-http\fR

Log all HTTP server requests and responses to stderr. Overrides the default
\fBcore/log_http\fR property value for this command invocation.

.TP 2m
\fB\-\-trace\-token\fR=\fITRACE_TOKEN\fR

Token used to route traces of service requests for investigation of issues.
Overrides the default \fBcore/trace_token\fR property value for this command
invocation.

.TP 2m
\fB\-\-user\-output\-enabled\fR

Print user intended output to the console. Overrides the default
\fBcore/user_output_enabled\fR property value for this command invocation. Use
\fB\-\-no\-user\-output\-enabled\fR to disable.


.RE
.sp

.SH "GROUPS"

\f5\fIGROUP\fR\fR is one of the following:

.RS 2m
.TP 2m
\fBconfig\fR

\fB(PREVIEW)\fR View and edit Google Cloud CLI properties.


.RE
.sp

.SH "COMMANDS"

\f5\fICOMMAND\fR\fR is one of the following:

.RS 2m
.TP 2m
\fBhelp\fR

\fB(PREVIEW)\fR Search gcloud help text.

.TP 2m
\fBinit\fR

\fB(PREVIEW)\fR Initialize or reinitialize gcloud.

.TP 2m
\fBsurvey\fR

\fB(PREVIEW)\fR Invoke a customer satisfaction survey for Google Cloud CLI.


.RE
.sp

.SH "NOTES"

This command is currently in DEVELOPER PREVIEW and may change without notice. If
this command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation\-only early
access allowlist.