Class CleanupPolicyMostRecentVersions
CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy for retaining a minimum number of versions.
Implements
Inherited Members
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> |