Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Option.
Option for one data schema key.
Generated from protobuf message google.cloud.visionai.v1.SchemaKeySortingStrategy.Option
Namespace
Google \ Cloud \ VisionAI \ V1 \ SchemaKeySortingStrategyMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ data_schema_key
string
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
int
Aggregate method for the current data schema key.
getDataSchemaKey
The data used to sort.
string
setDataSchemaKey
The data used to sort.
var
string
$this
getSortDecreasing
Whether to sort in decreasing order or increasing order.
By default, results are sorted in incresing order.
bool
setSortDecreasing
Whether to sort in decreasing order or increasing order.
By default, results are sorted in incresing order.
var
bool
$this
getAggregateMethod
Aggregate method for the current data schema key.
int
hasAggregateMethod
clearAggregateMethod
setAggregateMethod
Aggregate method for the current data schema key.
var
int
$this

