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 Google Cloud AlloyDB v1 API, specifically version 1.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimeBasedRetention\u003c/code\u003e class, which is part of the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1\u003c/code\u003e namespace, defines a policy for retaining backups within a specified time period, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists available versions of the API, ranging from 1.0.0 to the latest 1.9.0, with each version linking to its respective documentation page for the \u003ccode\u003eTimeBasedRetention\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage details the class's inheritance, stating it inherits from the \u003ccode\u003eobject\u003c/code\u003e class, and lists the implemented interfaces, as well as inherited members.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and one that takes another \u003ccode\u003eTimeBasedRetention\u003c/code\u003e object, and one property \u003ccode\u003eRetentionPeriod\u003c/code\u003e, which is of type \u003ccode\u003eDuration\u003c/code\u003e and is used to determine the length of time to retain backups.\u003c/p\u003e\n"]]],[],null,[]]