Google Cloud Artifact Registry V1 Client - Class VirtualRepositoryConfig (0.5.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
NameDescription
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
TypeDescription
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
NameDescription
var array<Google\Cloud\ArtifactRegistry\V1\UpstreamPolicy>
Returns
TypeDescription
$this