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

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

Attributes

  • keepCount (type: integer(), default: nil) - Minimum number of versions to keep.
  • packageNamePrefixes (type: list(String.t), default: nil) - List of package name prefixes that will apply this rule.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ArtifactRegistry.V1.Model.CleanupPolicyMostRecentVersions{
  keepCount: integer() | nil,
  packageNamePrefixes: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.