Class: Google::Cloud::ArtifactRegistry::V1::CleanupPolicyMostRecentVersions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/artifactregistry/v1/repository.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#keep_count::Integer

Returns Minimum number of versions to keep.

Returns:

  • (::Integer)

    Minimum number of versions to keep.



89
90
91
92
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 89

class CleanupPolicyMostRecentVersions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#package_name_prefixes::Array<::String>

Returns List of package name prefixes that will apply this rule.

Returns:

  • (::Array<::String>)

    List of package name prefixes that will apply this rule.



89
90
91
92
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 89

class CleanupPolicyMostRecentVersions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end