Method: projects.locations.connectors.create

Creates a Serverless VPC Access connector, returns an operation.

HTTP request

POST https://vpcaccess.googleapis.com/v1/{parent=projects/*/locations/*}/connectors

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The project ID and location in which the configuration should be created, specified in the format projects/*/locations/*.

Authorization requires the following IAM permission on the specified resource parent:

  • vpcaccess.connectors.create

Query parameters

Parameters
connectorId

string

Required. The ID to use for this connector.

Request body

The request body contains an instance of Connector.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.