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

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
NameDescription
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
TypeDescription
int

setRepositoryBase

A common public repository base for Yum.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRepositoryPath

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

Returns
TypeDescription
string

setRepositoryPath

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this