Class CleanupPolicyCondition
CleanupPolicyCondition is a set of conditions attached to a CleanupPolicy. If multiple entries are set, all must be satisfied for the condition to be satisfied.
Implements
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1.Data
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class CleanupPolicyCondition : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
NewerThan
Match versions newer than a duration.
Declaration
[JsonProperty("newerThan")]
public virtual object NewerThan { get; set; }
Property Value
Type | Description |
---|---|
object |
OlderThan
Match versions older than a duration.
Declaration
[JsonProperty("olderThan")]
public virtual object OlderThan { get; set; }
Property Value
Type | Description |
---|---|
object |
PackageNamePrefixes
Match versions by package prefix. Applied on any prefix match.
Declaration
[JsonProperty("packageNamePrefixes")]
public virtual IList<string> PackageNamePrefixes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
TagPrefixes
Match versions by tag prefix. Applied on any prefix match.
Declaration
[JsonProperty("tagPrefixes")]
public virtual IList<string> TagPrefixes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
TagState
Match versions by tag status.
Declaration
[JsonProperty("tagState")]
public virtual string TagState { get; set; }
Property Value
Type | Description |
---|---|
string |
VersionNamePrefixes
Match versions by version name prefix. Applied on any prefix match.
Declaration
[JsonProperty("versionNamePrefixes")]
public virtual IList<string> VersionNamePrefixes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |