Google Cloud Vision Ai V1 Client - Class AggregateMethod (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class AggregateMethod.

When one result has multiple values with the same key, specify which value is used to sort. By default, AGGREGATE_METHOD_LARGEST is used when results are sorted in decreasing order, AGGREGATE_METHOD_SMALLEST is used when results are sorted in incresing order.

Protobuf type google.cloud.visionai.v1.SchemaKeySortingStrategy.Option.AggregateMethod

Namespace

Google \ Cloud \ VisionAI \ V1 \ SchemaKeySortingStrategy \ Option

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

AGGREGATE_METHOD_UNSPECIFIED

Value: 0

The unspecified aggregate method will be overwritten as mentioned above.

Generated from protobuf enum AGGREGATE_METHOD_UNSPECIFIED = 0;

AGGREGATE_METHOD_LARGEST

Value: 1

Take the (lexicographical or numerical) largest value to sort.

Generated from protobuf enum AGGREGATE_METHOD_LARGEST = 1;

AGGREGATE_METHOD_SMALLEST

Value: 2

Take the (lexicographical or numerical) smallest value to sort.

Generated from protobuf enum AGGREGATE_METHOD_SMALLEST = 2;