class Google::Apis::AnalyticsreportingV4::MetricHeader

The headers for the metrics.

Attributes

metric_header_entries[RW]

Headers for the metrics in the response. Corresponds to the JSON property `metricHeaderEntries` @return [Array<Google::Apis::AnalyticsreportingV4::MetricHeaderEntry>]

pivot_headers[RW]

Headers for the pivots in the response. Corresponds to the JSON property `pivotHeaders` @return [Array<Google::Apis::AnalyticsreportingV4::PivotHeader>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 856
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 861
def update!(**args)
  @metric_header_entries = args[:metric_header_entries] if args.key?(:metric_header_entries)
  @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers)
end