Class: Google::Apis::AnalyticsV3::McfData::ColumnHeader
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::McfData::ColumnHeader
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analytics_v3/classes.rb,
lib/google/apis/analytics_v3/representations.rb,
lib/google/apis/analytics_v3/representations.rb
Instance Attribute Summary collapse
-
#column_type ⇒ String
Column Type.
-
#data_type ⇒ String
Data type.
-
#name ⇒ String
Column name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ColumnHeader
constructor
A new instance of ColumnHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ColumnHeader
Returns a new instance of ColumnHeader.
3617 3618 3619 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3617 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_type ⇒ String
Column Type. Either DIMENSION or METRIC.
Corresponds to the JSON property columnType
3604 3605 3606 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3604 def column_type @column_type end |
#data_type ⇒ String
Data type. Dimension and metric values data types such as INTEGER, DOUBLE,
CURRENCY, MCF_SEQUENCE etc.
Corresponds to the JSON property dataType
3610 3611 3612 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3610 def data_type @data_type end |
#name ⇒ String
Column name.
Corresponds to the JSON property name
3615 3616 3617 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3615 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3622 3623 3624 3625 3626 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3622 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 |