public sealed class AutomatedBackupPolicy.Types.TimeBasedRetention : IMessage<AutomatedBackupPolicy.Types.TimeBasedRetention>, IEquatable<AutomatedBackupPolicy.Types.TimeBasedRetention>, IDeepCloneable<AutomatedBackupPolicy.Types.TimeBasedRetention>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class AutomatedBackupPolicy.Types.TimeBasedRetention.
A time based retention policy specifies that all backups within a certain time period should be retained.
Implements
IMessageAutomatedBackupPolicyTypesTimeBasedRetention, IEquatableAutomatedBackupPolicyTypesTimeBasedRetention, IDeepCloneableAutomatedBackupPolicyTypesTimeBasedRetention, IBufferMessage, IMessageNamespace
Google.Cloud.AlloyDb.V1Assembly
Google.Cloud.AlloyDb.V1.dll
Constructors
TimeBasedRetention()
public TimeBasedRetention()
TimeBasedRetention(TimeBasedRetention)
public TimeBasedRetention(AutomatedBackupPolicy.Types.TimeBasedRetention other)
Parameter | |
---|---|
Name | Description |
other | AutomatedBackupPolicyTypesTimeBasedRetention |
Properties
RetentionPeriod
public Duration RetentionPeriod { get; set; }
The retention period.
Property Value | |
---|---|
Type | Description |
Duration |