# Network Services V1 API - Module Google::Cloud::NetworkServices::V1::Gateway::RoutingMode (v2.10.1)

2.10.1 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.2.0 0.1.0 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.