Gateway

Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway.

Google CloudIstioKubernetesMicroservicesService Mesh

Properties

Name Type Description
allowGlobalAccess boolean Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY.
allPorts boolean Optional. If true, the Gateway will listen on all ports. This is mutually exclusive with the `ports` field. This field only applies to gateways of type 'SECURE_WEB_GATEWAY'.
type string Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is returned.
ports array Required. One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 5 ports. Gateways
description string Optional. A free-text description of the resource. Max length 1024 characters.
createTime string Output only. The timestamp when the resource was created.
network string Optional. The relative resource name identifying the VPC network that is using this configuration. For example: `projects/*/global/networks/network-1`. Currently, this field is specific to gateways of
selfLink string Output only. Server-defined URL of this resource
updateTime string Output only. The timestamp when the resource was updated.
addresses array Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of typ
certificateUrls array Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECU
subnetwork string Optional. The relative resource name identifying the subnetwork in which this SWG is allocated. For example: `projects/*/regions/us-central1/subnetworks/network-1` Currently, this field is specific to
serverTlsPolicy string Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
gatewaySecurityPolicy string Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security policy to inbound (VM to Proxy) initiated connections. For example: `projects/*/locations/*/
scope string Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single
labels object Optional. Set of label tags associated with the Gateway resource.
routingMode string Optional. The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
ipVersion string Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4.
name string Identifier. Name of the Gateway resource. It matches pattern `projects/*/locations/*/gateways/`.
envoyHeaders string Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.
View JSON Schema on GitHub

JSON Schema

google-cloud-service-mesh-gateway-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-service-mesh/json-schema/google-cloud-service-mesh-gateway-schema.json",
  "title": "Gateway",
  "description": "Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-service-mesh-networkservices-projects-api-openapi.yml#/components/schemas/Gateway",
  "type": "object",
  "properties": {
    "allowGlobalAccess": {
      "description": "Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY.",
      "type": "boolean"
    },
    "allPorts": {
      "type": "boolean",
      "description": "Optional. If true, the Gateway will listen on all ports. This is mutually exclusive with the `ports` field. This field only applies to gateways of type 'SECURE_WEB_GATEWAY'."
    },
    "type": {
      "type": "string",
      "enum": [
        "TYPE_UNSPECIFIED",
        "OPEN_MESH",
        "SECURE_WEB_GATEWAY"
      ],
      "description": "Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is returned."
    },
    "ports": {
      "type": "array",
      "items": {
        "format": "int32",
        "type": "integer"
      },
      "description": "Required. One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 5 ports. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple ports."
    },
    "description": {
      "description": "Optional. A free-text description of the resource. Max length 1024 characters.",
      "type": "string"
    },
    "createTime": {
      "type": "string",
      "description": "Output only. The timestamp when the resource was created.",
      "readOnly": true,
      "format": "google-datetime"
    },
    "network": {
      "description": "Optional. The relative resource name identifying the VPC network that is using this configuration. For example: `projects/*/global/networks/network-1`. Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY'.",
      "type": "string"
    },
    "selfLink": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. Server-defined URL of this resource"
    },
    "updateTime": {
      "format": "google-datetime",
      "description": "Output only. The timestamp when the resource was updated.",
      "readOnly": true,
      "type": "string"
    },
    "addresses": {
      "items": {
        "type": "string"
      },
      "description": "Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6.",
      "type": "array"
    },
    "certificateUrls": {
      "items": {
        "type": "string"
      },
      "description": "Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.",
      "type": "array"
    },
    "subnetwork": {
      "type": "string",
      "description": "Optional. The relative resource name identifying the subnetwork in which this SWG is allocated. For example: `projects/*/regions/us-central1/subnetworks/network-1` Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY\"."
    },
    "serverTlsPolicy": {
      "type": "string",
      "description": "Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled."
    },
    "gatewaySecurityPolicy": {
      "type": "string",
      "description": "Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security policy to inbound (VM to Proxy) initiated connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type 'SECURE_WEB_GATEWAY'."
    },
    "scope": {
      "type": "string",
      "description": "Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single configuration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens."
    },
    "labels": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "description": "Optional. Set of label tags associated with the Gateway resource."
    },
    "routingMode": {
      "description": "Optional. The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.",
      "type": "string",
      "enum": [
        "EXPLICIT_ROUTING_MODE",
        "NEXT_HOP_ROUTING_MODE"
      ]
    },
    "ipVersion": {
      "type": "string",
      "enum": [
        "IP_VERSION_UNSPECIFIED",
        "IPV4",
        "IPV6"
      ],
      "description": "Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4."
    },
    "name": {
      "description": "Identifier. Name of the Gateway resource. It matches pattern `projects/*/locations/*/gateways/`.",
      "type": "string"
    },
    "envoyHeaders": {
      "description": "Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.",
      "type": "string",
      "enum": [
        "ENVOY_HEADERS_UNSPECIFIED",
        "NONE",
        "DEBUG_HEADERS"
      ]
    }
  }
}

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-service-mesh-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.