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

View Source

RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation.

Attributes

  • alpn (type: list(String.t), default: nil) - Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
  • sniHost (type: list(String.t), default: nil) - Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 100 sni hosts across all matches can be set.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.TlsRouteRouteMatch{
  alpn: [String.t()] | nil,
  sniHost: [String.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.