StringMatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)Specifies matching logic for string values.
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 |
exact |
str
Optional. The input string must match exactly the string specified here. Examples: - abc only matches the value abc.
This field is a member of oneof_ match_pattern.
|
prefix |
str
Optional. The input string must have the prefix specified here. Note: empty prefix is not allowed. Examples: - abc matches the value abc.xyz
This field is a member of oneof_ match_pattern.
|
suffix |
str
Optional. The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: - abc matches the value xyz.abc
This field is a member of oneof_ match_pattern.
|
contains |
str
Optional. The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: - abc matches the value xyz.abc.def
This field is a member of oneof_ match_pattern.
|
ignore_case |
bool
Optional. If true, indicates the exact/prefix/suffix/contains matching should be case insensitive. For example, the matcher data will match
both input string Data and data if set to true.
|