Reference documentation and code samples for the Backup and DR Service V1 API module Google::Cloud::BackupDR::V1::BackupVault::BackupRetentionInheritance.
How a backup's enforced retention end time is inherited.
Constants
BACKUP_RETENTION_INHERITANCE_UNSPECIFIED
value: 0
Inheritance behavior not set. This will default to
INHERIT_VAULT_RETENTION.
INHERIT_VAULT_RETENTION
value: 1
The enforced retention end time of a backup will be inherited from the
backup vault's backup_minimum_enforced_retention_duration field.
This is the default behavior.
MATCH_BACKUP_EXPIRE_TIME
value: 2
The enforced retention end time of a backup will always match the expire
time of the backup.
If this is set, the backup's enforced retention end time will be set to match the expire time during creation of the backup. When updating, the ERET and expire time must be updated together and have the same value. Invalid update requests will be rejected by the server.