Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option.
Option for one data schema key.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aggregate_method
def aggregate_method() -> ::Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod
Returns
- (::Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod) — Aggregate method for the current data schema key.
#aggregate_method=
def aggregate_method=(value) -> ::Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod
Parameter
- value (::Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod) — Aggregate method for the current data schema key.
Returns
- (::Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod) — Aggregate method for the current data schema key.
#data_schema_key
def data_schema_key() -> ::String
Returns
- (::String) — The data used to sort.
#data_schema_key=
def data_schema_key=(value) -> ::String
Parameter
- value (::String) — The data used to sort.
Returns
- (::String) — The data used to sort.
#sort_decreasing
def sort_decreasing() -> ::Boolean
Returns
- (::Boolean) — Whether to sort in decreasing order or increasing order. By default, results are sorted in incresing order.
#sort_decreasing=
def sort_decreasing=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to sort in decreasing order or increasing order. By default, results are sorted in incresing order.
Returns
- (::Boolean) — Whether to sort in decreasing order or increasing order. By default, results are sorted in incresing order.