Class: Google::Apis::FusiontablesV2::TaskList
- Inherits:
-
Object
- Object
- Google::Apis::FusiontablesV2::TaskList
- 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 tasks for a table.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::FusiontablesV2::Task>
List of all requested tasks.
-
#kind ⇒ String
Type of the resource.
-
#next_page_token ⇒ String
Token used to access the next page of this result.
-
#total_items ⇒ Fixnum
Total number of tasks for the table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TaskList
constructor
A new instance of TaskList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TaskList
Returns a new instance of TaskList
944 945 946 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 944 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::FusiontablesV2::Task>
List of all requested tasks.
Corresponds to the JSON property items
926 927 928 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 926 def items @items end |
#kind ⇒ String
Type of the resource. This is always "fusiontables#taskList".
Corresponds to the JSON property kind
931 932 933 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 931 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
937 938 939 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 937 def next_page_token @next_page_token end |
#total_items ⇒ Fixnum
Total number of tasks for the table.
Corresponds to the JSON property totalItems
942 943 944 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 942 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
949 950 951 952 953 954 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 949 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 |