String matcher

    Specifies the way to match a string.

    exact

    (string) The input string must match exactly the string specified here.

    Examples:

    Precisely one of , prefix, , safe_regex, must be set.

    prefix

    (string) The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead.

    Examples:

    • abc matches the value abc.xyz

    suffix

    () 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

    Precisely one of exact, , suffix, , contains must be set.

    safe_regex

    () The input string must match the regular expression specified here.

    Precisely one of exact, , suffix, , contains must be set.

    contains

    Examples:

    Precisely one of , prefix, , safe_regex, must be set.

    ignore_case

    (bool) If true, indicates the exact/prefix/suffix/contains matching should be case insensitive. This has no effect for the safe_regex match. For example, the matcher data will match both input string Data and data if set to true.

    type.matcher.v3.ListStringMatcher

    [type.matcher.v3.ListStringMatcher proto]

    Specifies a list of ways to match a string.

    patterns

    (repeated , REQUIRED)