Google Cloud Ai Platform V1 Client - Class Operator (1.7.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Operator.

Which comparison operator to use. Should be specified for queries only; specifying this for a datapoint is an error.

Datapoints for which Operator is true relative to the query's Value field will be allowlisted.

Protobuf type google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator

Namespace

Google \ Cloud \ AIPlatform \ V1 \ IndexDatapoint \ NumericRestriction

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

OPERATOR_UNSPECIFIED

Value: 0

Default value of the enum.

Generated from protobuf enum OPERATOR_UNSPECIFIED = 0;

LESS

Value: 1

Datapoints are eligible iff their value is < the query's.

Generated from protobuf enum LESS = 1;

LESS_EQUAL

Value: 2

Datapoints are eligible iff their value is <= the query's.

Generated from protobuf enum LESS_EQUAL = 2;

EQUAL

Value: 3

Datapoints are eligible iff their value is == the query's.

Generated from protobuf enum EQUAL = 3;

GREATER_EQUAL

Value: 4

Datapoints are eligible iff their value is >= the query's.

Generated from protobuf enum GREATER_EQUAL = 4;

GREATER

Value: 5

Datapoints are eligible iff their value is > the query's.

Generated from protobuf enum GREATER = 5;

NOT_EQUAL

Value: 6

Datapoints are eligible iff their value is != the query's.

Generated from protobuf enum NOT_EQUAL = 6;