Class: Google::Cloud::ArtifactRegistry::V1::CleanupPolicyCondition
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1::CleanupPolicyCondition
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/artifactregistry/v1/repository.rb
Overview
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.
Defined Under Namespace
Modules: TagState
Instance Attribute Summary collapse
-
#newer_than ⇒ ::Google::Protobuf::Duration
Match versions newer than a duration.
-
#older_than ⇒ ::Google::Protobuf::Duration
Match versions older than a duration.
-
#package_name_prefixes ⇒ ::Array<::String>
Match versions by package prefix.
-
#tag_prefixes ⇒ ::Array<::String>
Match versions by tag prefix.
-
#tag_state ⇒ ::Google::Cloud::ArtifactRegistry::V1::CleanupPolicyCondition::TagState
Match versions by tag status.
-
#version_name_prefixes ⇒ ::Array<::String>
Match versions by version name prefix.
Instance Attribute Details
#newer_than ⇒ ::Google::Protobuf::Duration
Returns Match versions newer than a duration.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 61 class CleanupPolicyCondition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Statuses applying to versions. module TagState # Tag status not specified. TAG_STATE_UNSPECIFIED = 0 # Applies to tagged versions only. TAGGED = 1 # Applies to untagged versions only. UNTAGGED = 2 # Applies to all versions. ANY = 3 end end |
#older_than ⇒ ::Google::Protobuf::Duration
Returns Match versions older than a duration.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 61 class CleanupPolicyCondition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Statuses applying to versions. module TagState # Tag status not specified. TAG_STATE_UNSPECIFIED = 0 # Applies to tagged versions only. TAGGED = 1 # Applies to untagged versions only. UNTAGGED = 2 # Applies to all versions. ANY = 3 end end |
#package_name_prefixes ⇒ ::Array<::String>
Returns Match versions by package prefix. Applied on any prefix match.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 61 class CleanupPolicyCondition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Statuses applying to versions. module TagState # Tag status not specified. TAG_STATE_UNSPECIFIED = 0 # Applies to tagged versions only. TAGGED = 1 # Applies to untagged versions only. UNTAGGED = 2 # Applies to all versions. ANY = 3 end end |
#tag_prefixes ⇒ ::Array<::String>
Returns Match versions by tag prefix. Applied on any prefix match.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 61 class CleanupPolicyCondition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Statuses applying to versions. module TagState # Tag status not specified. TAG_STATE_UNSPECIFIED = 0 # Applies to tagged versions only. TAGGED = 1 # Applies to untagged versions only. UNTAGGED = 2 # Applies to all versions. ANY = 3 end end |
#tag_state ⇒ ::Google::Cloud::ArtifactRegistry::V1::CleanupPolicyCondition::TagState
Returns Match versions by tag status.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 61 class CleanupPolicyCondition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Statuses applying to versions. module TagState # Tag status not specified. TAG_STATE_UNSPECIFIED = 0 # Applies to tagged versions only. TAGGED = 1 # Applies to untagged versions only. UNTAGGED = 2 # Applies to all versions. ANY = 3 end end |
#version_name_prefixes ⇒ ::Array<::String>
Returns Match versions by version name prefix. Applied on any prefix match.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 61 class CleanupPolicyCondition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Statuses applying to versions. module TagState # Tag status not specified. TAG_STATE_UNSPECIFIED = 0 # Applies to tagged versions only. TAGGED = 1 # Applies to untagged versions only. UNTAGGED = 2 # Applies to all versions. ANY = 3 end end |