class Google::Apis::AdsensehostV4_1::Report::Header

Attributes

currency[RW]

The currency of this column. Only present if the header type is METRIC_CURRENCY. Corresponds to the JSON property `currency` @return [String]

name[RW]

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

type[RW]

The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/adsensehost_v4_1/classes.rb, line 752
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/adsensehost_v4_1/classes.rb, line 757
def update!(**args)
  @currency = args[:currency] if args.key?(:currency)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
end