Class VPCSCConfig (1.7.0)

VPCSCConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The Artifact Registry VPC SC config that apply to a Project.

Attributes

NameDescription
name str
The name of the project's VPC SC Config. Always of the form: projects/{projectID}/locations/{location}/vpcscConfig In update request: never set In response: always set
vpcsc_policy google.cloud.artifactregistry_v1.types.VPCSCConfig.VPCSCPolicy
The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny).

Classes

VPCSCPolicy

VPCSCPolicy(value)

VPCSCPolicy is the VPC SC policy for project and location.

Values: VPCSC_POLICY_UNSPECIFIED (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). DENY (1): VPCSC_DENY - repository will block the requests to the Upstreams for the Remote Repositories if the resource is in the perimeter. ALLOW (2): VPCSC_ALLOW - repository will allow the requests to the Upstreams for the Remote Repositories if the resource is in the perimeter.