Class: Google::Cloud::ArtifactRegistry::V1::Tag
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1::Tag
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/artifactregistry/v1/tag.rb
Overview
Tags point to a version and represent an alternative name that can be used to access the version.
Instance Attribute Summary collapse
-
#name ⇒ ::String
The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
-
#version ⇒ ::String
The name of the version the tag refers to, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811If the package or version ID parts contain slashes, the slashes are escaped.
Instance Attribute Details
#name ⇒ ::String
Returns The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9-._~:@], anything else must be URL encoded.
39 40 41 42 |
# File 'proto_docs/google/devtools/artifactregistry/v1/tag.rb', line 39 class Tag include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#version ⇒ ::String
Returns The name of the version the tag refers to, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811
If the package or version ID parts contain slashes, the slashes are
escaped.
39 40 41 42 |
# File 'proto_docs/google/devtools/artifactregistry/v1/tag.rb', line 39 class Tag include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |