Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::Package (v1.2.0)

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

Packages are named collections of versions.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotations

def annotations() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Client specified annotations.

#annotations=

def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Client specified annotations.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Client specified annotations.

#create_time

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

#create_time=

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

#display_name

def display_name() -> ::String
Returns
  • (::String) — The display name of the package.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The display name of the package.
Returns
  • (::String) — The display name of the package.

#name

def name() -> ::String
Returns
  • (::String) — The name of the package, for example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1. If the package ID part contains slashes, the slashes are escaped.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the package, for example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1. If the package ID part contains slashes, the slashes are escaped.
Returns
  • (::String) — The name of the package, for example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1. If the package ID part contains slashes, the slashes are escaped.

#update_time

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

#update_time=

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