Class HttpQueryParameterMatch (0.4.2)

HttpQueryParameterMatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)

HttpRouteRuleMatch criteria for a request's query parameter. .. attribute:: exact_match

The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch or regexMatch must be set.

:type: str

Attributes

NameDescription
name str
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
present_match bool
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch or regexMatch must be set.
regex_match str
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For the regular expression grammar, please see github.com/google/re2/wiki/Syntax Only one of presentMatch, exactMatch or regexMatch must be set. Note that regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.