Class: Google::Apis::FusiontablesV2::TableList

Inherits:
Object
  • Object
show all
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 tables.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TableList

Returns a new instance of TableList.


861
862
863
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 861

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#itemsArray<Google::Apis::FusiontablesV2::Table>

List of all requested tables. Corresponds to the JSON property items


847
848
849
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 847

def items
  @items
end

#kindString

The kind of item this is. For table list, this is always fusiontables# tableList. Corresponds to the JSON property kind

Returns:

  • (String)

853
854
855
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 853

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)

859
860
861
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 859

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


866
867
868
869
870
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 866

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)
end