vpnGateways.list of VPN connection for this VpnGateway.
result.vpnConnections[].peerExternalGateway
string
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peerGcpGateway.
result.vpnConnections[].peerGcpGateway
string
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peerGcpGateway.
result.vpnConnections[].tunnels[]
object
vpnGateways.list of VPN tunnels that are in this VPN connection.
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
result.vpnConnections[].tunnels[].tunnelUrl
string
URL reference to the VPN tunnel.
result.vpnConnections[].state
object
HighAvailabilityRequirementState for the VPN connection.
result.vpnConnections[].state.state
enum
Indicates the high availability requirement state for the VPN connection. Valid values areCONNECTION_REDUNDANCY_MET,CONNECTION_REDUNDANCY_NOT_MET.
result.vpnConnections[].state.unsatisfiedReason
enum
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values isINCOMPLETE_TUNNELS_COVERAGE.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003eThis document outlines the process for retrieving the status of a specified VPN gateway using a \u003ccode\u003eGET\u003c/code\u003e request to the Google Compute Engine API.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request requires specifying the \u003ccode\u003eproject\u003c/code\u003e, \u003ccode\u003eregion\u003c/code\u003e, and \u003ccode\u003evpnGateway\u003c/code\u003e as path parameters in the URL, and the request body must be empty.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will receive a response body containing a JSON representation detailing the status of VPN connections, including peer gateways, tunnels, and state information.\u003c/p\u003e\n"],["\u003cp\u003eAccessing this endpoint requires specific OAuth scopes, such as \u003ccode\u003ehttps://www.googleapis.com/auth/compute.readonly\u003c/code\u003e, \u003ccode\u003ehttps://www.googleapis.com/auth/compute\u003c/code\u003e, or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to use this API also requires one or more IAM permissions, such as \u003ccode\u003ecompute.vpnGateways.get\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: vpnGateways.getStatus\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.VpnGatewaysGetStatusResponse.SCHEMA_REPRESENTATION)\n - [JSON representation](#body.VpnGatewaysGetStatusResponse.SCHEMA_REPRESENTATION.resource.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nReturns the status for the specified VPN gateway.\n\n### HTTP request\n\n`GET https://compute.googleapis.com/compute/beta/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/compute.readonly`\n- `\n https://www.googleapis.com/auth/compute`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nIn addition to any permissions specified on the fields above, authorization requires one or more of the following [IAM](https://cloud.google.com/iam/docs/) permissions:\n\n- `compute.vpnGateways.get`\n\nTo find predefined roles that contain those permissions, see [Compute Engine IAM Roles](/compute/docs/access/iam)."]]