class Google::Apis::AnalyticsdataV1beta::OrderBy
The sort options.
Attributes
desc[RW]
If true, sorts by descending order. Corresponds to the JSON property `desc` @return [Boolean]
desc?[RW]
If true, sorts by descending order. Corresponds to the JSON property `desc` @return [Boolean]
dimension[RW]
Sorts by dimension values. Corresponds to the JSON property `dimension` @return [Google::Apis::AnalyticsdataV1beta::DimensionOrderBy]
metric[RW]
Sorts by metric values. Corresponds to the JSON property `metric` @return [Google::Apis::AnalyticsdataV1beta::MetricOrderBy]
pivot[RW]
Sorts by a pivot column group. Corresponds to the JSON property `pivot` @return [Google::Apis::AnalyticsdataV1beta::PivotOrderBy]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 1168 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 1173 def update!(**args) @desc = args[:desc] if args.key?(:desc) @dimension = args[:dimension] if args.key?(:dimension) @metric = args[:metric] if args.key?(:metric) @pivot = args[:pivot] if args.key?(:pivot) end