File: //snap/google-cloud-cli/396/help/man/man1/gcloud_beta_compute_disk-settings_update.1
.TH "GCLOUD_BETA_COMPUTE_DISK\-SETTINGS_UPDATE" 1
.SH "NAME"
.HP
gcloud beta compute disk\-settings update \- update disk settings
.SH "SYNOPSIS"
.HP
\f5gcloud beta compute disk\-settings update\fR (\fB\-\-region\fR=\fIREGION\fR\ |\ \fB\-\-zone\fR=\fIZONE\fR) [\fB\-\-access\-location\-policy\fR=\fIACCESS_LOCATION_POLICY\fR] [\fB\-\-add\-access\-locations\fR=[\fIADD_ACCESS_LOCATIONS\fR,...]] [\fB\-\-remove\-access\-locations\fR=[\fIREMOVE_ACCESS_LOCATIONS\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR Update disk settings.
.SH "EXAMPLES"
To update the disk settings in zone us\-west1\-a, add the access location
``us\-central1 `` and remove the access location ``us\-central2`` in the project
\f5\fImy\-gcp\-project\fR\fR, run:
.RS 2m
$ gcloud beta compute disk\-settings update \e
\-\-add\-access\-locations=us\-central1 \e
\-\-remove\-access\-locations=us\-central2 \-\-project=my\-gcp\-project \e
\-\-zone=us\-west1\-a
.RE
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
Scope for disk settings.
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
region for disk settings
.TP 2m
\fB\-\-zone\fR=\fIZONE\fR
Zone for disk settings
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-access\-location\-policy\fR=\fIACCESS_LOCATION_POLICY\fR
The access location policy for disk settings. \fIACCESS_LOCATION_POLICY\fR must
be one of:
.RS 2m
.TP 2m
\fBall\-regions\fR
All regions will be allowed to access the source disk.
.TP 2m
\fBspecific\-regions\fR
Only the specified regions will be allowed to access the source disk.
.RE
.sp
.TP 2m
\fB\-\-add\-access\-locations\fR=[\fIADD_ACCESS_LOCATIONS\fR,...]
Access locations to add to disk settings
.TP 2m
\fB\-\-remove\-access\-locations\fR=[\fIREMOVE_ACCESS_LOCATIONS\fR,...]
Access locations to remove from disk settings
.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. This variant
is also available:
.RS 2m
$ gcloud alpha compute disk\-settings update
.RE