Show / Hide Table of Contents

Class StringMatcher

Specifies the way to match a string. [#next-free-field: 7]

Inheritance
object
StringMatcher
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.TrafficDirectorService.v2.Data
Assembly: Google.Apis.TrafficDirectorService.v2.dll
Syntax
public class StringMatcher : IDirectResponseSchema

Properties

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

Regex

The input string must match the regular expression specified here. The regex grammar is defined here _. Examples: * The regex \d{3} matches the value 123 * The regex \d{3} does not match the value 1234 * The regex \d{3} does not match the value 123.456 .. attention:: This field has been deprecated in favor of safe_regex as it is not safe for use with untrusted input in all cases.

Declaration
[JsonProperty("regex")]
public virtual string Regex { 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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX