Enum BackupVault.BackupRetentionInheritance (0.40.0)

public enum BackupVault.BackupRetentionInheritance extends Enum<BackupVault.BackupRetentionInheritance> implements ProtocolMessageEnum

How a backup's enforced retention end time is inherited.

Protobuf enum google.cloud.backupdr.v1.BackupVault.BackupRetentionInheritance

Implements

ProtocolMessageEnum

Static Fields

Name Description
BACKUP_RETENTION_INHERITANCE_UNSPECIFIED

Inheritance behavior not set. This will default to INHERIT_VAULT_RETENTION.

BACKUP_RETENTION_INHERITANCE_UNSPECIFIED = 0;

BACKUP_RETENTION_INHERITANCE_UNSPECIFIED_VALUE

Inheritance behavior not set. This will default to INHERIT_VAULT_RETENTION.

BACKUP_RETENTION_INHERITANCE_UNSPECIFIED = 0;

INHERIT_VAULT_RETENTION

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.

INHERIT_VAULT_RETENTION = 1;

INHERIT_VAULT_RETENTION_VALUE

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.

INHERIT_VAULT_RETENTION = 1;

MATCH_BACKUP_EXPIRE_TIME

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.

MATCH_BACKUP_EXPIRE_TIME = 2;

MATCH_BACKUP_EXPIRE_TIME_VALUE

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.

MATCH_BACKUP_EXPIRE_TIME = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()