File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_firestore_backups_schedules_update.1
.TH "GCLOUD_ALPHA_FIRESTORE_BACKUPS_SCHEDULES_UPDATE" 1
.SH "NAME"
.HP
gcloud alpha firestore backups schedules update \- updates a Cloud Firestore backup schedule
.SH "SYNOPSIS"
.HP
\f5gcloud alpha firestore backups schedules update\fR \fB\-\-backup\-schedule\fR=\fIBACKUP_SCHEDULE\fR \fB\-\-database\fR=\fIDATABASE\fR [\fB\-\-retention\fR=\fIRETENTION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "EXAMPLES"
To update backup schedule 'cf9f748a\-7980\-4703\-b1a1\-d1ffff591db0' under
database testdb to 7 days retention.
.RS 2m
$ gcloud alpha firestore backups schedules update \e
\-\-database='testdb' \e
\-\-backup\-schedule='cf9f748a\-7980\-4703\-b1a1\-d1ffff591db0' \e
\-\-retention='7d'
.RE
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-backup\-schedule\fR=\fIBACKUP_SCHEDULE\fR
The backup schedule to operate on.
For example, to operate on backup schedule
\f5091a49a0\-223f\-4c98\-8c69\-a284abbdb26b\fR:
.RS 2m
$ gcloud alpha firestore backups schedules update \e
\-\-backup\-schedule='091a49a0\-223f\-4c98\-8c69\-a284abbdb26b'
.RE
.TP 2m
\fB\-\-database\fR=\fIDATABASE\fR
The database to operate on.
For example, to operate on database \f5foo\fR:
.RS 2m
$ gcloud alpha firestore backups schedules update \-\-database='foo'
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-retention\fR=\fIRETENTION\fR
The rention of the backup. At what relative time in the future, compared to the
creation time of the backup should the backup be deleted, i.e. keep backups for
7 days.
For example, to set retention as 7 days.
.RS 2m
$ gcloud alpha firestore backups schedules update \-\-retention=7d
.RE
.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 alpha and might 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. These variants are also available:
.RS 2m
$ gcloud firestore backups schedules update
.RE
.RS 2m
$ gcloud beta firestore backups schedules update
.RE