Class: Google::Cloud::ArtifactRegistry::V1::Version

Inherits:
Object
  • Object
show all
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.

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp

Returns The time when the version was created.

Returns:



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

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.



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

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 resources could be: DockerImage MavenArtifact.

Returns:



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

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.



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

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:



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

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:



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

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