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

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
Name Description
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
Type Description
int

setRepositoryBase

A common public repository base for Apt.

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