Class: Google::Apis::DoubleclicksearchV2::ReportRequest::OrderBy

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/doubleclicksearch_v2/classes.rb,
generated/google/apis/doubleclicksearch_v2/representations.rb,
generated/google/apis/doubleclicksearch_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrderBy

Returns a new instance of OrderBy



757
758
759
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 757

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#columnGoogle::Apis::DoubleclicksearchV2::ReportApiColumnSpec

A request object used to create a DoubleClick Search report. Corresponds to the JSON property column



750
751
752
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 750

def column
  @column
end

#sort_orderString

The sort direction, which is either ascending or descending. Corresponds to the JSON property sortOrder

Returns:

  • (String)


755
756
757
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 755

def sort_order
  @sort_order
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



762
763
764
765
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 762

def update!(**args)
  @column = args[:column] if args.key?(:column)
  @sort_order = args[:sort_order] if args.key?(:sort_order)
end