{
  "$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-list-schema.json",
  "title": "ExternalVpnGatewayList",
  "description": "Response to the list request, and contains a list of externalVpnGateways.",
  "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/ExternalVpnGatewayList",
  "properties": {
    "id": {
      "type": "string",
      "description": "[Output Only] Unique identifier for the resource; defined by the server."
    },
    "items": {
      "items": {
        "$ref": "#/$defs/ExternalVpnGateway"
      },
      "description": "A list of ExternalVpnGateway resources.",
      "type": "array"
    },
    "warning": {
      "type": "object",
      "description": "[Output Only] Informational warning message.",
      "properties": {
        "message": {
          "type": "string",
          "description": "[Output Only] A human-readable description of the warning code."
        },
        "code": {
          "type": "string",
          "enum": [
            "CLEANUP_FAILED",
            "DEPRECATED_RESOURCE_USED",
            "DEPRECATED_TYPE_USED",
            "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
            "EXPERIMENTAL_TYPE_USED",
            "EXTERNAL_API_WARNING",
            "FIELD_VALUE_OVERRIDEN",
            "INJECTED_KERNELS_DEPRECATED",
            "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB",
            "LARGE_DEPLOYMENT_WARNING",
            "LIST_OVERHEAD_QUOTA_EXCEED",
            "MISSING_TYPE_DEPENDENCY",
            "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
            "NEXT_HOP_CANNOT_IP_FORWARD",
            "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE",
            "NEXT_HOP_INSTANCE_NOT_FOUND",
            "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
            "NEXT_HOP_NOT_RUNNING",
            "NOT_CRITICAL_ERROR",
            "NO_RESULTS_ON_PAGE",
            "PARTIAL_SUCCESS",
            "QUOTA_INFO_UNAVAILABLE",
            "REQUIRED_TOS_AGREEMENT",
            "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING",
            "RESOURCE_NOT_DELETED",
            "SCHEMA_VALIDATION_IGNORED",
            "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
            "UNDECLARED_PROPERTIES",
            "UNREACHABLE"
          ],
          "description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response."
        },
        "data": {
          "type": "array",
          "description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n  {\n   \"key\": \"scope\",\n   \"value\": \"zones/us-east1-d\"\n  }]",
          "items": {
            "properties": {
              "value": {
                "type": "string",
                "description": "[Output Only] A warning data value corresponding to the key."
              },
              "key": {
                "description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      }
    },
    "nextPageToken": {
      "description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.",
      "type": "string"
    },
    "selfLink": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] Server-defined URL for this resource."
    },
    "etag": {
      "type": "string"
    },
    "kind": {
      "readOnly": true,
      "description": "Output only. [Output Only] Type of resource. Always compute#externalVpnGatewayList for lists of externalVpnGateways.",
      "type": "string",
      "default": "compute#externalVpnGatewayList"
    }
  },
  "type": "object",
  "$defs": {
    "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"
        }
      },
      "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."
    },
    "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"
    }
  }
}