vpcsc_config
Creates, updates, deletes, gets or lists a vpcsc_config
resource.
Overview
Name | vpcsc_config |
Type | Resource |
Id | google.artifactregistry.vpcsc_config |
Fields
Name | Datatype | Description |
---|---|---|
name | string | 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 |
vpcscPolicy | string | The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny). |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_vpcsc_config | SELECT | locationsId, projectsId | Retrieves the VPCSC Config for the Project. |
update_vpcsc_config | UPDATE | locationsId, projectsId | Updates the VPCSC Config for the Project. |
SELECT
examples
Retrieves the VPCSC Config for the Project.
SELECT
name,
vpcscPolicy
FROM google.artifactregistry.vpcsc_config
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
UPDATE
example
Updates a vpcsc_config
resource.
/*+ update */
UPDATE google.artifactregistry.vpcsc_config
SET
name = '{{ name }}',
vpcscPolicy = '{{ vpcscPolicy }}'
WHERE
locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';