Class HttpQueryParameterMatch (1.16.1)

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

HttpRouteRuleMatch criteria for a request's query parameter.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
exact_match str
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. This field is a member of oneof_ _exact_match.
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. This field is a member of oneof_ _name.
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. This field is a member of oneof_ _present_match.
regex_match str
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. This field is a member of oneof_ _regex_match.