Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::CleanupPolicyMostRecentVersions (v1.0.0)

Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::CleanupPolicyMostRecentVersions.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#keep_count

def keep_count() -> ::Integer
Returns
  • (::Integer) — Minimum number of versions to keep.

#keep_count=

def keep_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum number of versions to keep.
Returns
  • (::Integer) — Minimum number of versions to keep.

#package_name_prefixes

def package_name_prefixes() -> ::Array<::String>
Returns
  • (::Array<::String>) — List of package name prefixes that will apply this rule.

#package_name_prefixes=

def package_name_prefixes=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — List of package name prefixes that will apply this rule.
Returns
  • (::Array<::String>) — List of package name prefixes that will apply this rule.