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

View Source

Specifies how to match traffic and how to route traffic when traffic is matched.

Attributes

  • action (type: GoogleApi.NetworkServices.V1.Model.TcpRouteRouteAction.t, default: nil) - Required. The detailed rule defining how to route matched traffic.
  • matches (type: list(GoogleApi.NetworkServices.V1.Model.TcpRouteRouteMatch.t), default: nil) - Optional. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.TcpRouteRouteRule{
  action: GoogleApi.NetworkServices.V1.Model.TcpRouteRouteAction.t() | nil,
  matches: [GoogleApi.NetworkServices.V1.Model.TcpRouteRouteMatch.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.