public sealed class AutomatedBackupPolicy.Types.QuantityBasedRetention : IMessage<AutomatedBackupPolicy.Types.QuantityBasedRetention>, IEquatable<AutomatedBackupPolicy.Types.QuantityBasedRetention>, IDeepCloneable<AutomatedBackupPolicy.Types.QuantityBasedRetention>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class AutomatedBackupPolicy.Types.QuantityBasedRetention.
A quantity based policy specifies that a certain number of the most recent
successful backups 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 document provides reference documentation for the \u003ccode\u003eAutomatedBackupPolicy.Types.QuantityBasedRetention\u003c/code\u003e class within the AlloyDB v1 API, focusing on version 1.4.0 but also listing versions up to the latest version 1.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuantityBasedRetention\u003c/code\u003e class is used to manage backup retention policies based on the number of successful backups retained.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring compatibility and supporting cloning, comparison, and efficient data handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default constructor and one that accepts another \u003ccode\u003eQuantityBasedRetention\u003c/code\u003e instance for duplication, as well as having a \u003ccode\u003eCount\u003c/code\u003e property to define the number of backups that should be kept.\u003c/p\u003e\n"]]],[],null,[]]