public sealed class Backup.Types.QuantityBasedExpiry : IMessage<Backup.Types.QuantityBasedExpiry>, IEquatable<Backup.Types.QuantityBasedExpiry>, IDeepCloneable<Backup.Types.QuantityBasedExpiry>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1alpha API class Backup.Types.QuantityBasedExpiry.
A backup's position in a quantity-based retention queue, of backups with
the same source cluster and type, with length, retention, specified by the
backup's retention policy.
Once the position is greater than the retention, the backup is eligible to
be garbage collected.
Example: 5 backups from the same source cluster and type with a
quantity-based retention of 3 and denoted by backup_id (position,
retention).
Output only. The backup's position among its backups with the same source
cluster and type, by descending chronological order create time(i.e.
newest first).
[[["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 information for the \u003ccode\u003eBackup.Types.QuantityBasedExpiry\u003c/code\u003e class within the Google Cloud AlloyDB v1alpha API, specifically for the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eQuantityBasedExpiry\u003c/code\u003e represents a backup's position in a retention queue, with the position determined by the backup's source cluster, type, and creation time relative to other backups.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRetentionCount\u003c/code\u003e property indicates the backup's position within the queue, with lower numbers representing newer backups, while the \u003ccode\u003eTotalRetentionCount\u003c/code\u003e indicates the maximum length of that retention queue.\u003c/p\u003e\n"],["\u003cp\u003eBackups with a position greater than their retention are eligible for garbage collection, as illustrated by the example provided in the document.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eQuantityBasedExpiry\u003c/code\u003e inherits from the \u003ccode\u003eobject\u003c/code\u003e type and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"]]],[],null,[]]