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 AlloyDB v1 API, which is used for defining time-based backup retention policies."],["The `TimeBasedRetention` class, part of the `Google.Cloud.AlloyDb.V1` namespace, allows users to specify that all backups within a specific time period should be retained."],["The class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing various functionalities like deep cloning and message handling."],["The class has two constructors, one default and one that takes another `TimeBasedRetention` object to create a new object from the existing one, and contains one property, `RetentionPeriod`, which defines the length of time backups should be kept."],["Several versions of this class are available, from 1.0.0 up to the latest version 1.9.0, all accessible via links, offering a history of this documentation."]]],[]]