Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric
- 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
The quantitative measurements of a report. For example, the metric
accessCount is the total number of data access records.
Instance Attribute Summary collapse
-
#metric_name ⇒ String
The API name of the metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessMetric
constructor
A new instance of GoogleAnalyticsAdminV1alphaAccessMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessMetric
Returns a new instance of GoogleAnalyticsAdminV1alphaAccessMetric.
283 284 285 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric_name ⇒ String
The API name of the metric. Metrics are referenced by name in metricFilter &
orderBys.
Corresponds to the JSON property metricName
281 282 283 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 281 def metric_name @metric_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
288 289 290 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 288 def update!(**args) @metric_name = args[:metric_name] if args.key?(:metric_name) end |