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

View Source

Describes how to route traffic.

Attributes

  • action (type: GoogleApi.NetworkServices.V1.Model.GrpcRouteRouteAction.t, default: nil) - Required. A detailed rule defining how to route traffic. This field is required.
  • matches (type: list(GoogleApi.NetworkServices.V1.Model.GrpcRouteRouteMatch.t), default: nil) - Optional. Matches define conditions used for matching the rule against incoming gRPC requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches 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.GrpcRouteRouteRule{
  action: GoogleApi.NetworkServices.V1.Model.GrpcRouteRouteAction.t() | nil,
  matches: [GoogleApi.NetworkServices.V1.Model.GrpcRouteRouteMatch.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.