{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted from Tasks Public API; they can only be created by assigning them from Docs or Chat Spaces. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.","properties":{"query":{"type":"object","properties":{"$.xgafv":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"prettyPrint":{"default":true,"description":"Returns response with indentations and line breaks.","type":"boolean"},"hidden":{"description":"Optional. Flag indicating whether the task is created as 'hidden', as if it had been completed and then cleared from the task list (see the \"clear\" method). Hidden tasks are not returned by default when retrieving all tasks for a task list (see showHidden). Only completed tasks can be created as hidden, and they can not be nested or positioned, so parent and previous must be empty.","type":"boolean"},"parent":{"description":"Optional. Parent task identifier. If the task is created at the top level, this parameter is omitted. An assigned task cannot be a parent task, nor can it have a parent. Setting the parent to an assigned task results in failure of the request.","type":"string"},"previous":{"description":"Optional. Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted.","type":"string"}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"tasklist":{"description":"Task list identifier.","type":"string"}},"required":["tasklist"],"additionalProperties":false},"body":{"$ref":"#/definitions/Task"}},"required":["path","body"],"additionalProperties":false,"definitions":{"Task":{"properties":{"completed":{"description":"Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.","type":"string"},"deleted":{"description":"Flag indicating whether the task has been deleted. For assigned tasks this field is read-only. They can only be deleted by calling tasks.delete, in which case both the assigned task and the original task (in Docs or Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there. The default is False.","type":"boolean"},"due":{"description":"Scheduled date for the task (as an RFC 3339 timestamp). Optional. This represents the day that the task should be done, or that the task is visible on the calendar grid. It doesn't represent the deadline of the task. Only date information is recorded; the time portion of the timestamp is discarded when setting this field. It isn't possible to read or write the time that a task is scheduled for using the API.","type":"string"},"etag":{"description":"ETag of the resource.","type":"string"},"hidden":{"description":"Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.","type":"boolean"},"id":{"description":"Task identifier.","type":"string"},"notes":{"description":"Notes describing the task. Tasks assigned from Google Docs cannot have notes. Optional. Maximum length allowed: 8192 characters.","type":"string"},"status":{"description":"Status of the task. This is either \"needsAction\" or \"completed\".","type":"string"},"title":{"description":"Title of the task. Maximum length allowed: 1024 characters.","type":"string"}},"type":"object"}}},"name":"Creates a new task on the specified task list","id":"google-tasks.tasks.tasks.insert","example":{"path":{"tasklist":"example"},"body":{}},"maxRequests":1,"summary":false}}