RouteMatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)
RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched.
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 | |
---|---|
Name | Description |
full_path_match |
str
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used. This field is a member of oneof _ PathMatch .
|
prefix_match |
str
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used. This field is a member of oneof _ PathMatch .
|
regex_match |
str
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used. This field is a member of oneof _ PathMatch .
|
ignore_case |
bool
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false. |
headers |
Sequence[google.cloud.network_services_v1.types.HttpRoute.HeaderMatch]
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched. |
query_parameters |
Sequence[google.cloud.network_services_v1.types.HttpRoute.QueryParameterMatch]
Specifies a list of query parameters to match against. ALL of the query parameters must be matched. |