Class: Google::Apis::DfareportingV5::ColumnHeader

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb

Overview

A column header in the report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ColumnHeader

Returns a new instance of ColumnHeader.



2471
2472
2473
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2471

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Output only. The column name. Corresponds to the JSON property name

Returns:

  • (String)


2464
2465
2466
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2464

def name
  @name
end

#typeString

Output only. The column type. Corresponds to the JSON property type

Returns:

  • (String)


2469
2470
2471
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2469

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2476
2477
2478
2479
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2476

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
end