Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/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) ⇒ GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy
constructor
A new instance of GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy
Returns a new instance of GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy.
432 433 434 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 432 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
430 431 432 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 430 def metric_name @metric_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
437 438 439 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 437 def update!(**args) @metric_name = args[:metric_name] if args.key?(:metric_name) end |