---
title: "PATCH /v1/projects/{projectsId}/locations/{locationsId}/vpcscConfig"
method: PATCH
path: "/v1/projects/{projectsId}/locations/{locationsId}/vpcscConfig"
tags: ["projects"]
---

# PATCH /v1/projects/{projectsId}/locations/{locationsId}/vpcscConfig

`PATCH /v1/projects/{projectsId}/locations/{locationsId}/vpcscConfig`

## Request

- Base URL: `https://artifactregistry.googleapis.com`
- URL: `https://artifactregistry.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/vpcscConfig`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Updates the VPCSC Config for the Project.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `updateMask` string, google-fieldmask

## Request body

- VPCSCConfig: The Artifact Registry VPC SC config that apply to a Project.
  - `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` 'VPCSC_POLICY_UNSPECIFIED' | 'DENY' | 'ALLOW': The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny).

## Response `200`

Successful response

- VPCSCConfig: The Artifact Registry VPC SC config that apply to a Project.
  - `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` 'VPCSC_POLICY_UNSPECIFIED' | 'DENY' | 'ALLOW': The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny).

---

[API](https://skmtc.dev/google/apis/artifactregistry.md) - [All operations](https://skmtc.dev/google/apis/artifactregistry/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/artifactregistry/revisions/83834d32294c?raw)
