Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessMetric
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessMetric
- 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
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) ⇒ GoogleAnalyticsAdminV1betaAccessMetric
constructor
A new instance of GoogleAnalyticsAdminV1betaAccessMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessMetric
Returns a new instance of GoogleAnalyticsAdminV1betaAccessMetric.
287 288 289 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 287 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
285 286 287 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 285 def metric_name @metric_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
292 293 294 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 292 def update!(**args) @metric_name = args[:metric_name] if args.key?(:metric_name) end |