Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class BackupRetentionInheritance.
How a backup's enforced retention end time is inherited.
Protobuf type google.cloud.backupdr.v1.BackupVault.BackupRetentionInheritance
Namespace
Google \ Cloud \ BackupDR \ V1 \ BackupVaultMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
BACKUP_RETENTION_INHERITANCE_UNSPECIFIED
Value: 0Inheritance behavior not set. This will default to
INHERIT_VAULT_RETENTION.
Generated from protobuf enum BACKUP_RETENTION_INHERITANCE_UNSPECIFIED = 0;
INHERIT_VAULT_RETENTION
Value: 1The 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.
Generated from protobuf enum INHERIT_VAULT_RETENTION = 1;
MATCH_BACKUP_EXPIRE_TIME
Value: 2The 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.
Generated from protobuf enum MATCH_BACKUP_EXPIRE_TIME = 2;