Network Services V1 API - Class Google::Cloud::NetworkServices::V1::TcpRoute::RouteAction (v0.2.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::TcpRoute::RouteAction.

The specifications for routing traffic and applying associated policies.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#destinations

def destinations() -> ::Array<::Google::Cloud::NetworkServices::V1::TcpRoute::RouteDestination>
Returns

#destinations=

def destinations=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::TcpRoute::RouteDestination>
Parameter
Returns

#original_destination

def original_destination() -> ::Boolean
Returns
  • (::Boolean) — Optional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. Only one of route destinations or original destination can be set.

#original_destination=

def original_destination=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. Only one of route destinations or original destination can be set.
Returns
  • (::Boolean) — Optional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. Only one of route destinations or original destination can be set.