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

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<Google\Cloud\ArtifactRegistry\V1\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<Google\Cloud\ArtifactRegistry\V1\UpstreamPolicy>
Returns
Type Description
$this