Reference documentation and code samples for the Network Services V1 API module Google::Cloud::NetworkServices::V1::Gateway::RoutingMode.
The routing mode of the Gateway, to determine how the Gateway routes
traffic. Today, this field only applies to Gateways of type
SECURE_WEB_GATEWAY. Possible values are:
EXPLICIT_ROUTING_MODE
NEXT_HOP_ROUTING_MODE
Constants
EXPLICIT_ROUTING_MODE
value: 0 The routing mode is explicit; clients are configured to send
traffic through the gateway. This is the default routing mode.
NEXT_HOP_ROUTING_MODE
value: 1 The routing mode is next-hop. Clients are unaware of the gateway,
and a route (advanced route or other route type)
can be configured to direct traffic from client to gateway.
The gateway then acts as a next-hop to the destination.
[[["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-08-28 UTC."],[],[],null,["# Network Services V1 API - Module Google::Cloud::NetworkServices::V1::Gateway::RoutingMode (v2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-Gateway-RoutingMode)\n- [2.3.0](/ruby/docs/reference/google-cloud-network_services-v1/2.3.0/Google-Cloud-NetworkServices-V1-Gateway-RoutingMode)\n- [2.2.0](/ruby/docs/reference/google-cloud-network_services-v1/2.2.0/Google-Cloud-NetworkServices-V1-Gateway-RoutingMode)\n- [2.1.0](/ruby/docs/reference/google-cloud-network_services-v1/2.1.0/Google-Cloud-NetworkServices-V1-Gateway-RoutingMode)\n- [2.0.1](/ruby/docs/reference/google-cloud-network_services-v1/2.0.1/Google-Cloud-NetworkServices-V1-Gateway-RoutingMode)\n- [1.2.0](/ruby/docs/reference/google-cloud-network_services-v1/1.2.0/Google-Cloud-NetworkServices-V1-Gateway-RoutingMode)\n- [1.1.0](/ruby/docs/reference/google-cloud-network_services-v1/1.1.0/Google-Cloud-NetworkServices-V1-Gateway-RoutingMode)\n- [1.0.1](/ruby/docs/reference/google-cloud-network_services-v1/1.0.1/Google-Cloud-NetworkServices-V1-Gateway-RoutingMode)\n- [0.2.0](/ruby/docs/reference/google-cloud-network_services-v1/0.2.0/Google-Cloud-NetworkServices-V1-Gateway-RoutingMode)\n- [0.1.0](/ruby/docs/reference/google-cloud-network_services-v1/0.1.0/Google-Cloud-NetworkServices-V1-Gateway-RoutingMode) \nReference documentation and code samples for the Network Services V1 API module Google::Cloud::NetworkServices::V1::Gateway::RoutingMode.\n\nThe routing mode of the Gateway, to determine how the Gateway routes\ntraffic. Today, this field only applies to Gateways of type\nSECURE_WEB_GATEWAY. Possible values are:\n\n- EXPLICIT_ROUTING_MODE\n- NEXT_HOP_ROUTING_MODE\n\nConstants\n---------\n\n### EXPLICIT_ROUTING_MODE\n\n**value:** 0 \nThe routing mode is explicit; clients are configured to send\ntraffic through the gateway. This is the default routing mode.\n\n### NEXT_HOP_ROUTING_MODE\n\n**value:** 1 \nThe routing mode is next-hop. Clients are unaware of the gateway,\nand a route (advanced route or other route type)\ncan be configured to direct traffic from client to gateway.\nThe gateway then acts as a next-hop to the destination."]]