Class QueryParameterMatch (0.5.10)

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

Specifications to match a query parameter in the request.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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

Attributes

NameDescription
exact_match str
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. This field is a member of oneof_ MatchType.
regex_match str
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. This field is a member of oneof_ MatchType.
present_match bool
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. This field is a member of oneof_ MatchType.
query_parameter str
The name of the query parameter to match.