Class: Google::Apis::AnalyticsV3::McfData::ColumnHeader

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ColumnHeader

Returns a new instance of ColumnHeader



3643
3644
3645
# File 'generated/google/apis/analytics_v3/classes.rb', line 3643

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

Instance Attribute Details

#column_typeString

Column Type. Either DIMENSION or METRIC. Corresponds to the JSON property columnType

Returns:

  • (String)


3630
3631
3632
# File 'generated/google/apis/analytics_v3/classes.rb', line 3630

def column_type
  @column_type
end

#data_typeString

Data type. Dimension and metric values data types such as INTEGER, DOUBLE, CURRENCY, MCF_SEQUENCE etc. Corresponds to the JSON property dataType

Returns:

  • (String)


3636
3637
3638
# File 'generated/google/apis/analytics_v3/classes.rb', line 3636

def data_type
  @data_type
end

#nameString

Column name. Corresponds to the JSON property name

Returns:

  • (String)


3641
3642
3643
# File 'generated/google/apis/analytics_v3/classes.rb', line 3641

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3648
3649
3650
3651
3652
# File 'generated/google/apis/analytics_v3/classes.rb', line 3648

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