google.ai.generativelanguage.Condition.Operator

Defines the valid operators that can be applied to a key-value pair.

OPERATOR_UNSPECIFIED 0

The default value. This value is unused.

LESS 1

Supported by numeric.

LESS_EQUAL 2

Supported by numeric.

EQUAL 3

Supported by numeric & string.

GREATER_EQUAL 4

Supported by numeric.

GREATER 5

Supported by numeric.

NOT_EQUAL 6

Supported by numeric & string.

INCLUDES 7

Supported by string only when CustomMetadata value type for the given key has a string_list_value.

EXCLUDES 8

Supported by string only when CustomMetadata value type for the given key has a string_list_value.

EQUAL <Operator.EQUAL: 3>
EXCLUDES <Operator.EXCLUDES: 8>
GREATER <Operator.GREATER: 5>
GREATER_EQUAL <Operator.GREATER_EQUAL: 4>
INCLUDES <Operator.INCLUDES: 7>
LESS <Operator.LESS: 1>
LESS_EQUAL <Operator.LESS_EQUAL: 2>
NOT_EQUAL <Operator.NOT_EQUAL: 6>
OPERATOR_UNSPECIFIED <Operator.OPERATOR_UNSPECIFIED: 0>