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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides reference documentation for the `AutomatedBackupPolicy.Types.TimeBasedRetention` class within the Google Cloud AlloyDB v1 API, specifically version 1.7.0."],["`AutomatedBackupPolicy.Types.TimeBasedRetention` is used to define a policy where backups are retained for a certain period, and it implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has a property called `RetentionPeriod` that is of the type `Duration` that contains the time for which the backups should be kept."],["The documentation also lists other versions of the `AutomatedBackupPolicy.Types.TimeBasedRetention` class, ranging from version 1.0.0 to the latest 1.9.0."],["The class inherits from the [object](https://learn.microsoft.com/dotnet/api/system.object) class."]]],[]]