Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
Sorts by metric values.
Instance Attribute Summary collapse
-
#metric_name ⇒ String
A metric name in the request to order by.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
constructor
A new instance of GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
Returns a new instance of GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy.
470 471 472 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 470 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric_name ⇒ String
A metric name in the request to order by.
Corresponds to the JSON property metricName
468 469 470 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 468 def metric_name @metric_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
475 476 477 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 475 def update!(**args) @metric_name = args[:metric_name] if args.key?(:metric_name) end |