Google Cloud Artifact Registry V1 Client - Class VPCSCPolicy (0.5.1)

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

VPCSCPolicy is the VPC SC policy for project and location.

Protobuf type google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy

Namespace

Google \ Cloud \ ArtifactRegistry \ V1 \ VPCSCConfig

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

VPCSC_POLICY_UNSPECIFIED

Value: 0

VPCSC_POLICY_UNSPECIFIED - the VPS SC policy is not defined.

When VPS SC policy is not defined - the Service will use the default behavior (VPCSC_DENY).

Generated from protobuf enum VPCSC_POLICY_UNSPECIFIED = 0;

DENY

Value: 1

VPCSC_DENY - repository will block the requests to the Upstreams for the Remote Repositories if the resource is in the perimeter.

Generated from protobuf enum DENY = 1;

ALLOW

Value: 2

VPCSC_ALLOW - repository will allow the requests to the Upstreams for the Remote Repositories if the resource is in the perimeter.

Generated from protobuf enum ALLOW = 2;