Class: Google::Apis::AnalyticsV3::GaData::ColumnHeader
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::GaData::ColumnHeader
 
- 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
- 
  
    
      #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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ColumnHeader
Returns a new instance of ColumnHeader
| 2734 2735 2736 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2734 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#column_type ⇒ String
Column Type. Either DIMENSION or METRIC.
Corresponds to the JSON property columnType
| 2720 2721 2722 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2720 def column_type @column_type end | 
#data_type ⇒ String
Data type. Dimension column headers have only STRING as the data type. Metric
column headers have data types for metric values such as INTEGER, DOUBLE,
CURRENCY etc.
Corresponds to the JSON property dataType
| 2727 2728 2729 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2727 def data_type @data_type end | 
#name ⇒ String
Column name.
Corresponds to the JSON property name
| 2732 2733 2734 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2732 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2739 2740 2741 2742 2743 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2739 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 |