Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class CustomRepository.
Customer-specified publicly available remote repository.
Generated from protobuf message google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepository
Namespace
Google \ Cloud \ ArtifactRegistry \ V1 \ RemoteRepositoryConfig \ YumRepositoryMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
An http/https uri reference to the upstream remote repository, for ex: "https://my.yum.registry/". |
getUri
An http/https uri reference to the upstream remote repository, for ex: "https://my.yum.registry/".
Returns | |
---|---|
Type | Description |
string |
setUri
An http/https uri reference to the upstream remote repository, for ex: "https://my.yum.registry/".
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |