Method: targetVpnGateways.get

Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.

HTTP request

GET https://compute.googleapis.com/compute/beta/projects/{project}/regions/{region}/targetVpnGateways/{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 target VPN gateway 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 Target VPN Gateway resource.

The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview.

JSON representation
{
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "region": string,
  "network": string,
  "tunnels": [
    string
  ],
  "status": enum,
  "selfLink": string,
  "forwardingRules": [
    string
  ],
  "labels": {
    string: string,
    ...
  },
  "labelFingerprint": string,
  "kind": string
}
Fields
id

s