Class: Google::Apis::FusiontablesV2::ColumnList
- Inherits:
-
Object
- Object
- Google::Apis::FusiontablesV2::ColumnList
- 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 columns in a table.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::FusiontablesV2::Column>
List of all requested columns.
-
#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 columns for the table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ColumnList
constructor
A new instance of ColumnList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ColumnList
Returns a new instance of ColumnList.
242 243 244 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 242 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::FusiontablesV2::Column>
List of all requested columns.
Corresponds to the JSON property items
223 224 225 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 223 def items @items end |
#kind ⇒ String
The kind of item this is. For a column list, this is always fusiontables#
columnList.
Corresponds to the JSON property kind
229 230 231 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 229 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
235 236 237 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 235 def next_page_token @next_page_token end |
#total_items ⇒ Fixnum
Total number of columns for the table.
Corresponds to the JSON property totalItems
240 241 242 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 240 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
247 248 249 250 251 252 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 247 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 |