Class: Google::Apis::AdsenseV1_4::GenerateReportResponse::Header
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AdsenseV1_4::GenerateReportResponse::Header
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/adsense_v1_4/classes.rb,
generated/google/apis/adsense_v1_4/representations.rb,
generated/google/apis/adsense_v1_4/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #currency  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The currency of this column.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the header.
 - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Header 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Header.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Header
Returns a new instance of Header
      700 701 702  | 
    
      # File 'generated/google/apis/adsense_v1_4/classes.rb', line 700 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#currency ⇒ String
The currency of this column. Only present if the header type is
METRIC_CURRENCY.
Corresponds to the JSON property currency
      687 688 689  | 
    
      # File 'generated/google/apis/adsense_v1_4/classes.rb', line 687 def currency @currency end  | 
  
#name ⇒ String
The name of the header.
Corresponds to the JSON property name
      692 693 694  | 
    
      # File 'generated/google/apis/adsense_v1_4/classes.rb', line 692 def name @name end  | 
  
#type ⇒ String
The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or
METRIC_CURRENCY.
Corresponds to the JSON property type
      698 699 700  | 
    
      # File 'generated/google/apis/adsense_v1_4/classes.rb', line 698 def type @type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      705 706 707 708 709  | 
    
      # File 'generated/google/apis/adsense_v1_4/classes.rb', line 705 def update!(**args) @currency = args[:currency] if args.key?(:currency) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end  |