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.
325 326 327 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 325 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric_name ⇒ String
The API name of the metric. See Data Access Schema for the list of
metrics supported in this API. Metrics are referenced by name in metricFilter
& orderBys
.
Corresponds to the JSON property metricName
323 324 325 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 323 def metric_name @metric_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
330 331 332 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 330 def update!(**args) @metric_name = args[:metric_name] if args.key?(:metric_name) end |