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:



126
127
128
129
# File 'proto_docs/google/cloud/networkservices/v1/tcp_route.rb', line 126

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

#idle_timeout::Google::Protobuf::Duration

Returns Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 30 seconds. If set to 0s, the timeout will be disabled.

Returns:

  • (::Google::Protobuf::Duration)

    Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 30 seconds. If set to 0s, the timeout will be disabled.



126
127
128
129
# File 'proto_docs/google/cloud/networkservices/v1/tcp_route.rb', line 126

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.



126
127
128
129
# File 'proto_docs/google/cloud/networkservices/v1/tcp_route.rb', line 126

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