Show / Hide Table of Contents

Class CleanupPolicyMostRecentVersions

CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy for retaining a minimum number of versions.

Inheritance
object
CleanupPolicyMostRecentVersions
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ArtifactRegistry.v1.Data
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class CleanupPolicyMostRecentVersions : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

KeepCount

Minimum number of versions to keep.

Declaration
[JsonProperty("keepCount")]
public virtual int? KeepCount { get; set; }
Property Value
Type Description
int?

PackageNamePrefixes

List of package name prefixes that will apply this rule.

Declaration
[JsonProperty("packageNamePrefixes")]
public virtual IList<string> PackageNamePrefixes { get; set; }
Property Value
Type Description
IList<string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX