Vision AI V1 API - Class Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option (v0.2.0)

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

#aggregate_method=

def aggregate_method=(value) -> ::Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod
Parameter
Returns

#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.