Reference documentation and code samples for the Google Cloud Network Services V1 Client class 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:
The routing mode is explicit; clients are configured to send
traffic through the gateway. This is the default routing mode.
Generated from protobuf enumEXPLICIT_ROUTING_MODE = 0;
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.
Generated from protobuf enumNEXT_HOP_ROUTING_MODE = 1;
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Network Services V1 Client - Class RoutingMode (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-networkservices/latest/V1.Gateway.RoutingMode)\n- [0.6.0](/php/docs/reference/cloud-networkservices/0.6.0/V1.Gateway.RoutingMode)\n- [0.5.0](/php/docs/reference/cloud-networkservices/0.5.0/V1.Gateway.RoutingMode)\n- [0.4.0](/php/docs/reference/cloud-networkservices/0.4.0/V1.Gateway.RoutingMode)\n- [0.3.0](/php/docs/reference/cloud-networkservices/0.3.0/V1.Gateway.RoutingMode)\n- [0.2.3](/php/docs/reference/cloud-networkservices/0.2.3/V1.Gateway.RoutingMode)\n- [0.1.1](/php/docs/reference/cloud-networkservices/0.1.1/V1.Gateway.RoutingMode) \nReference documentation and code samples for the Google Cloud Network Services V1 Client class 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\nProtobuf type `google.cloud.networkservices.v1.Gateway.RoutingMode`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkServices \\\\ V1 \\\\ Gateway\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### EXPLICIT_ROUTING_MODE\n\n Value: 0\n\nThe routing mode is explicit; clients are configured to send\ntraffic through the gateway. This is the default routing mode.\n\nGenerated from protobuf enum `EXPLICIT_ROUTING_MODE = 0;`\n\n### NEXT_HOP_ROUTING_MODE\n\n Value: 1\n\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.\n\nThe gateway then acts as a next-hop to the destination.\n\nGenerated from protobuf enum `NEXT_HOP_ROUTING_MODE = 1;`"]]