class Google::Apis::AnalyticsreportingV4::PivotHeaderEntry
The headers for the each of the metric column corresponding to the metrics requested in the pivots section of the response.
Attributes
dimension_names[RW]
The name of the dimensions in the pivot response. Corresponds to the JSON property `dimensionNames` @return [Array<String>]
dimension_values[RW]
The values for the dimensions in the pivot. Corresponds to the JSON property `dimensionValues` @return [Array<String>]
metric[RW]
Header for the metrics. Corresponds to the JSON property `metric` @return [Google::Apis::AnalyticsreportingV4::MetricHeaderEntry]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 1079 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 1084 def update!(**args) @dimension_names = args[:dimension_names] if args.key?(:dimension_names) @dimension_values = args[:dimension_values] if args.key?(:dimension_values) @metric = args[:metric] if args.key?(:metric) end