Google Cloud Artifact Registry V1 Client - Class VirtualRepositoryConfig (1.1.1)

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

Virtual repository configuration.

Generated from protobuf message google.devtools.artifactregistry.v1.VirtualRepositoryConfig

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ upstream_policies array<UpstreamPolicy>

Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.

getUpstreamPolicies

Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUpstreamPolicies

Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.

Parameter
Name Description
var array<UpstreamPolicy>
Returns
Type Description
$this