Class StringMatcher
Specifies the way to match a string. [#next-free-field: 9]
Implements
Inherited Members
Namespace: Google.Apis.TrafficDirectorService.v3.Data
Assembly: Google.Apis.TrafficDirectorService.v3.dll
Syntax
public class StringMatcher : IDirectResponseSchema
Properties
Contains
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
Declaration
[JsonProperty("contains")]
public virtual string Contains { get; set; }
Property Value
Type | Description |
---|---|
string |
Custom
Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
Declaration
[JsonProperty("custom")]
public virtual TypedExtensionConfig Custom { get; set; }
Property Value
Type | Description |
---|---|
TypedExtensionConfig |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Exact
The input string must match exactly the string specified here. Examples: * abc
only matches the value
abc
.
Declaration
[JsonProperty("exact")]
public virtual string Exact { get; set; }
Property Value
Type | Description |
---|---|
string |
IgnoreCase
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.
Declaration
[JsonProperty("ignoreCase")]
public virtual bool? IgnoreCase { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Prefix
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
Declaration
[JsonProperty("prefix")]
public virtual string Prefix { get; set; }
Property Value
Type | Description |
---|---|
string |
SafeRegex
The input string must match the regular expression specified here.
Declaration
[JsonProperty("safeRegex")]
public virtual RegexMatcher SafeRegex { get; set; }
Property Value
Type | Description |
---|---|
RegexMatcher |
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
Declaration
[JsonProperty("suffix")]
public virtual string Suffix { get; set; }
Property Value
Type | Description |
---|---|
string |