lib/google/apis/tasks_v1/service.rb in google-apis-tasks_v1-0.19.0 vs lib/google/apis/tasks_v1/service.rb in google-apis-tasks_v1-0.20.0
- old
+ new
@@ -107,11 +107,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Creates a new task list and adds it to the authenticated user's task lists.
+ # Creates a new task list and adds it to the authenticated user's task lists. A
+ # user can have up to 2000 lists at a time.
# @param [Google::Apis::TasksV1::TaskList] task_list_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
@@ -137,11 +138,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Returns all the authenticated user's task lists.
+ # Returns all the authenticated user's task lists. A user can have up to 2000
+ # lists at a time.
# @param [Fixnum] max_results
# Maximum number of task lists returned on one page. Optional. The default is 20
# (max allowed: 100).
# @param [String] page_token
# Token specifying the result page to return. Optional.
@@ -332,11 +334,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Creates a new task on the specified task list.
+ # Creates a new task on the specified task list. A user can have up to 20,000
+ # uncompleted tasks per list and up to 100,000 tasks in total at a time.
# @param [String] tasklist
# Task list identifier.
# @param [Google::Apis::TasksV1::Task] task_object
# @param [String] parent
# Parent task identifier. If the task is created at the top level, this
@@ -373,11 +376,12 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
- # Returns all tasks in the specified task list.
+ # Returns all tasks in the specified task list. A user can have up to 20,000
+ # uncompleted tasks per list and up to 100,000 tasks in total at a time.
# @param [String] tasklist
# Task list identifier.
# @param [String] completed_max
# Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter
# by. Optional. The default is not to filter by completion date.
@@ -445,10 +449,11 @@
execute_or_queue_command(command, &block)
end
# Moves the specified task to another position in the task list. This can
# include putting it as a child task under a new parent and/or move it to a
- # different position among its sibling tasks.
+ # different position among its sibling tasks. A user can have up to 2,000
+ # subtasks per task.
# @param [String] tasklist
# Task list identifier.
# @param [String] task
# Task identifier.
# @param [String] parent