Class: Google::Apis::DoubleclicksearchV2::ReportRequest::OrderBy
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclicksearchV2::ReportRequest::OrderBy
- 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
-
#column ⇒ Google::Apis::DoubleclicksearchV2::ReportApiColumnSpec
A request object used to create a DoubleClick Search report.
-
#sort_order ⇒ String
The sort direction, which is either
ascending
ordescending
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderBy
constructor
A new instance of OrderBy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrderBy
Returns a new instance of OrderBy.
756 757 758 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 756 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column ⇒ Google::Apis::DoubleclicksearchV2::ReportApiColumnSpec
A request object used to create a DoubleClick Search report.
Corresponds to the JSON property column
749 750 751 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 749 def column @column end |
#sort_order ⇒ String
The sort direction, which is either ascending
or descending
.
Corresponds to the JSON property sortOrder
754 755 756 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 754 def sort_order @sort_order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
761 762 763 764 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 761 def update!(**args) @column = args[:column] if args.key?(:column) @sort_order = args[:sort_order] if args.key?(:sort_order) end |