Class: Google::Cloud::NetworkServices::V1::TcpRoute::RouteAction

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkservices/v1/tcp_route.rb

Overview

The specifications for routing traffic and applying associated policies.

Instance Attribute Summary collapse

Instance Attribute Details

#destinations::Array<::Google::Cloud::NetworkServices::V1::TcpRoute::RouteDestination>

Returns Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set.

Returns:



121
122
123
124
# File 'proto_docs/google/cloud/networkservices/v1/tcp_route.rb', line 121

class RouteAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#original_destination::Boolean

Returns 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.



121
122
123
124
# File 'proto_docs/google/cloud/networkservices/v1/tcp_route.rb', line 121

class RouteAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end