Class: Google::Apis::DfareportingV3_1::SortedDimension
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_1::SortedDimension
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_1/classes.rb,
generated/google/apis/dfareporting_v3_1/representations.rb,
generated/google/apis/dfareporting_v3_1/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
11093 11094 11095 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11093 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
11081 11082 11083 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11081 def kind @kind end |
#name ⇒ String
The name of the dimension.
Corresponds to the JSON property name
11086 11087 11088 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11086 def name @name end |
#sort_order ⇒ String
An optional sort order for the dimension column.
Corresponds to the JSON property sortOrder
11091 11092 11093 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11091 def sort_order @sort_order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11098 11099 11100 11101 11102 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11098 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 |