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 Google Cloud AlloyDB v1 API, specifically version 1.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuantityBasedRetention\u003c/code\u003e class defines a policy for retaining a specified number of the most recent successful backups.\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, providing functionality for message handling, equality checks, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines the class constructors, including a default constructor and one that accepts an existing \u003ccode\u003eQuantityBasedRetention\u003c/code\u003e object for cloning.\u003c/p\u003e\n"],["\u003cp\u003eIt also describes the \u003ccode\u003eCount\u003c/code\u003e property, which is an integer that determines how many backups should be retained according to the quantity-based retention policy.\u003c/p\u003e\n"]]],[],null,[]]