Class: Google::Apis::DfareportingV2_1::SortedDimension
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::SortedDimension
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_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::Hashable
Constructor Details
#initialize(**args) ⇒ SortedDimension
Returns a new instance of SortedDimension
9959 9960 9961 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9959 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
9947 9948 9949 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9947 def kind @kind end |
#name ⇒ String
The name of the dimension.
Corresponds to the JSON property name
9952 9953 9954 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9952 def name @name end |
#sort_order ⇒ String
An optional sort order for the dimension column.
Corresponds to the JSON property sortOrder
9957 9958 9959 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9957 def sort_order @sort_order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9964 9965 9966 9967 9968 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9964 def update!(**args) @kind = args[:kind] unless args[:kind].nil? @name = args[:name] unless args[:name].nil? @sort_order = args[:sort_order] unless args[:sort_order].nil? end |