class Google::Apis::AnalyticsdataV1alpha::MetricOrderBy
Sorts by metric values.
Attributes
metric_name[RW]
A metric name in the request to order by. Corresponds to the JSON property `metricName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/analyticsdata_v1alpha/classes.rb, line 904 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_v1alpha/classes.rb, line 909 def update!(**args) @metric_name = args[:metric_name] if args.key?(:metric_name) end