Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::TlsRoute::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::TlsRoute::RouteDestination>
Returns
- (::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>) — Required. The destination services to which traffic should be forwarded. At least one destination service is required.
#destinations=
def destinations=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>
Parameter
- value (::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>) — Required. The destination services to which traffic should be forwarded. At least one destination service is required.
Returns
- (::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>) — Required. The destination services to which traffic should be forwarded. At least one destination service is required.
#idle_timeout
def idle_timeout() -> ::Google::Protobuf::Duration
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 1 hour. If set to 0s, the timeout will be disabled.
#idle_timeout=
def idle_timeout=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::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 1 hour. 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 1 hour. If set to 0s, the timeout will be disabled.