Enum BackupRetentionSettings.RetentionUnit (0.1.0)

public enum BackupRetentionSettings.RetentionUnit extends Enum<BackupRetentionSettings.RetentionUnit> implements ProtocolMessageEnum

The units that retained_backups specifies, we only support COUNT.

Protobuf enum google.cloud.sql.v1beta4.BackupRetentionSettings.RetentionUnit

Implements

ProtocolMessageEnum

Static Fields

Name Description
COUNT

Retention will be by count, eg. "retain the most recent 7 backups".

COUNT = 1;

COUNT_VALUE

Retention will be by count, eg. "retain the most recent 7 backups".

COUNT = 1;

RETENTION_UNIT_UNSPECIFIED

Backup retention unit is unspecified, will be treated as COUNT.

RETENTION_UNIT_UNSPECIFIED = 0;

RETENTION_UNIT_UNSPECIFIED_VALUE

Backup retention unit is unspecified, will be treated as COUNT.

RETENTION_UNIT_UNSPECIFIED = 0;

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()