Class: Google::Cloud::ArtifactRegistry::V1::Version
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1::Version
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/artifactregistry/v1/version.rb
Overview
The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.
Defined Under Namespace
Classes: AnnotationsEntry
Instance Attribute Summary collapse
-
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
The time when the version was created.
-
#description ⇒ ::String
Optional.
-
#metadata ⇒ ::Google::Protobuf::Struct
readonly
Output only.
-
#name ⇒ ::String
The name of the version, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1
. -
#related_tags ⇒ ::Array<::Google::Cloud::ArtifactRegistry::V1::Tag>
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
The time when the version was last updated.
Instance Attribute Details
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Client specified annotations.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the version was created.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#description ⇒ ::String
Returns Optional. Description of the version, as specified in its metadata.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#metadata ⇒ ::Google::Protobuf::Struct (readonly)
Returns Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns The name of the version, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1
.
If the package or version ID parts contain slashes, the slashes are
escaped.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#related_tags ⇒ ::Array<::Google::Cloud::ArtifactRegistry::V1::Tag>
Returns Output only. A list of related tags. Will contain up to 100 tags that reference this version.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the version was last updated.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56 class Version include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |