class Google::Apis::CloudsearchV1::SortOptions

Attributes

operator_name[RW]

Name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable. Corresponds to the JSON property `operatorName` @return [String]

sort_order[RW]

Ascending is the default sort order Corresponds to the JSON property `sortOrder` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 4415
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 4420
def update!(**args)
  @operator_name = args[:operator_name] if args.key?(:operator_name)
  @sort_order = args[:sort_order] if args.key?(:sort_order)
end