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 Apt repositories constructed from a common repository base and a custom repository path.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1 \ RemoteRepositoryConfig \ AptRepository

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ repository_base int

A common public repository base for Apt.

↳ repository_path string

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

getRepositoryBase

A common public repository base for Apt.

Returns
TypeDescription
int

setRepositoryBase

A common public repository base for Apt.

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