Vision AI V1 API - Module Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod (v0.1.0)

Reference documentation and code samples for the Vision AI V1 API module Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::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.

Constants

AGGREGATE_METHOD_UNSPECIFIED

value: 0
The unspecified aggregate method will be overwritten as mentioned above.

AGGREGATE_METHOD_LARGEST

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

AGGREGATE_METHOD_SMALLEST

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