Artifact Registry V1beta2 API - Class Google::Cloud::ArtifactRegistry::V1beta2::Version (v0.8.0)

Reference documentation and code samples for the Artifact Registry V1beta2 API class Google::Cloud::ArtifactRegistry::V1beta2::Version.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the version, as specified in its metadata.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the version, as specified in its metadata.
Returns
  • (::String) — Optional. Description of the version, as specified in its metadata.

#metadata

def metadata() -> ::Google::Protobuf::Struct
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]

#name

def name() -> ::String
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.

#name=

def name=(value) -> ::String
Parameter
  • value (::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.
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.
def related_tags() -> ::Array<::Google::Cloud::ArtifactRegistry::V1beta2::Tag>
Returns
def related_tags=(value) -> ::Array<::Google::Cloud::ArtifactRegistry::V1beta2::Tag>
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#update_time=

def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns