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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eAutomatedBackupPolicy.Types.TimeBasedRetention\u003c/code\u003e class within the AlloyDB v1 API, which is used for defining time-based backup retention policies.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimeBasedRetention\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1\u003c/code\u003e namespace, allows users to specify that all backups within a specific time period should be retained.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and one that takes another \u003ccode\u003eTimeBasedRetention\u003c/code\u003e object to create a new object from the existing one, and contains one property, \u003ccode\u003eRetentionPeriod\u003c/code\u003e, which defines the length of time backups should be kept.\u003c/p\u003e\n"],["\u003cp\u003eSeveral 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.\u003c/p\u003e\n"]]],[],null,[]]