Reference documentation and code samples for the Google Cloud Artifact Registry V1beta2 Client class Repository.
A Repository for storing artifacts with a specific format.
Generated from protobuf message google.devtools.artifactregistry.v1beta2.Repository
Namespace
Google \ Cloud \ ArtifactRegistry \ V1beta2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ maven_config
Google\Cloud\ArtifactRegistry\V1beta2\Repository\MavenRepositoryConfig
Maven repository config contains repository level configuration for the repositories of maven type.
↳ name
string
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
↳ format
int
The format of packages that are stored in the repository.
↳ description
string
The user-provided description of the repository.
↳ labels
array| Google\Protobuf\Internal\MapField
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.
↳ create_time
↳ update_time
↳ kms_key_name
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.
getMavenConfig
Maven repository config contains repository level configuration for the repositories of maven type.
hasMavenConfig
setMavenConfig
Maven repository config contains repository level configuration for the repositories of maven type.
$this
getName
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
string
setName
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
var
string
$this
getFormat
The format of packages that are stored in the repository.
int
setFormat
The format of packages that are stored in the repository.
var
int
$this
getDescription
The user-provided description of the repository.
string
setDescription
The user-provided description of the repository.
var
string
$this
getLabels
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.
setLabels
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.
$this
getCreateTime
The time when the repository was created.
hasCreateTime
clearCreateTime
setCreateTime
The time when the repository was created.
$this
getUpdateTime
The time when the repository was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
The time when the repository was last updated.
$this
getKmsKeyName
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.
string
setKmsKeyName
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.
var
string
$this
getFormatConfig
string