Class: Google::Apis::AnalyticsV3::Columns
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::Columns
 
- 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
Overview
Lists columns (dimensions and metrics) for a particular report type.
Instance Attribute Summary collapse
- 
  
    
      #attribute_names  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of attributes names returned by columns. 
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Etag of collection. 
- 
  
    
      #items  ⇒ Array<Google::Apis::AnalyticsV3::Column> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of columns for a report type. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Collection type. 
- 
  
    
      #total_results  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Total number of columns returned in the response. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Columns 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Columns. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Columns
Returns a new instance of Columns
| 707 708 709 | # File 'generated/google/apis/analytics_v3/classes.rb', line 707 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#attribute_names ⇒ Array<String>
List of attributes names returned by columns.
Corresponds to the JSON property attributeNames
| 684 685 686 | # File 'generated/google/apis/analytics_v3/classes.rb', line 684 def attribute_names @attribute_names end | 
#etag ⇒ String
Etag of collection. This etag can be compared with the last response etag to
check if response has changed.
Corresponds to the JSON property etag
| 690 691 692 | # File 'generated/google/apis/analytics_v3/classes.rb', line 690 def etag @etag end | 
#items ⇒ Array<Google::Apis::AnalyticsV3::Column>
List of columns for a report type.
Corresponds to the JSON property items
| 695 696 697 | # File 'generated/google/apis/analytics_v3/classes.rb', line 695 def items @items end | 
#kind ⇒ String
Collection type.
Corresponds to the JSON property kind
| 700 701 702 | # File 'generated/google/apis/analytics_v3/classes.rb', line 700 def kind @kind end | 
#total_results ⇒ Fixnum
Total number of columns returned in the response.
Corresponds to the JSON property totalResults
| 705 706 707 | # File 'generated/google/apis/analytics_v3/classes.rb', line 705 def total_results @total_results end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 712 713 714 715 716 717 718 | # File 'generated/google/apis/analytics_v3/classes.rb', line 712 def update!(**args) @attribute_names = args[:attribute_names] if args.key?(:attribute_names) @etag = args[:etag] if args.key?(:etag) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @total_results = args[:total_results] if args.key?(:total_results) end |