Class BackupRetentionSettings (0.1.1)

BackupRetentionSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

We currently only support backup retention by specifying the number of backups we will retain.

Attributes

Name Description
retention_unit google.cloud.sqladmin_v1.types.BackupRetentionSettings.RetentionUnit
The unit that 'retained_backups' represents.
retained_backups google.protobuf.wrappers_pb2.Int32Value
Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.

Classes

RetentionUnit

RetentionUnit(value)

The units that retained_backups specifies, we only support COUNT.