Class RetentionSettingsInfo (0.2.0)

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

Metadata about backup retention settings for a database resource.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
quantity_based_retention google.protobuf.wrappers_pb2.Int32Value
Number of backups that will be retained. This field is a member of oneof_ retention.
duration_based_retention google.protobuf.duration_pb2.Duration
Duration based retention period i.e. 172800 seconds (2 days) This field is a member of oneof_ retention.
timestamp_based_retention_time google.protobuf.timestamp_pb2.Timestamp
Timestamp based retention period i.e. till 2024-05-01T00:00:00Z This field is a member of oneof_ retention.
sub_resource google.cloud.databasecenter_v1beta.types.SubResource
Optional. Sub resource details associated with the backup configuration.