Google Cloud Artifact Registry V1 Client - Class PublicRepository (1.1.0)

Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class PublicRepository.

Publicly available Yum repositories constructed from a common repository base and a custom repository path.

Generated from protobuf message google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository

Namespace

Google \ Cloud \ ArtifactRegistry \ V1 \ RemoteRepositoryConfig \ YumRepository

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ repository_base int

A common public repository base for Yum.

↳ repository_path string

A custom field to define a path to a specific repository from the base.

getRepositoryBase

A common public repository base for Yum.

Returns
Type Description
int

setRepositoryBase

A common public repository base for Yum.

Parameter
Name Description
var int
Returns
Type Description
$this

getRepositoryPath

A custom field to define a path to a specific repository from the base.

Returns
Type Description
string

setRepositoryPath

A custom field to define a path to a specific repository from the base.

Parameter
Name Description
var string
Returns
Type Description
$this