Reference documentation and code samples for the Network Services V1BETA1 API class Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch.
Specifies matching logic for string values.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#contains
def contains() -> ::String-
(::String) — Optional. The input string must have the substring specified here.
Note: empty contains match is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc.def
Note: The following fields are mutually exclusive:
contains,exact,prefix,suffix. If a field in that set is populated, all other fields in the set will automatically be cleared.
#contains=
def contains=(value) -> ::String-
value (::String) — Optional. The input string must have the substring specified here.
Note: empty contains match is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc.def
Note: The following fields are mutually exclusive:
contains,exact,prefix,suffix. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. The input string must have the substring specified here.
Note: empty contains match is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc.def
Note: The following fields are mutually exclusive:
contains,exact,prefix,suffix. If a field in that set is populated, all other fields in the set will automatically be cleared.
#exact
def exact() -> ::String-
(::String) — Optional. The input string must match exactly the string specified
here.
Examples:
abconly matches the valueabc.
Note: The following fields are mutually exclusive:
exact,prefix,suffix,contains. If a field in that set is populated, all other fields in the set will automatically be cleared.
#exact=
def exact=(value) -> ::String-
value (::String) — Optional. The input string must match exactly the string specified
here.
Examples:
abconly matches the valueabc.
Note: The following fields are mutually exclusive:
exact,prefix,suffix,contains. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. The input string must match exactly the string specified
here.
Examples:
abconly matches the valueabc.
Note: The following fields are mutually exclusive:
exact,prefix,suffix,contains. If a field in that set is populated, all other fields in the set will automatically be cleared.
#ignore_case
def ignore_case() -> ::Boolean-
(::Boolean) — Optional. If true, indicates the exact/prefix/suffix/contains matching
should be case insensitive. For example, the matcher
datawill match both input stringDataanddataif set to true.
#ignore_case=
def ignore_case=(value) -> ::Boolean-
value (::Boolean) — Optional. If true, indicates the exact/prefix/suffix/contains matching
should be case insensitive. For example, the matcher
datawill match both input stringDataanddataif set to true.
-
(::Boolean) — Optional. If true, indicates the exact/prefix/suffix/contains matching
should be case insensitive. For example, the matcher
datawill match both input stringDataanddataif set to true.
#prefix
def prefix() -> ::String-
(::String) — Optional. The input string must have the prefix specified here.
Note: empty prefix is not allowed.
Examples:
abcmatches the valueabc.xyz
Note: The following fields are mutually exclusive:
prefix,exact,suffix,contains. If a field in that set is populated, all other fields in the set will automatically be cleared.
#prefix=
def prefix=(value) -> ::String-
value (::String) — Optional. The input string must have the prefix specified here.
Note: empty prefix is not allowed.
Examples:
abcmatches the valueabc.xyz
Note: The following fields are mutually exclusive:
prefix,exact,suffix,contains. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. The input string must have the prefix specified here.
Note: empty prefix is not allowed.
Examples:
abcmatches the valueabc.xyz
Note: The following fields are mutually exclusive:
prefix,exact,suffix,contains. If a field in that set is populated, all other fields in the set will automatically be cleared.
#suffix
def suffix() -> ::String-
(::String) — Optional. The input string must have the suffix specified here.
Note: empty prefix is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc
Note: The following fields are mutually exclusive:
suffix,exact,prefix,contains. If a field in that set is populated, all other fields in the set will automatically be cleared.
#suffix=
def suffix=(value) -> ::String-
value (::String) — Optional. The input string must have the suffix specified here.
Note: empty prefix is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc
Note: The following fields are mutually exclusive:
suffix,exact,prefix,contains. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. The input string must have the suffix specified here.
Note: empty prefix is not allowed, please use regex instead.
Examples:
abcmatches the valuexyz.abc
Note: The following fields are mutually exclusive:
suffix,exact,prefix,contains. If a field in that set is populated, all other fields in the set will automatically be cleared.