Method: vpnTunnels.get

Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request.

HTTP request

GET https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/vpnTunnels/{resourceId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

region

string

Name of the region for this request.

resourceId

string

Name of the VpnTunnel resource to return.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Represents a Cloud VPN Tunnel resource.

For more information about VPN, read the the Cloud VPN Overview.

JSON representation
{
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "region": string,
  "targetVpnGateway": string,
  "vpnGateway": string,
  "vpnGatewayInterface": integer,
  "peerExternalGateway": string,
  "peerExternalGatewayInterface": integer,
  "peerGcpGateway": string,
  "router": string,
  "peerIp": string,
  "sharedSecret": string,
  "sharedSecretHash": string,
  "status": enum,
  "selfLink": string,
  "ikeVersion": integer,
  "detailedStatus": string,
  "localTrafficSelector": [
    string
  ],
  "remoteTrafficSelector": [
    string