Method: projects.locations.vpnConnections.create

Creates a new VPN connection in a given project and location.

HTTP request

POST https://edgecontainer.googleapis.com/v1/{parent=projects/*/locations/*}/vpnConnections

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent location where this vpn connection will be created.

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

  • edgecontainer.vpnConnections.create

Query parameters

Parameters
vpnConnectionId

string

Required. The VPN connection identifier.

requestId

string

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if requestId is provided.

Request body

The request body contains an instance of VpnConnection.

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.