pub struct BackupSchedule {
pub encryption_config: Option<CreateBackupEncryptionConfig>,
pub full_backup_spec: Option<FullBackupSpec>,
pub incremental_backup_spec: Option<IncrementalBackupSpec>,
pub name: Option<String>,
pub retention_duration: Option<Duration>,
pub spec: Option<BackupScheduleSpec>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
BackupSchedule expresses the automated backup creation specification for a Spanner database.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- instances databases backup schedules create projects (request|response)
- instances databases backup schedules get projects (response)
- instances databases backup schedules patch projects (request|response)
Fields§
§encryption_config: Option<CreateBackupEncryptionConfig>Optional. The encryption configuration that is used to encrypt the backup. If this field is not specified, the backup uses the same encryption configuration as the database.
full_backup_spec: Option<FullBackupSpec>The schedule creates only full backups.
incremental_backup_spec: Option<IncrementalBackupSpec>The schedule creates incremental backup chains.
name: Option<String>Identifier. Output only for the CreateBackupSchedule operation. Required for the UpdateBackupSchedule operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form projects//instances//databases//backupSchedules/a-z*[a-z0-9] The final segment of the name must be between 2 and 60 characters in length.
retention_duration: Option<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.
spec: Option<BackupScheduleSpec>Optional. The schedule specification based on which the backup creations are triggered.
update_time: Option<DateTime<Utc>>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.
Trait Implementations§
Source§impl Clone for BackupSchedule
impl Clone for BackupSchedule
Source§fn clone(&self) -> BackupSchedule
fn clone(&self) -> BackupSchedule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more