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, detailing its purpose as an alternate cleanup policy condition."],["The latest version of `CleanupPolicyMostRecentVersions` is 2.9.0, and the documentation covers versions ranging from 1.0.0 to 2.9.0, with links provided for each version."],["`CleanupPolicyMostRecentVersions` is a sealed class that implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes constructors and properties such as `HasKeepCount`, `KeepCount`, and `PackageNamePrefixes` which can be used to manage the minimum number of package versions to keep and apply rules based on package name prefixes."],["The assembly for this class is Google.Cloud.ArtifactRegistry.V1.dll, and it resides within the namespace `Google.Cloud.ArtifactRegistry.V1`."]]],[]]