Artifact Registry V1beta2 API - Class Google::Cloud::ArtifactRegistry::V1beta2::Repository (v0.11.2)

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

A Repository for storing artifacts with a specific format.

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) — The user-provided description of the repository.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — The user-provided description of the repository.
Returns
  • (::String) — The user-provided description of the repository.

#format

def format() -> ::Google::Cloud::ArtifactRegistry::V1beta2::Repository::Format
Returns

#format=

def format=(value) -> ::Google::Cloud::ArtifactRegistry::V1beta2::Repository::Format
Parameter
Returns

#kms_key_name

def kms_key_name() -> ::String
Returns
  • (::String) — The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

#kms_key_name=

def kms_key_name=(value) -> ::String
Parameter
  • value (::String) — The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.
Returns
  • (::String) — The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

#maven_config

def maven_config() -> ::Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig
Returns

#maven_config=

def maven_config=(value) -> ::Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
Returns
  • (::String) — The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".

#update_time

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

#update_time=

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