Class Option (0.1.0)

Option(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
data_schema_key str
The data used to sort.
sort_decreasing bool
Whether to sort in decreasing order or increasing order. By default, results are sorted in incresing order.
aggregate_method google.cloud.visionai_v1.types.SchemaKeySortingStrategy.Option.AggregateMethod
Aggregate method for the current data schema key. This field is a member of oneof_ _aggregate_method.

Classes

AggregateMethod

AggregateMethod(value)

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.