class Google::Apis::AdsenseV1_4::GenerateReportResponse::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/adsense_v1_4/classes.rb, line 688
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/adsense_v1_4/classes.rb, line 693
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