Class ValueMatcher
Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 8]
Implements
Inherited Members
Namespace: Google.Apis.TrafficDirectorService.v3.Data
Assembly: Google.Apis.TrafficDirectorService.v3.dll
Syntax
public class ValueMatcher : IDirectResponseSchema
Properties
BoolMatch
If specified, a match occurs if and only if the target value is a bool value and is equal to this field.
Declaration
[JsonProperty("boolMatch")]
public virtual bool? BoolMatch { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DoubleMatch
If specified, a match occurs if and only if the target value is a double value and is matched to this field.
Declaration
[JsonProperty("doubleMatch")]
public virtual DoubleMatcher DoubleMatch { get; set; }
Property Value
Type | Description |
---|---|
DoubleMatcher |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ListMatch
If specified, a match occurs if and only if the target value is a list value and is matched to this field.
Declaration
[JsonProperty("listMatch")]
public virtual ListMatcher ListMatch { get; set; }
Property Value
Type | Description |
---|---|
ListMatcher |
NullMatch
If specified, a match occurs if and only if the target value is a NullValue.
Declaration
[JsonProperty("nullMatch")]
public virtual NullMatch NullMatch { get; set; }
Property Value
Type | Description |
---|---|
NullMatch |
OrMatch
If specified, a match occurs if and only if any of the alternatives in the match accept the value.
Declaration
[JsonProperty("orMatch")]
public virtual OrMatcher OrMatch { get; set; }
Property Value
Type | Description |
---|---|
OrMatcher |
PresentMatch
If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata. If the path is referring to a non-primitive value, the result is always not matched.
Declaration
[JsonProperty("presentMatch")]
public virtual bool? PresentMatch { get; set; }
Property Value
Type | Description |
---|---|
bool? |
StringMatch
If specified, a match occurs if and only if the target value is a string value and is matched to this field.
Declaration
[JsonProperty("stringMatch")]
public virtual StringMatcher StringMatch { get; set; }
Property Value
Type | Description |
---|---|
StringMatcher |