Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class YumRepository.
Configuration for a Yum remote repository.
Generated from protobuf message google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository
Namespace
Google \ Cloud \ ArtifactRegistry \ V1 \ RemoteRepositoryConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ public_repository |
YumRepository\PublicRepository
One of the publicly available Yum repositories supported by Artifact Registry. |
↳ custom_repository |
YumRepository\CustomRepository
Customer-specified remote repository. |
getPublicRepository
One of the publicly available Yum repositories supported by Artifact Registry.
| Returns | |
|---|---|
| Type | Description |
YumRepository\PublicRepository|null |
|
hasPublicRepository
setPublicRepository
One of the publicly available Yum repositories supported by Artifact Registry.
| Parameter | |
|---|---|
| Name | Description |
var |
YumRepository\PublicRepository
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCustomRepository
Customer-specified remote repository.
| Returns | |
|---|---|
| Type | Description |
YumRepository\CustomRepository|null |
|
hasCustomRepository
setCustomRepository
Customer-specified remote repository.
| Parameter | |
|---|---|
| Name | Description |
var |
YumRepository\CustomRepository
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpstream
| Returns | |
|---|---|
| Type | Description |
string |
|