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_compute_snapshot-settings_update.1
.TH "GCLOUD_COMPUTE_SNAPSHOT\-SETTINGS_UPDATE" 1



.SH "NAME"
.HP
gcloud compute snapshot\-settings update \- update snapshot settings



.SH "SYNOPSIS"
.HP
\f5gcloud compute snapshot\-settings update\fR [\fB\-\-async\fR] [\fB\-\-storage\-location\-names\fR=[\fISTORAGE_LOCATION_NAMES\fR,...]] [\fB\-\-storage\-location\-policy\fR=\fISTORAGE_LOCATION_POLICY\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

Update the snapshot settings of a project.



.SH "EXAMPLES"

To update the snapshot settings and set the storage location policy to the
nearest multi\-region as the source disk, run:

.RS 2m
$ gcloud compute snapshot\-settings update \e
\-\-storage\-location\-policy=nearest\-multi\-region
.RE

To update the snapshot settings and set the storage location policy to the same
region as the source disk, run:

.RS 2m
$ gcloud compute snapshot\-settings update \e
\-\-storage\-location\-policy=local\-region
.RE

To update the snapshot settings and set the storage location policy to store
snapshots in a specific location like \f5us\-west1\fR, run:

.RS 2m
$ gcloud compute snapshot\-settings update \e
\-\-storage\-location\-policy=specific\-locations \e
\-\-storage\-location\-names=us\-west1
.RE



.SH "FLAGS"

.RS 2m
.TP 2m
\fB\-\-async\fR

Return immediately, without waiting for the operation in progress to complete.

.TP 2m
\fB\-\-storage\-location\-names\fR=[\fISTORAGE_LOCATION_NAMES\fR,...]

The custom storage location that you specify for the project's snapshots. You
can specify only a single location. Use this flag only when you use the
specific\-locations value for the \f5\-\-storage\-location\-policy\fR flag. For
more information, refer to the snapshot settings documentation at
https://cloud.google.com/compute/docs/disks/snapshot\-settings.

.TP 2m
\fB\-\-storage\-location\-policy\fR=\fISTORAGE_LOCATION_POLICY\fR

The storage location policy. For more information, refer to the snapshot
settings documentation at
https://cloud.google.com/compute/docs/disks/snapshot\-settings.
STORAGE_LOCATION_POLICY must be one of: local\-region, nearest\-multi\-region,
specific\-locations.


.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 "API REFERENCE"

This command uses the compute/alpha or compute/beta or compute/v1 API. The full
documentation for this API can be found at: https://cloud.google.com/compute/



.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha compute snapshot\-settings update
.RE

.RS 2m
$ gcloud beta compute snapshot\-settings update
.RE