Class: Google::Apis::FusiontablesV2::TemplateList
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FusiontablesV2::TemplateList
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/fusiontables_v2/classes.rb,
 generated/google/apis/fusiontables_v2/representations.rb,
 generated/google/apis/fusiontables_v2/representations.rb
Overview
Represents a list of templates for a given table.
Instance Attribute Summary collapse
- 
  
    
      #items  ⇒ Array<Google::Apis::FusiontablesV2::Template> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of all requested templates. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The kind of item this is. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Token used to access the next page of this result. 
- 
  
    
      #total_items  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Total number of templates for the table. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TemplateList 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TemplateList. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TemplateList
Returns a new instance of TemplateList
| 1035 1036 1037 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 1035 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#items ⇒ Array<Google::Apis::FusiontablesV2::Template>
List of all requested templates.
Corresponds to the JSON property items
| 1016 1017 1018 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 1016 def items @items end | 
#kind ⇒ String
The kind of item this is. For a template list, this is always fusiontables#
templateList .
Corresponds to the JSON property kind
| 1022 1023 1024 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 1022 def kind @kind end | 
#next_page_token ⇒ String
Token used to access the next page of this result. No token is displayed if
there are no more pages left.
Corresponds to the JSON property nextPageToken
| 1028 1029 1030 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 1028 def next_page_token @next_page_token end | 
#total_items ⇒ Fixnum
Total number of templates for the table.
Corresponds to the JSON property totalItems
| 1033 1034 1035 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 1033 def total_items @total_items end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1040 1041 1042 1043 1044 1045 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 1040 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_items = args[:total_items] if args.key?(:total_items) end |