class Google::Apis::AnalyticsdataV1beta::MetricHeader
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.
Attributes
name[RW]
The metric's name. Corresponds to the JSON property `name` @return [String]
type[RW]
The metric's data type. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 927 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 932 def update!(**args) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end