John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="tasks_v1.html">Tasks API</a> . <a href="tasks_v1.tasks.html">tasks</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 78 | <code><a href="#clear">clear(tasklist, x__xgafv=None)</a></code></p> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 79 | <p class="firstline">Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#close">close()</a></code></p> |
| 82 | <p class="firstline">Close httplib2 connections.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 83 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 84 | <code><a href="#delete">delete(tasklist, task, x__xgafv=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 85 | <p class="firstline">Deletes the specified task from the task list.</p> |
| 86 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 87 | <code><a href="#get">get(tasklist, task, x__xgafv=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 88 | <p class="firstline">Returns the specified task.</p> |
| 89 | <p class="toc_element"> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 90 | <code><a href="#insert">insert(tasklist, body=None, parent=None, previous=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 91 | <p class="firstline">Creates a new task on the specified task list.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 92 | <p class="toc_element"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 93 | <code><a href="#list">list(tasklist, completedMax=None, completedMin=None, dueMax=None, dueMin=None, maxResults=None, pageToken=None, showCompleted=None, showDeleted=None, showHidden=None, updatedMin=None, x__xgafv=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 94 | <p class="firstline">Returns all tasks in the specified task list.</p> |
| 95 | <p class="toc_element"> |
| 96 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 97 | <p class="firstline">Retrieves the next page of results.</p> |
| 98 | <p class="toc_element"> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 99 | <code><a href="#move">move(tasklist, task, parent=None, previous=None, x__xgafv=None)</a></code></p> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 100 | <p class="firstline">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.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 101 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 102 | <code><a href="#patch">patch(tasklist, task, body=None, x__xgafv=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 103 | <p class="firstline">Updates the specified task. This method supports patch semantics.</p> |
| 104 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 105 | <code><a href="#update">update(tasklist, task, body=None, x__xgafv=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 106 | <p class="firstline">Updates the specified task.</p> |
| 107 | <h3>Method Details</h3> |
| 108 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 109 | <code class="details" id="clear">clear(tasklist, x__xgafv=None)</code> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 110 | <pre>Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 111 | |
| 112 | Args: |
| 113 | tasklist: string, Task list identifier. (required) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 114 | x__xgafv: string, V1 error format. |
| 115 | Allowed values |
| 116 | 1 - v1 error format |
| 117 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 118 | </pre> |
| 119 | </div> |
| 120 | |
| 121 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 122 | <code class="details" id="close">close()</code> |
| 123 | <pre>Close httplib2 connections.</pre> |
| 124 | </div> |
| 125 | |
| 126 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 127 | <code class="details" id="delete">delete(tasklist, task, x__xgafv=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 128 | <pre>Deletes the specified task from the task list. |
| 129 | |
| 130 | Args: |
| 131 | tasklist: string, Task list identifier. (required) |
| 132 | task: string, Task identifier. (required) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 133 | x__xgafv: string, V1 error format. |
| 134 | Allowed values |
| 135 | 1 - v1 error format |
| 136 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 137 | </pre> |
| 138 | </div> |
| 139 | |
| 140 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 141 | <code class="details" id="get">get(tasklist, task, x__xgafv=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 142 | <pre>Returns the specified task. |
| 143 | |
| 144 | Args: |
| 145 | tasklist: string, Task list identifier. (required) |
| 146 | task: string, Task identifier. (required) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 147 | x__xgafv: string, V1 error format. |
| 148 | Allowed values |
| 149 | 1 - v1 error format |
| 150 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 151 | |
| 152 | Returns: |
| 153 | An object of the form: |
| 154 | |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 155 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 156 | "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. |
| 157 | "deleted": True or False, # Flag indicating whether the task has been deleted. The default is False. |
| 158 | "due": "A String", # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API. |
| 159 | "etag": "A String", # ETag of the resource. |
| 160 | "hidden": True or False, # 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. |
| 161 | "id": "A String", # Task identifier. |
| 162 | "kind": "A String", # Type of the resource. This is always "tasks#task". |
| 163 | "links": [ # Collection of links. This collection is read-only. |
| 164 | { |
| 165 | "description": "A String", # The description. In HTML speak: Everything between <a> and </a>. |
| 166 | "link": "A String", # The URL. |
| 167 | "type": "A String", # Type of the link, e.g. "email". |
| 168 | }, |
| 169 | ], |
| 170 | "notes": "A String", # Notes describing the task. Optional. |
| 171 | "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. |
| 172 | "position": "A String", # String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position. |
| 173 | "selfLink": "A String", # URL pointing to this task. Used to retrieve, update, or delete this task. |
| 174 | "status": "A String", # Status of the task. This is either "needsAction" or "completed". |
| 175 | "title": "A String", # Title of the task. |
| 176 | "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). |
| 177 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 178 | </div> |
| 179 | |
| 180 | <div class="method"> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 181 | <code class="details" id="insert">insert(tasklist, body=None, parent=None, previous=None, x__xgafv=None)</code> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 182 | <pre>Creates a new task on the specified task list. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 183 | |
| 184 | Args: |
| 185 | tasklist: string, Task list identifier. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 186 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 187 | The object takes the form of: |
| 188 | |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 189 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 190 | "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. |
| 191 | "deleted": True or False, # Flag indicating whether the task has been deleted. The default is False. |
| 192 | "due": "A String", # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API. |
| 193 | "etag": "A String", # ETag of the resource. |
| 194 | "hidden": True or False, # 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. |
| 195 | "id": "A String", # Task identifier. |
| 196 | "kind": "A String", # Type of the resource. This is always "tasks#task". |
| 197 | "links": [ # Collection of links. This collection is read-only. |
| 198 | { |
| 199 | "description": "A String", # The description. In HTML speak: Everything between <a> and </a>. |
| 200 | "link": "A String", # The URL. |
| 201 | "type": "A String", # Type of the link, e.g. "email". |
| 202 | }, |
| 203 | ], |
| 204 | "notes": "A String", # Notes describing the task. Optional. |
| 205 | "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. |
| 206 | "position": "A String", # String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position. |
| 207 | "selfLink": "A String", # URL pointing to this task. Used to retrieve, update, or delete this task. |
| 208 | "status": "A String", # Status of the task. This is either "needsAction" or "completed". |
| 209 | "title": "A String", # Title of the task. |
| 210 | "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). |
| 211 | } |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 212 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 213 | parent: string, Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 214 | previous: string, Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 215 | x__xgafv: string, V1 error format. |
| 216 | Allowed values |
| 217 | 1 - v1 error format |
| 218 | 2 - v2 error format |
| 219 | |
| 220 | Returns: |
| 221 | An object of the form: |
| 222 | |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 223 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 224 | "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. |
| 225 | "deleted": True or False, # Flag indicating whether the task has been deleted. The default is False. |
| 226 | "due": "A String", # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API. |
| 227 | "etag": "A String", # ETag of the resource. |
| 228 | "hidden": True or False, # 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. |
| 229 | "id": "A String", # Task identifier. |
| 230 | "kind": "A String", # Type of the resource. This is always "tasks#task". |
| 231 | "links": [ # Collection of links. This collection is read-only. |
| 232 | { |
| 233 | "description": "A String", # The description. In HTML speak: Everything between <a> and </a>. |
| 234 | "link": "A String", # The URL. |
| 235 | "type": "A String", # Type of the link, e.g. "email". |
| 236 | }, |
| 237 | ], |
| 238 | "notes": "A String", # Notes describing the task. Optional. |
| 239 | "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. |
| 240 | "position": "A String", # String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position. |
| 241 | "selfLink": "A String", # URL pointing to this task. Used to retrieve, update, or delete this task. |
| 242 | "status": "A String", # Status of the task. This is either "needsAction" or "completed". |
| 243 | "title": "A String", # Title of the task. |
| 244 | "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). |
| 245 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 246 | </div> |
| 247 | |
| 248 | <div class="method"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 249 | <code class="details" id="list">list(tasklist, completedMax=None, completedMin=None, dueMax=None, dueMin=None, maxResults=None, pageToken=None, showCompleted=None, showDeleted=None, showHidden=None, updatedMin=None, x__xgafv=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 250 | <pre>Returns all tasks in the specified task list. |
| 251 | |
| 252 | Args: |
| 253 | tasklist: string, Task list identifier. (required) |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 254 | completedMax: string, 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. |
| 255 | completedMin: string, Lower 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. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 256 | dueMax: string, Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 257 | dueMin: string, Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 258 | maxResults: integer, Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100). |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 259 | pageToken: string, Token specifying the result page to return. Optional. |
| 260 | showCompleted: boolean, Flag indicating whether completed tasks are returned in the result. Optional. The default is True. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 261 | showDeleted: boolean, Flag indicating whether deleted tasks are returned in the result. Optional. The default is False. |
| 262 | showHidden: boolean, Flag indicating whether hidden tasks are returned in the result. Optional. The default is False. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 263 | updatedMin: string, Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 264 | x__xgafv: string, V1 error format. |
| 265 | Allowed values |
| 266 | 1 - v1 error format |
| 267 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 268 | |
| 269 | Returns: |
| 270 | An object of the form: |
| 271 | |
| 272 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 273 | "etag": "A String", # ETag of the resource. |
| 274 | "items": [ # Collection of tasks. |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 275 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 276 | "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. |
| 277 | "deleted": True or False, # Flag indicating whether the task has been deleted. The default is False. |
| 278 | "due": "A String", # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API. |
| 279 | "etag": "A String", # ETag of the resource. |
| 280 | "hidden": True or False, # 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. |
| 281 | "id": "A String", # Task identifier. |
| 282 | "kind": "A String", # Type of the resource. This is always "tasks#task". |
| 283 | "links": [ # Collection of links. This collection is read-only. |
| 284 | { |
| 285 | "description": "A String", # The description. In HTML speak: Everything between <a> and </a>. |
| 286 | "link": "A String", # The URL. |
| 287 | "type": "A String", # Type of the link, e.g. "email". |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 288 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 289 | ], |
| 290 | "notes": "A String", # Notes describing the task. Optional. |
| 291 | "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. |
| 292 | "position": "A String", # String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position. |
| 293 | "selfLink": "A String", # URL pointing to this task. Used to retrieve, update, or delete this task. |
| 294 | "status": "A String", # Status of the task. This is either "needsAction" or "completed". |
| 295 | "title": "A String", # Title of the task. |
| 296 | "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). |
| 297 | }, |
| 298 | ], |
| 299 | "kind": "A String", # Type of the resource. This is always "tasks#tasks". |
| 300 | "nextPageToken": "A String", # Token used to access the next page of this result. |
| 301 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 302 | </div> |
| 303 | |
| 304 | <div class="method"> |
| 305 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 306 | <pre>Retrieves the next page of results. |
| 307 | |
| 308 | Args: |
| 309 | previous_request: The request for the previous page. (required) |
| 310 | previous_response: The response from the request for the previous page. (required) |
| 311 | |
| 312 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 313 | A request object that you can call 'execute()' on to request the next |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 314 | page. Returns None if there are no more items in the collection. |
| 315 | </pre> |
| 316 | </div> |
| 317 | |
| 318 | <div class="method"> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 319 | <code class="details" id="move">move(tasklist, task, parent=None, previous=None, x__xgafv=None)</code> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 320 | <pre>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. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 321 | |
| 322 | Args: |
| 323 | tasklist: string, Task list identifier. (required) |
| 324 | task: string, Task identifier. (required) |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 325 | parent: string, New parent task identifier. If the task is moved to the top level, this parameter is omitted. Optional. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 326 | previous: string, New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. Optional. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 327 | x__xgafv: string, V1 error format. |
| 328 | Allowed values |
| 329 | 1 - v1 error format |
| 330 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 331 | |
| 332 | Returns: |
| 333 | An object of the form: |
| 334 | |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 335 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 336 | "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. |
| 337 | "deleted": True or False, # Flag indicating whether the task has been deleted. The default is False. |
| 338 | "due": "A String", # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API. |
| 339 | "etag": "A String", # ETag of the resource. |
| 340 | "hidden": True or False, # 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. |
| 341 | "id": "A String", # Task identifier. |
| 342 | "kind": "A String", # Type of the resource. This is always "tasks#task". |
| 343 | "links": [ # Collection of links. This collection is read-only. |
| 344 | { |
| 345 | "description": "A String", # The description. In HTML speak: Everything between <a> and </a>. |
| 346 | "link": "A String", # The URL. |
| 347 | "type": "A String", # Type of the link, e.g. "email". |
| 348 | }, |
| 349 | ], |
| 350 | "notes": "A String", # Notes describing the task. Optional. |
| 351 | "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. |
| 352 | "position": "A String", # String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position. |
| 353 | "selfLink": "A String", # URL pointing to this task. Used to retrieve, update, or delete this task. |
| 354 | "status": "A String", # Status of the task. This is either "needsAction" or "completed". |
| 355 | "title": "A String", # Title of the task. |
| 356 | "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). |
| 357 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 358 | </div> |
| 359 | |
| 360 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 361 | <code class="details" id="patch">patch(tasklist, task, body=None, x__xgafv=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 362 | <pre>Updates the specified task. This method supports patch semantics. |
| 363 | |
| 364 | Args: |
| 365 | tasklist: string, Task list identifier. (required) |
| 366 | task: string, Task identifier. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 367 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 368 | The object takes the form of: |
| 369 | |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 370 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 371 | "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. |
| 372 | "deleted": True or False, # Flag indicating whether the task has been deleted. The default is False. |
| 373 | "due": "A String", # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API. |
| 374 | "etag": "A String", # ETag of the resource. |
| 375 | "hidden": True or False, # 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. |
| 376 | "id": "A String", # Task identifier. |
| 377 | "kind": "A String", # Type of the resource. This is always "tasks#task". |
| 378 | "links": [ # Collection of links. This collection is read-only. |
| 379 | { |
| 380 | "description": "A String", # The description. In HTML speak: Everything between <a> and </a>. |
| 381 | "link": "A String", # The URL. |
| 382 | "type": "A String", # Type of the link, e.g. "email". |
| 383 | }, |
| 384 | ], |
| 385 | "notes": "A String", # Notes describing the task. Optional. |
| 386 | "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. |
| 387 | "position": "A String", # String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position. |
| 388 | "selfLink": "A String", # URL pointing to this task. Used to retrieve, update, or delete this task. |
| 389 | "status": "A String", # Status of the task. This is either "needsAction" or "completed". |
| 390 | "title": "A String", # Title of the task. |
| 391 | "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). |
| 392 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 393 | |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 394 | x__xgafv: string, V1 error format. |
| 395 | Allowed values |
| 396 | 1 - v1 error format |
| 397 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 398 | |
| 399 | Returns: |
| 400 | An object of the form: |
| 401 | |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 402 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 403 | "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. |
| 404 | "deleted": True or False, # Flag indicating whether the task has been deleted. The default is False. |
| 405 | "due": "A String", # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API. |
| 406 | "etag": "A String", # ETag of the resource. |
| 407 | "hidden": True or False, # 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. |
| 408 | "id": "A String", # Task identifier. |
| 409 | "kind": "A String", # Type of the resource. This is always "tasks#task". |
| 410 | "links": [ # Collection of links. This collection is read-only. |
| 411 | { |
| 412 | "description": "A String", # The description. In HTML speak: Everything between <a> and </a>. |
| 413 | "link": "A String", # The URL. |
| 414 | "type": "A String", # Type of the link, e.g. "email". |
| 415 | }, |
| 416 | ], |
| 417 | "notes": "A String", # Notes describing the task. Optional. |
| 418 | "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. |
| 419 | "position": "A String", # String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position. |
| 420 | "selfLink": "A String", # URL pointing to this task. Used to retrieve, update, or delete this task. |
| 421 | "status": "A String", # Status of the task. This is either "needsAction" or "completed". |
| 422 | "title": "A String", # Title of the task. |
| 423 | "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). |
| 424 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 425 | </div> |
| 426 | |
| 427 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 428 | <code class="details" id="update">update(tasklist, task, body=None, x__xgafv=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 429 | <pre>Updates the specified task. |
| 430 | |
| 431 | Args: |
| 432 | tasklist: string, Task list identifier. (required) |
| 433 | task: string, Task identifier. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 434 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 435 | The object takes the form of: |
| 436 | |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 437 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 438 | "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. |
| 439 | "deleted": True or False, # Flag indicating whether the task has been deleted. The default is False. |
| 440 | "due": "A String", # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API. |
| 441 | "etag": "A String", # ETag of the resource. |
| 442 | "hidden": True or False, # 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. |
| 443 | "id": "A String", # Task identifier. |
| 444 | "kind": "A String", # Type of the resource. This is always "tasks#task". |
| 445 | "links": [ # Collection of links. This collection is read-only. |
| 446 | { |
| 447 | "description": "A String", # The description. In HTML speak: Everything between <a> and </a>. |
| 448 | "link": "A String", # The URL. |
| 449 | "type": "A String", # Type of the link, e.g. "email". |
| 450 | }, |
| 451 | ], |
| 452 | "notes": "A String", # Notes describing the task. Optional. |
| 453 | "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. |
| 454 | "position": "A String", # String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position. |
| 455 | "selfLink": "A String", # URL pointing to this task. Used to retrieve, update, or delete this task. |
| 456 | "status": "A String", # Status of the task. This is either "needsAction" or "completed". |
| 457 | "title": "A String", # Title of the task. |
| 458 | "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). |
| 459 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 460 | |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 461 | x__xgafv: string, V1 error format. |
| 462 | Allowed values |
| 463 | 1 - v1 error format |
| 464 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 465 | |
| 466 | Returns: |
| 467 | An object of the form: |
| 468 | |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 469 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 470 | "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. |
| 471 | "deleted": True or False, # Flag indicating whether the task has been deleted. The default is False. |
| 472 | "due": "A String", # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API. |
| 473 | "etag": "A String", # ETag of the resource. |
| 474 | "hidden": True or False, # 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. |
| 475 | "id": "A String", # Task identifier. |
| 476 | "kind": "A String", # Type of the resource. This is always "tasks#task". |
| 477 | "links": [ # Collection of links. This collection is read-only. |
| 478 | { |
| 479 | "description": "A String", # The description. In HTML speak: Everything between <a> and </a>. |
| 480 | "link": "A String", # The URL. |
| 481 | "type": "A String", # Type of the link, e.g. "email". |
| 482 | }, |
| 483 | ], |
| 484 | "notes": "A String", # Notes describing the task. Optional. |
| 485 | "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. |
| 486 | "position": "A String", # String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position. |
| 487 | "selfLink": "A String", # URL pointing to this task. Used to retrieve, update, or delete this task. |
| 488 | "status": "A String", # Status of the task. This is either "needsAction" or "completed". |
| 489 | "title": "A String", # Title of the task. |
| 490 | "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). |
| 491 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 492 | </div> |
| 493 | |
| 494 | </body></html> |