Skip to main content

backup_schedules

Overview

Namebackup_schedules
TypeResource
Idgoogle.firestore.backup_schedules

Fields

NameDatatypeDescription
namestringOutput only. The unique backup schedule identifier across all locations and databases for the given project. This will be auto-assigned. Format is projects/{project}/databases/{database}/backupSchedules/{backup_schedule}
createTimestringOutput only. The timestamp at which this backup schedule was created and effective since. No backups will be created for this schedule before this time.
dailyRecurrenceobjectRepresent a recurring schedule that runs at a specific time every day. The time zone is UTC.
retentionstringAt what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
updateTimestringOutput only. The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time.
weeklyRecurrenceobjectRepresents a recurring schedule that runs on a specified day of the week. The time zone is UTC.

Methods

NameAccessible byRequired ParamsDescription
getSELECTbackupSchedulesId, databasesId, projectsIdGets information about a backup schedule.
listSELECTdatabasesId, projectsIdList backup schedules.
createINSERTdatabasesId, projectsIdCreates a backup schedule on a database. At most two backup schedules can be configured on a database, one daily backup schedule with retention up to 7 days and one weekly backup schedule with retention up to 14 weeks.
deleteDELETEbackupSchedulesId, databasesId, projectsIdDeletes a backup schedule.
patchEXECbackupSchedulesId, databasesId, projectsIdUpdates a backup schedule.