# Class RetentionSettingsInfo (0.9.0)

0.9.0 (latest) 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.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` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-databasecenter/latest/google.cloud.databasecenter_v1beta.types.SubResource` Optional. Sub resource details associated with the backup configuration. |