Class: Google::Apis::YoutubeAnalyticsV1::ResultTable::ColumnHeader
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeAnalyticsV1::ResultTable::ColumnHeader
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_analytics_v1/classes.rb,
 generated/google/apis/youtube_analytics_v1/representations.rb,
 generated/google/apis/youtube_analytics_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #column_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the column (DIMENSION or METRIC). 
- 
  
    
      #data_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the data in the column (STRING, INTEGER, FLOAT, etc.). 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the dimension or metric. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ColumnHeader 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ColumnHeader. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ColumnHeader
Returns a new instance of ColumnHeader
| 323 324 325 | # File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 323 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#column_type ⇒ String
The type of the column (DIMENSION or METRIC).
Corresponds to the JSON property columnType
| 311 312 313 | # File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 311 def column_type @column_type end | 
#data_type ⇒ String
The type of the data in the column (STRING, INTEGER, FLOAT, etc.).
Corresponds to the JSON property dataType
| 316 317 318 | # File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 316 def data_type @data_type end | 
#name ⇒ String
The name of the dimension or metric.
Corresponds to the JSON property name
| 321 322 323 | # File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 321 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 328 329 330 331 332 | # File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 328 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 |