Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::AutomatedBackupPolicy::TimeBasedRetention.
A time based retention policy specifies that all backups within a certain time period should be retained.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#retention_period
def retention_period() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The retention period.
#retention_period=
def retention_period=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The retention period.
Returns
- (::Google::Protobuf::Duration) — The retention period.