Class: Google::Apis::DfareportingV2_8::SortedDimension
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_8::SortedDimension
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/representations.rb
Overview
Represents a sorted dimension.
Instance Attribute Summary collapse
-
#kind ⇒ String
The kind of resource this is, in this case dfareporting#sortedDimension.
-
#name ⇒ String
The name of the dimension.
-
#sort_order ⇒ String
An optional sort order for the dimension column.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SortedDimension
constructor
A new instance of SortedDimension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SortedDimension
Returns a new instance of SortedDimension
10883 10884 10885 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 10883 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
The kind of resource this is, in this case dfareporting#sortedDimension.
Corresponds to the JSON property kind
10871 10872 10873 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 10871 def kind @kind end |
#name ⇒ String
The name of the dimension.
Corresponds to the JSON property name
10876 10877 10878 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 10876 def name @name end |
#sort_order ⇒ String
An optional sort order for the dimension column.
Corresponds to the JSON property sortOrder
10881 10882 10883 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 10881 def sort_order @sort_order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10888 10889 10890 10891 10892 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 10888 def update!(**args) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @sort_order = args[:sort_order] if args.key?(:sort_order) end |