Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessMetricHeader
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessMetricHeader
- 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
Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.
Instance Attribute Summary collapse
-
#metric_name ⇒ String
The metric's name; for example 'accessCount'.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessMetricHeader
constructor
A new instance of GoogleAnalyticsAdminV1betaAccessMetricHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessMetricHeader
Returns a new instance of GoogleAnalyticsAdminV1betaAccessMetricHeader.
309 310 311 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 309 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric_name ⇒ String
The metric's name; for example 'accessCount'.
Corresponds to the JSON property metricName
307 308 309 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 307 def metric_name @metric_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
314 315 316 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 314 def update!(**args) @metric_name = args[:metric_name] if args.key?(:metric_name) end |