View Source GoogleApi.NetworkSecurity.V1.Model.HttpHeaderMatch (google_api_network_security v0.6.0)

Specification of HTTP header match attributes.

Attributes

  • headerName (type: String.t, default: nil) - Required. The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method".
  • regexMatch (type: String.t, default: nil) - Required. The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to Host and a regular expression that satisfies the RFC2616 Host header's port specifier.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.NetworkSecurity.V1.Model.HttpHeaderMatch{
  headerName: String.t() | nil,
  regexMatch: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.