Represents a predicate.
| JSON representation |
|---|
{ "type" : enum ( |
type
enum (
ConditionType
)
The type of operator for this condition.
parameter[]
object (
Parameter
)
A list of named parameters (key/value), depending on the condition's type. Notes:
- For binary operators, include parameters named
arg0and
arg1for specifying the left and right operands, respectively.
- At this time, the left operand (
arg0) must be a reference to a variable.
- For case-insensitive Regex matching, include a boolean parameter named
ignore_casethat is set to
true. If not specified or set to any other value, the matching will be case sensitive.
- To negate an operator, include a boolean parameter named
negateboolean parameter that is set to
true.
ConditionType
| Enums | |
|---|---|
conditionTypeUnspecified
|
|
equals
|
|
contains
|
|
startsWith
|
|
endsWith
|
|
matchRegex
|
|
greater
|
|
greaterOrEquals
|
|
less
|
|
lessOrEquals
|
|
cssSelector
|
|
urlMatches
|
|

