GoogleApi.NetworkServices.V1.Model.HttpRouteHeaderMatch (google_api_network_services v0.11.0)
View SourceSpecifies how to select a route rule based on HTTP request headers.
Attributes
-
exactMatch
(type:String.t
, default:nil
) - The value of the header should match exactly the content of exact_match. -
header
(type:String.t
, default:nil
) - The name of the HTTP header to match against. -
invertMatch
(type:boolean()
, default:nil
) - If specified, the match result will be inverted before checking. Default value is set to false. -
prefixMatch
(type:String.t
, default:nil
) - The value of the header must start with the contents of prefix_match. -
presentMatch
(type:boolean()
, default:nil
) - A header with header_name must exist. The match takes place whether or not the header has a value. -
rangeMatch
(type:GoogleApi.NetworkServices.V1.Model.HttpRouteHeaderMatchIntegerRange.t
, default:nil
) - If specified, the rule will match if the request header value is within the range. -
regexMatch
(type:String.t
, default:nil
) - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax -
suffixMatch
(type:String.t
, default:nil
) - The value of the header must end with the contents of suffix_match.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.NetworkServices.V1.Model.HttpRouteHeaderMatch{ exactMatch: String.t() | nil, header: String.t() | nil, invertMatch: boolean() | nil, prefixMatch: String.t() | nil, presentMatch: boolean() | nil, rangeMatch: GoogleApi.NetworkServices.V1.Model.HttpRouteHeaderMatchIntegerRange.t() | nil, regexMatch: String.t() | nil, suffixMatch: String.t() | nil }