Google Cloud Network Services V1 Client - Class RoutingMode (0.5.0)

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:

  • EXPLICIT_ROUTING_MODE
  • NEXT_HOP_ROUTING_MODE

Protobuf type google.cloud.networkservices.v1.Gateway.RoutingMode

Namespace

Google \ Cloud \ NetworkServices \ V1 \ Gateway

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

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.

Generated from protobuf enum EXPLICIT_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 enum NEXT_HOP_ROUTING_MODE = 1;