Method: vpnGateways.getStatus

Returns the status for the specified VPN gateway.

HTTP request

GET https://compute.googleapis.com/compute/beta/projects/{project}/regions/{region}/vpnGateways/{resourceId}/getStatus

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 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:

JSON representation
{
  "result": {
    "vpnConnections": [
      {
        "peerExternalGateway": string,
        "peerGcpGateway": string