GoogleApi.NetworkServices.V1.Model.TlsRouteRouteRule (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.TlsRouteRouteAction.t, default: nil) - Required. The detailed rule defining how to route matched traffic.
  • matches (type: list(GoogleApi.NetworkServices.V1.Model.TlsRouteRouteMatch.t), default: nil) - Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. Atleast one RouteMatch must be supplied.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.TlsRouteRouteRule{
  action: GoogleApi.NetworkServices.V1.Model.TlsRouteRouteAction.t() | nil,
  matches: [GoogleApi.NetworkServices.V1.Model.TlsRouteRouteMatch.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.