public sealed class CleanupPolicyMostRecentVersions : IMessage<CleanupPolicyMostRecentVersions>, IEquatable<CleanupPolicyMostRecentVersions>, IDeepCloneable<CleanupPolicyMostRecentVersions>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class CleanupPolicyMostRecentVersions.
CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy
for retaining a minimum number of versions.
[[["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-03-21 UTC."],[[["This document provides reference documentation for the `CleanupPolicyMostRecentVersions` class within the Google Cloud Artifact Registry v1 API, specifically version 2.5.0."],["The `CleanupPolicyMostRecentVersions` class is designed to define a policy for retaining a minimum number of versions, acting as an alternate condition for the broader `CleanupPolicy`."],["The latest version available in this documentation is 2.9.0, while a history of older versions is also accessible, starting from version 1.0.0, providing a log of previous iteration."],["Key properties of the `CleanupPolicyMostRecentVersions` class include `HasKeepCount`, `KeepCount`, and `PackageNamePrefixes`, which manage the minimum number of versions to keep and the package names to apply the rule."],["The class implements several interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."]]],[]]