File: //snap/google-cloud-cli/396/help/man/man1/gcloud_beta_compute_target-pools_update.1
.TH "GCLOUD_BETA_COMPUTE_TARGET\-POOLS_UPDATE" 1
.SH "NAME"
.HP
gcloud beta compute target\-pools update \- update a Compute Engine target pool
.SH "SYNOPSIS"
.HP
\f5gcloud beta compute target\-pools update\fR \fINAME\fR [\fB\-\-region\fR=\fIREGION\fR] [\fB\-\-security\-policy\fR=\fISECURITY_POLICY\fR] [\fB\-\-security\-policy\-region\fR=\fISECURITY_POLICY_REGION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR \fBgcloud beta compute target\-pools update\fR updates a Compute
Engine target pool.
.SH "EXAMPLES"
To update the security policy run this:
.RS 2m
$ gcloud beta compute target\-pools update TARGET_POOL \e
\-\-security\-policy='my\-policy'
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fINAME\fR
The name of the target pool.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
Region of the target pool to update. If not specified, you might be prompted to
select a region (interactive mode only).
To avoid prompting when this flag is omitted, you can set the
\f5\fIcompute/region\fR\fR property:
.RS 2m
$ gcloud config set compute/region REGION
.RE
A list of regions can be fetched by running:
.RS 2m
$ gcloud compute regions list
.RE
To unset the property, run:
.RS 2m
$ gcloud config unset compute/region
.RE
Alternatively, the region can be stored in the environment variable
\f5\fICLOUDSDK_COMPUTE_REGION\fR\fR.
.TP 2m
\fB\-\-security\-policy\fR=\fISECURITY_POLICY\fR
The security policy that will be set for this target pool. To remove the policy
from this target pool set the policy to an empty string.
.TP 2m
\fB\-\-security\-policy\-region\fR=\fISECURITY_POLICY_REGION\fR
Region of the security policy to operate on. Overrides the default
\fBcompute/region\fR property value for this command invocation.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-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 \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in beta and might change without notice. These
variants are also available:
.RS 2m
$ gcloud compute target\-pools update
.RE
.RS 2m
$ gcloud alpha compute target\-pools update
.RE