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

View Source

Specifications to match a query parameter in the request.

Attributes

  • exactMatch (type: String.t, default: nil) - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
  • presentMatch (type: boolean(), default: nil) - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
  • queryParameter (type: String.t, default: nil) - The name of the query parameter to match.
  • regexMatch (type: String.t, default: nil) - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.HttpRouteQueryParameterMatch{
  exactMatch: String.t() | nil,
  presentMatch: boolean() | nil,
  queryParameter: String.t() | nil,
  regexMatch: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.