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"]],[["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-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eAutomatedBackupPolicy.Types.QuantityBasedRetention\u003c/code\u003e is 1.9.0, with versions ranging down to 1.0.0 also being accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutomatedBackupPolicy.Types.QuantityBasedRetention\u003c/code\u003e class, as described in the AlloyDB v1 API documentation, is used to define a policy for retaining a certain number of recent successful backups.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, allowing it to be utilized in varied contexts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuantityBasedRetention\u003c/code\u003e class provides a \u003ccode\u003eCount\u003c/code\u003e property which, as an integer, determines how many backups will be stored, and it provides two constructors for various initiation purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuantityBasedRetention\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class, and includes methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]