Class BackupSchedule (3.51.0)

BackupSchedule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

BackupSchedule expresses the automated backup creation specification for a Spanner database. Next ID: 10

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
name str
Identifier. Output only for the CreateBackupSchedule][DatabaseAdmin.CreateBackupSchededule] operation. Required for the UpdateBackupSchedule][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackupSchedule] operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form projects/ The final segment of the name must be between 2 and 60 characters in length.
spec google.cloud.spanner_admin_database_v1.types.BackupScheduleSpec
Optional. The schedule specification based on which the backup creations are triggered.
retention_duration google.protobuf.duration_pb2.Duration
Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
encryption_config google.cloud.spanner_admin_database_v1.types.CreateBackupEncryptionConfig
Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
full_backup_spec google.cloud.spanner_admin_database_v1.types.FullBackupSpec
The schedule creates only full backups. This field is a member of oneof_ backup_type_spec.
incremental_backup_spec google.cloud.spanner_admin_database_v1.types.IncrementalBackupSpec
The schedule creates incremental backup chains. This field is a member of oneof_ backup_type_spec.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.