Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::Version (v0.9.1)

Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::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

#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::V1::Tag>
Returns
def related_tags=(value) -> ::Array<::Google::Cloud::ArtifactRegistry::V1::Tag>
Parameter
Returns

#update_time

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

#update_time=

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