class Google::Apis::AnalyticsreportingV4::MetricHeaderEntry

Header for the metrics.

Attributes

name[RW]

The name of the header. Corresponds to the JSON property `name` @return [String]

type[RW]

The type of the metric, for example `INTEGER`. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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