View Source GoogleApi.ArtifactRegistry.V1.Model.CleanupPolicyCondition (google_api_artifact_registry v0.15.0)

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.

Attributes

  • newerThan (type: String.t, default: nil) - Match versions newer than a duration.
  • olderThan (type: String.t, default: nil) - Match versions older than a duration.
  • packageNamePrefixes (type: list(String.t), default: nil) - Match versions by package prefix. Applied on any prefix match.
  • tagPrefixes (type: list(String.t), default: nil) - Match versions by tag prefix. Applied on any prefix match.
  • tagState (type: String.t, default: nil) - Match versions by tag status.
  • versionNamePrefixes (type: list(String.t), default: nil) - Match versions by version name prefix. Applied on any prefix match.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ArtifactRegistry.V1.Model.CleanupPolicyCondition{
  newerThan: String.t() | nil,
  olderThan: String.t() | nil,
  packageNamePrefixes: [String.t()] | nil,
  tagPrefixes: [String.t()] | nil,
  tagState: String.t() | nil,
  versionNamePrefixes: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.