GoogleApi.NetworkServices.V1.Model.TcpRouteRouteAction (google_api_network_services v0.11.0)

View Source

The specifications for routing traffic and applying associated policies.

Attributes

  • destinations (type: list(GoogleApi.NetworkServices.V1.Model.TcpRouteRouteDestination.t), default: nil) - 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.
  • idleTimeout (type: String.t, default: nil) - 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.
  • originalDestination (type: boolean(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.TcpRouteRouteAction{
  destinations:
    [GoogleApi.NetworkServices.V1.Model.TcpRouteRouteDestination.t()] | nil,
  idleTimeout: String.t() | nil,
  originalDestination: boolean() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.