Class: Google::Apis::AnalyticsdataV1alpha::DimensionOrderBy
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::DimensionOrderBy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb
Overview
Sorts by dimension values.
Instance Attribute Summary collapse
-
#dimension_name ⇒ String
A dimension name in the request to order by.
-
#order_type ⇒ String
Controls the rule for dimension value ordering.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionOrderBy
constructor
A new instance of DimensionOrderBy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DimensionOrderBy
Returns a new instance of DimensionOrderBy.
536 537 538 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_name ⇒ String
A dimension name in the request to order by.
Corresponds to the JSON property dimensionName
529 530 531 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 529 def dimension_name @dimension_name end |
#order_type ⇒ String
Controls the rule for dimension value ordering.
Corresponds to the JSON property orderType
534 535 536 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 534 def order_type @order_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
541 542 543 544 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 541 def update!(**args) @dimension_name = args[:dimension_name] if args.key?(:dimension_name) @order_type = args[:order_type] if args.key?(:order_type) end |