Method: projects.locations.connectors.create

Creates a Serverless VPC Access connector, returns an operation.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Authorization requires the following Google 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.

Try it!

此页内容是否有用?请给出您的反馈和评价:

发送以下问题的反馈:

此网页