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\u003eThe latest version of the \u003ccode\u003eAutomatedBackupPolicy.Types.TimeBasedRetention\u003c/code\u003e class is 1.9.0, with previous versions ranging from 1.0.0 to 1.8.0 also being documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutomatedBackupPolicy.Types.TimeBasedRetention\u003c/code\u003e defines a time-based policy for retaining backups within a specified duration.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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 among others.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimeBasedRetention\u003c/code\u003e class includes a constructor and a \u003ccode\u003eRetentionPeriod\u003c/code\u003e property, which sets the length of time for backups to be retained, as a \u003ccode\u003eDuration\u003c/code\u003e type.\u003c/p\u003e\n"]]],[],null,[]]