ExternalVpnGateway

Represents an external VPN gateway. External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway. For more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN.

ComputeGoogle CloudInfrastructure-as-a-ServiceInfrastructureVirtual Machines

Properties

Name Type Description
description string An optional description of this resource. Provide this property when you create the resource.
interfaces array A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN
id string Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
params object Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
name string Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match
labelFingerprint string A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engi
redundancyType string Indicates the user-supplied redundancy type of this external VPN gateway.
creationTimestamp string Output only. [Output Only] Creation timestamp inRFC3339 text format.
labels object Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035. Label values may be empty.
kind string Output only. [Output Only] Type of the resource. Alwayscompute#externalVpnGateway for externalVpnGateways.
selfLink string Output only. [Output Only] Server-defined URL for the resource.
View JSON Schema on GitHub

JSON Schema

google-cloud-compute-engine-external-vpn-gateway-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-external-vpn-gateway-schema.json",
  "title": "ExternalVpnGateway",
  "description": "Represents an external VPN gateway.\n\nExternal VPN gateway is the on-premises VPN gateway(s) or another cloud\nprovider's VPN gateway that connects to your Google Cloud VPN gateway.\n\nTo create a highly available VPN from Google Cloud Platform to your\nVPN gateway or another cloud provider's VPN gateway, you must create a\nexternal VPN gateway resource with information about the other gateway.\n\nFor more information about using external VPN gateways, see\nCreating an HA VPN gateway and tunnel pair to a peer VPN.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-external-vpn-gateways-api-openapi.yml#/components/schemas/ExternalVpnGateway",
  "type": "object",
  "properties": {
    "description": {
      "description": "An optional description of this resource. Provide this property when you\ncreate the resource.",
      "type": "string"
    },
    "interfaces": {
      "type": "array",
      "description": "A list of interfaces for this external VPN gateway.\n\nIf your peer-side gateway is an on-premises gateway and non-AWS cloud\nproviders' gateway, at most two interfaces can be provided for an external\nVPN gateway. If your peer side is an AWS virtual private gateway, four\ninterfaces should be provided for an external VPN gateway.",
      "items": {
        "$ref": "#/$defs/ExternalVpnGatewayInterface"
      }
    },
    "id": {
      "type": "string",
      "format": "uint64",
      "readOnly": true,
      "description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server."
    },
    "params": {
      "$ref": "#/$defs/ExternalVpnGatewayParams",
      "description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload."
    },
    "name": {
      "type": "string",
      "description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.",
      "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
    },
    "labelFingerprint": {
      "format": "byte",
      "description": "A fingerprint for the labels being applied to this ExternalVpnGateway,\nwhich is essentially a hash of the labels set used for optimistic locking.\nThe fingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an ExternalVpnGateway.",
      "type": "string"
    },
    "redundancyType": {
      "type": "string",
      "description": "Indicates the user-supplied redundancy type of this external VPN gateway.",
      "enum": [
        "FOUR_IPS_REDUNDANCY",
        "SINGLE_IP_INTERNALLY_REDUNDANT",
        "TWO_IPS_REDUNDANCY"
      ]
    },
    "creationTimestamp": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format."
    },
    "labels": {
      "description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty.",
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "kind": {
      "default": "compute#externalVpnGateway",
      "description": "Output only. [Output Only] Type of the resource. Alwayscompute#externalVpnGateway for externalVpnGateways.",
      "type": "string",
      "readOnly": true
    },
    "selfLink": {
      "description": "Output only. [Output Only] Server-defined URL for the resource.",
      "readOnly": true,
      "type": "string"
    }
  },
  "$defs": {
    "ExternalVpnGatewayInterface": {
      "description": "The interface for the external VPN gateway.",
      "properties": {
        "ipAddress": {
          "description": "IP address of the interface in the external VPN gateway. Only IPv4 is\nsupported. This IP address can be either from your on-premise gateway or\nanother Cloud provider's VPN gateway, it cannot be an IP address from\nGoogle Compute Engine.",
          "type": "string"
        },
        "id": {
          "format": "uint32",
          "description": "The numeric ID of this interface.\nThe allowed input values for this id for different redundancy types of\nexternal VPN gateway:\n   \n   - SINGLE_IP_INTERNALLY_REDUNDANT - 0\n   - TWO_IPS_REDUNDANCY - 0, 1\n   - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3",
          "type": "integer"
        },
        "ipv6Address": {
          "type": "string",
          "description": "IPv6 address of the interface in the external VPN gateway. This IPv6\naddress can be either from your on-premise gateway or another Cloud\nprovider's VPN gateway, it cannot be an IP address from Google Compute\nEngine. Must specify an IPv6 address (not IPV4-mapped) using any format\ndescribed in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format\nis RFC 5952 format (e.g. 2001:db8::2d9:51:0:0)."
        }
      },
      "type": "object"
    },
    "ExternalVpnGatewayParams": {
      "properties": {
        "resourceManagerTags": {
          "type": "object",
          "description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n  instance: {\"123/environment\" : \"tagValues/444\"} is invalid.\n* Inconsistent format is not supported. For instance:\n  {\"tagKeys/333\" : \"tagValues/444\", \"123/env\" : \"prod\"} is invalid.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-compute-engine-external-vpn-gateway"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.