Class: Google::Cloud::ArtifactRegistry::V1beta2::Version

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/artifactregistry/v1beta2/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.

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp

Returns The time when the version was created.

Returns:



52
53
54
55
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/version.rb', line 52

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

#description::String

Returns Optional. Description of the version, as specified in its metadata.

Returns:

  • (::String)

    Optional. Description of the version, as specified in its metadata.



52
53
54
55
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/version.rb', line 52

class Version
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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 only resource in use is [DockerImage][google.devtools.artifactregistry.v1.DockerImage].

Returns:

  • (::Google::Protobuf::Struct)

    Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the only resource in use is [DockerImage][google.devtools.artifactregistry.v1.DockerImage]



52
53
54
55
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/version.rb', line 52

class Version
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.

Returns:

  • (::String)

    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.



52
53
54
55
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/version.rb', line 52

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

Returns Output only. A list of related tags. Will contain up to 100 tags that reference this version.

Returns:



52
53
54
55
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/version.rb', line 52

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

#update_time::Google::Protobuf::Timestamp

Returns The time when the version was last updated.

Returns:



52
53
54
55
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/version.rb', line 52

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