---
title: "PATCH /v1/{+name}"
method: PATCH
path: "/v1/{+name}"
tags: ["projects"]
---

# PATCH /v1/{+name}

`PATCH /v1/{+name}`

Updates a Serverless VPC Access connector, returns an operation.

## Path parameters

- `name` string, required

## Query parameters

- `updateMask` string

## Request body

- Connector — Definition of a Serverless VPC Access connector.
  - `name` string — The resource name in the format `projects/*/locations/*/connectors/*`.
  - `minInstances` integer — Minimum value of instances in autoscaling group underlying the connector.
  - `ipCidrRange` string — Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
  - `minThroughput` integer — Minimum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by --max-throughput. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput. The use of `min-throughput` is discouraged in favor of `min-instances`.
  - `machineType` string — Machine type of VM Instance underlying connector. Default is e2-micro
  - `maxInstances` integer — Maximum value of instances in autoscaling group underlying the connector.
  - `maxThroughput` integer — Maximum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by --min-throughput. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput. The use of `max-throughput` is discouraged in favor of `max-instances`.
  - `subnet` Subnet — The subnet in which to house the connector
    - `name` string — Optional. Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
    - `projectId` string — Optional. Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
  - `network` string — Optional. Name of a VPC network.
  - `state` 'STATE_UNSPECIFIED' | 'READY' | 'CREATING' | 'DELETING' | 'ERROR' | 'UPDATING' — Output only. State of the VPC access connector.
  - `connectedProjects` string[] — Output only. List of projects using the connector.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/vpcaccess.md) · [All operations](https://skmtc.dev/google/apis/vpcaccess/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/vpcaccess/revisions/39d5fef653ed/schema)
