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 v1beta 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\u003eThis document provides reference documentation for the \u003ccode\u003eAutomatedBackupPolicy.Types.QuantityBasedRetention\u003c/code\u003e class within the AlloyDB v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuantityBasedRetention\u003c/code\u003e class is designed to implement a policy for retaining a specific number of the most recent successful backups.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a constructor that can either create a new instance or clone from an existing \u003ccode\u003eQuantityBasedRetention\u003c/code\u003e object, and exposes a \u003ccode\u003eCount\u003c/code\u003e property to define how many backups to retain.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta\u003c/code\u003e, and it is found in the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]