1<html><body>
2<style>
3
4body, 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
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, 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">
78  <code><a href="#clear">clear(tasklist, x__xgafv=None)</a></code></p>
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>
83<p class="toc_element">
84  <code><a href="#delete">delete(tasklist, task, x__xgafv=None)</a></code></p>
85<p class="firstline">Deletes the specified task from the task list.</p>
86<p class="toc_element">
87  <code><a href="#get">get(tasklist, task, x__xgafv=None)</a></code></p>
88<p class="firstline">Returns the specified task.</p>
89<p class="toc_element">
90  <code><a href="#insert">insert(tasklist, body=None, parent=None, previous=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Creates a new task on the specified task list.</p>
92<p class="toc_element">
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>
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">
99  <code><a href="#move">move(tasklist, task, parent=None, previous=None, x__xgafv=None)</a></code></p>
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>
101<p class="toc_element">
102  <code><a href="#patch">patch(tasklist, task, body=None, x__xgafv=None)</a></code></p>
103<p class="firstline">Updates the specified task. This method supports patch semantics.</p>
104<p class="toc_element">
105  <code><a href="#update">update(tasklist, task, body=None, x__xgafv=None)</a></code></p>
106<p class="firstline">Updates the specified task.</p>
107<h3>Method Details</h3>
108<div class="method">
109    <code class="details" id="clear">clear(tasklist, x__xgafv=None)</code>
110  <pre>Clears all completed tasks from the specified task list. The affected tasks will be marked as &#x27;hidden&#x27; and no longer be returned by default when retrieving all tasks for a task list.
111
112Args:
113  tasklist: string, Task list identifier. (required)
114  x__xgafv: string, V1 error format.
115    Allowed values
116      1 - v1 error format
117      2 - v2 error format
118</pre>
119</div>
120
121<div class="method">
122    <code class="details" id="close">close()</code>
123  <pre>Close httplib2 connections.</pre>
124</div>
125
126<div class="method">
127    <code class="details" id="delete">delete(tasklist, task, x__xgafv=None)</code>
128  <pre>Deletes the specified task from the task list.
129
130Args:
131  tasklist: string, Task list identifier. (required)
132  task: string, Task identifier. (required)
133  x__xgafv: string, V1 error format.
134    Allowed values
135      1 - v1 error format
136      2 - v2 error format
137</pre>
138</div>
139
140<div class="method">
141    <code class="details" id="get">get(tasklist, task, x__xgafv=None)</code>
142  <pre>Returns the specified task.
143
144Args:
145  tasklist: string, Task list identifier. (required)
146  task: string, Task identifier. (required)
147  x__xgafv: string, V1 error format.
148    Allowed values
149      1 - v1 error format
150      2 - v2 error format
151
152Returns:
153  An object of the form:
154
155    {
156  &quot;completed&quot;: &quot;A String&quot;, # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
157  &quot;deleted&quot;: True or False, # Flag indicating whether the task has been deleted. The default is False.
158  &quot;due&quot;: &quot;A String&quot;, # 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&#x27;t possible to read or write the time that a task is due via the API.
159  &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
160  &quot;hidden&quot;: 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  &quot;id&quot;: &quot;A String&quot;, # Task identifier.
162  &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#task&quot;.
163  &quot;links&quot;: [ # Collection of links. This collection is read-only.
164    {
165      &quot;description&quot;: &quot;A String&quot;, # The description. In HTML speak: Everything between &lt;a&gt; and &lt;/a&gt;.
166      &quot;link&quot;: &quot;A String&quot;, # The URL.
167      &quot;type&quot;: &quot;A String&quot;, # Type of the link, e.g. &quot;email&quot;.
168    },
169  ],
170  &quot;notes&quot;: &quot;A String&quot;, # Notes describing the task. Optional.
171  &quot;parent&quot;: &quot;A String&quot;, # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the &quot;move&quot; method to move the task under a different parent or to the top level.
172  &quot;position&quot;: &quot;A String&quot;, # 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&#x27;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 &quot;move&quot; method to move the task to another position.
173  &quot;selfLink&quot;: &quot;A String&quot;, # URL pointing to this task. Used to retrieve, update, or delete this task.
174  &quot;status&quot;: &quot;A String&quot;, # Status of the task. This is either &quot;needsAction&quot; or &quot;completed&quot;.
175  &quot;title&quot;: &quot;A String&quot;, # Title of the task.
176  &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the task (as a RFC 3339 timestamp).
177}</pre>
178</div>
179
180<div class="method">
181    <code class="details" id="insert">insert(tasklist, body=None, parent=None, previous=None, x__xgafv=None)</code>
182  <pre>Creates a new task on the specified task list.
183
184Args:
185  tasklist: string, Task list identifier. (required)
186  body: object, The request body.
187    The object takes the form of:
188
189{
190  &quot;completed&quot;: &quot;A String&quot;, # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
191  &quot;deleted&quot;: True or False, # Flag indicating whether the task has been deleted. The default is False.
192  &quot;due&quot;: &quot;A String&quot;, # 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&#x27;t possible to read or write the time that a task is due via the API.
193  &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
194  &quot;hidden&quot;: 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  &quot;id&quot;: &quot;A String&quot;, # Task identifier.
196  &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#task&quot;.
197  &quot;links&quot;: [ # Collection of links. This collection is read-only.
198    {
199      &quot;description&quot;: &quot;A String&quot;, # The description. In HTML speak: Everything between &lt;a&gt; and &lt;/a&gt;.
200      &quot;link&quot;: &quot;A String&quot;, # The URL.
201      &quot;type&quot;: &quot;A String&quot;, # Type of the link, e.g. &quot;email&quot;.
202    },
203  ],
204  &quot;notes&quot;: &quot;A String&quot;, # Notes describing the task. Optional.
205  &quot;parent&quot;: &quot;A String&quot;, # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the &quot;move&quot; method to move the task under a different parent or to the top level.
206  &quot;position&quot;: &quot;A String&quot;, # 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&#x27;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 &quot;move&quot; method to move the task to another position.
207  &quot;selfLink&quot;: &quot;A String&quot;, # URL pointing to this task. Used to retrieve, update, or delete this task.
208  &quot;status&quot;: &quot;A String&quot;, # Status of the task. This is either &quot;needsAction&quot; or &quot;completed&quot;.
209  &quot;title&quot;: &quot;A String&quot;, # Title of the task.
210  &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the task (as a RFC 3339 timestamp).
211}
212
213  parent: string, Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional.
214  previous: string, Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional.
215  x__xgafv: string, V1 error format.
216    Allowed values
217      1 - v1 error format
218      2 - v2 error format
219
220Returns:
221  An object of the form:
222
223    {
224  &quot;completed&quot;: &quot;A String&quot;, # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
225  &quot;deleted&quot;: True or False, # Flag indicating whether the task has been deleted. The default is False.
226  &quot;due&quot;: &quot;A String&quot;, # 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&#x27;t possible to read or write the time that a task is due via the API.
227  &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
228  &quot;hidden&quot;: 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  &quot;id&quot;: &quot;A String&quot;, # Task identifier.
230  &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#task&quot;.
231  &quot;links&quot;: [ # Collection of links. This collection is read-only.
232    {
233      &quot;description&quot;: &quot;A String&quot;, # The description. In HTML speak: Everything between &lt;a&gt; and &lt;/a&gt;.
234      &quot;link&quot;: &quot;A String&quot;, # The URL.
235      &quot;type&quot;: &quot;A String&quot;, # Type of the link, e.g. &quot;email&quot;.
236    },
237  ],
238  &quot;notes&quot;: &quot;A String&quot;, # Notes describing the task. Optional.
239  &quot;parent&quot;: &quot;A String&quot;, # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the &quot;move&quot; method to move the task under a different parent or to the top level.
240  &quot;position&quot;: &quot;A String&quot;, # 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&#x27;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 &quot;move&quot; method to move the task to another position.
241  &quot;selfLink&quot;: &quot;A String&quot;, # URL pointing to this task. Used to retrieve, update, or delete this task.
242  &quot;status&quot;: &quot;A String&quot;, # Status of the task. This is either &quot;needsAction&quot; or &quot;completed&quot;.
243  &quot;title&quot;: &quot;A String&quot;, # Title of the task.
244  &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the task (as a RFC 3339 timestamp).
245}</pre>
246</div>
247
248<div class="method">
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>
250  <pre>Returns all tasks in the specified task list.
251
252Args:
253  tasklist: string, Task list identifier. (required)
254  completedMax: string, Upper bound for a task&#x27;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&#x27;s completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
256  dueMax: string, Upper bound for a task&#x27;s due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
257  dueMin: string, Lower bound for a task&#x27;s due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
258  maxResults: integer, Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100).
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&#x27;s mobile apps.
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.
263  updatedMin: string, Lower bound for a task&#x27;s last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.
264  x__xgafv: string, V1 error format.
265    Allowed values
266      1 - v1 error format
267      2 - v2 error format
268
269Returns:
270  An object of the form:
271
272    {
273  &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
274  &quot;items&quot;: [ # Collection of tasks.
275    {
276      &quot;completed&quot;: &quot;A String&quot;, # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
277      &quot;deleted&quot;: True or False, # Flag indicating whether the task has been deleted. The default is False.
278      &quot;due&quot;: &quot;A String&quot;, # 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&#x27;t possible to read or write the time that a task is due via the API.
279      &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
280      &quot;hidden&quot;: 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      &quot;id&quot;: &quot;A String&quot;, # Task identifier.
282      &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#task&quot;.
283      &quot;links&quot;: [ # Collection of links. This collection is read-only.
284        {
285          &quot;description&quot;: &quot;A String&quot;, # The description. In HTML speak: Everything between &lt;a&gt; and &lt;/a&gt;.
286          &quot;link&quot;: &quot;A String&quot;, # The URL.
287          &quot;type&quot;: &quot;A String&quot;, # Type of the link, e.g. &quot;email&quot;.
288        },
289      ],
290      &quot;notes&quot;: &quot;A String&quot;, # Notes describing the task. Optional.
291      &quot;parent&quot;: &quot;A String&quot;, # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the &quot;move&quot; method to move the task under a different parent or to the top level.
292      &quot;position&quot;: &quot;A String&quot;, # 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&#x27;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 &quot;move&quot; method to move the task to another position.
293      &quot;selfLink&quot;: &quot;A String&quot;, # URL pointing to this task. Used to retrieve, update, or delete this task.
294      &quot;status&quot;: &quot;A String&quot;, # Status of the task. This is either &quot;needsAction&quot; or &quot;completed&quot;.
295      &quot;title&quot;: &quot;A String&quot;, # Title of the task.
296      &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the task (as a RFC 3339 timestamp).
297    },
298  ],
299  &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#tasks&quot;.
300  &quot;nextPageToken&quot;: &quot;A String&quot;, # Token used to access the next page of this result.
301}</pre>
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
308Args:
309  previous_request: The request for the previous page. (required)
310  previous_response: The response from the request for the previous page. (required)
311
312Returns:
313  A request object that you can call &#x27;execute()&#x27; on to request the next
314  page. Returns None if there are no more items in the collection.
315    </pre>
316</div>
317
318<div class="method">
319    <code class="details" id="move">move(tasklist, task, parent=None, previous=None, x__xgafv=None)</code>
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.
321
322Args:
323  tasklist: string, Task list identifier. (required)
324  task: string, Task identifier. (required)
325  parent: string, New parent task identifier. If the task is moved to the top level, this parameter is omitted. Optional.
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.
327  x__xgafv: string, V1 error format.
328    Allowed values
329      1 - v1 error format
330      2 - v2 error format
331
332Returns:
333  An object of the form:
334
335    {
336  &quot;completed&quot;: &quot;A String&quot;, # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
337  &quot;deleted&quot;: True or False, # Flag indicating whether the task has been deleted. The default is False.
338  &quot;due&quot;: &quot;A String&quot;, # 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&#x27;t possible to read or write the time that a task is due via the API.
339  &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
340  &quot;hidden&quot;: 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  &quot;id&quot;: &quot;A String&quot;, # Task identifier.
342  &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#task&quot;.
343  &quot;links&quot;: [ # Collection of links. This collection is read-only.
344    {
345      &quot;description&quot;: &quot;A String&quot;, # The description. In HTML speak: Everything between &lt;a&gt; and &lt;/a&gt;.
346      &quot;link&quot;: &quot;A String&quot;, # The URL.
347      &quot;type&quot;: &quot;A String&quot;, # Type of the link, e.g. &quot;email&quot;.
348    },
349  ],
350  &quot;notes&quot;: &quot;A String&quot;, # Notes describing the task. Optional.
351  &quot;parent&quot;: &quot;A String&quot;, # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the &quot;move&quot; method to move the task under a different parent or to the top level.
352  &quot;position&quot;: &quot;A String&quot;, # 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&#x27;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 &quot;move&quot; method to move the task to another position.
353  &quot;selfLink&quot;: &quot;A String&quot;, # URL pointing to this task. Used to retrieve, update, or delete this task.
354  &quot;status&quot;: &quot;A String&quot;, # Status of the task. This is either &quot;needsAction&quot; or &quot;completed&quot;.
355  &quot;title&quot;: &quot;A String&quot;, # Title of the task.
356  &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the task (as a RFC 3339 timestamp).
357}</pre>
358</div>
359
360<div class="method">
361    <code class="details" id="patch">patch(tasklist, task, body=None, x__xgafv=None)</code>
362  <pre>Updates the specified task. This method supports patch semantics.
363
364Args:
365  tasklist: string, Task list identifier. (required)
366  task: string, Task identifier. (required)
367  body: object, The request body.
368    The object takes the form of:
369
370{
371  &quot;completed&quot;: &quot;A String&quot;, # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
372  &quot;deleted&quot;: True or False, # Flag indicating whether the task has been deleted. The default is False.
373  &quot;due&quot;: &quot;A String&quot;, # 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&#x27;t possible to read or write the time that a task is due via the API.
374  &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
375  &quot;hidden&quot;: 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  &quot;id&quot;: &quot;A String&quot;, # Task identifier.
377  &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#task&quot;.
378  &quot;links&quot;: [ # Collection of links. This collection is read-only.
379    {
380      &quot;description&quot;: &quot;A String&quot;, # The description. In HTML speak: Everything between &lt;a&gt; and &lt;/a&gt;.
381      &quot;link&quot;: &quot;A String&quot;, # The URL.
382      &quot;type&quot;: &quot;A String&quot;, # Type of the link, e.g. &quot;email&quot;.
383    },
384  ],
385  &quot;notes&quot;: &quot;A String&quot;, # Notes describing the task. Optional.
386  &quot;parent&quot;: &quot;A String&quot;, # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the &quot;move&quot; method to move the task under a different parent or to the top level.
387  &quot;position&quot;: &quot;A String&quot;, # 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&#x27;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 &quot;move&quot; method to move the task to another position.
388  &quot;selfLink&quot;: &quot;A String&quot;, # URL pointing to this task. Used to retrieve, update, or delete this task.
389  &quot;status&quot;: &quot;A String&quot;, # Status of the task. This is either &quot;needsAction&quot; or &quot;completed&quot;.
390  &quot;title&quot;: &quot;A String&quot;, # Title of the task.
391  &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the task (as a RFC 3339 timestamp).
392}
393
394  x__xgafv: string, V1 error format.
395    Allowed values
396      1 - v1 error format
397      2 - v2 error format
398
399Returns:
400  An object of the form:
401
402    {
403  &quot;completed&quot;: &quot;A String&quot;, # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
404  &quot;deleted&quot;: True or False, # Flag indicating whether the task has been deleted. The default is False.
405  &quot;due&quot;: &quot;A String&quot;, # 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&#x27;t possible to read or write the time that a task is due via the API.
406  &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
407  &quot;hidden&quot;: 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  &quot;id&quot;: &quot;A String&quot;, # Task identifier.
409  &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#task&quot;.
410  &quot;links&quot;: [ # Collection of links. This collection is read-only.
411    {
412      &quot;description&quot;: &quot;A String&quot;, # The description. In HTML speak: Everything between &lt;a&gt; and &lt;/a&gt;.
413      &quot;link&quot;: &quot;A String&quot;, # The URL.
414      &quot;type&quot;: &quot;A String&quot;, # Type of the link, e.g. &quot;email&quot;.
415    },
416  ],
417  &quot;notes&quot;: &quot;A String&quot;, # Notes describing the task. Optional.
418  &quot;parent&quot;: &quot;A String&quot;, # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the &quot;move&quot; method to move the task under a different parent or to the top level.
419  &quot;position&quot;: &quot;A String&quot;, # 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&#x27;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 &quot;move&quot; method to move the task to another position.
420  &quot;selfLink&quot;: &quot;A String&quot;, # URL pointing to this task. Used to retrieve, update, or delete this task.
421  &quot;status&quot;: &quot;A String&quot;, # Status of the task. This is either &quot;needsAction&quot; or &quot;completed&quot;.
422  &quot;title&quot;: &quot;A String&quot;, # Title of the task.
423  &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the task (as a RFC 3339 timestamp).
424}</pre>
425</div>
426
427<div class="method">
428    <code class="details" id="update">update(tasklist, task, body=None, x__xgafv=None)</code>
429  <pre>Updates the specified task.
430
431Args:
432  tasklist: string, Task list identifier. (required)
433  task: string, Task identifier. (required)
434  body: object, The request body.
435    The object takes the form of:
436
437{
438  &quot;completed&quot;: &quot;A String&quot;, # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
439  &quot;deleted&quot;: True or False, # Flag indicating whether the task has been deleted. The default is False.
440  &quot;due&quot;: &quot;A String&quot;, # 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&#x27;t possible to read or write the time that a task is due via the API.
441  &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
442  &quot;hidden&quot;: 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  &quot;id&quot;: &quot;A String&quot;, # Task identifier.
444  &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#task&quot;.
445  &quot;links&quot;: [ # Collection of links. This collection is read-only.
446    {
447      &quot;description&quot;: &quot;A String&quot;, # The description. In HTML speak: Everything between &lt;a&gt; and &lt;/a&gt;.
448      &quot;link&quot;: &quot;A String&quot;, # The URL.
449      &quot;type&quot;: &quot;A String&quot;, # Type of the link, e.g. &quot;email&quot;.
450    },
451  ],
452  &quot;notes&quot;: &quot;A String&quot;, # Notes describing the task. Optional.
453  &quot;parent&quot;: &quot;A String&quot;, # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the &quot;move&quot; method to move the task under a different parent or to the top level.
454  &quot;position&quot;: &quot;A String&quot;, # 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&#x27;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 &quot;move&quot; method to move the task to another position.
455  &quot;selfLink&quot;: &quot;A String&quot;, # URL pointing to this task. Used to retrieve, update, or delete this task.
456  &quot;status&quot;: &quot;A String&quot;, # Status of the task. This is either &quot;needsAction&quot; or &quot;completed&quot;.
457  &quot;title&quot;: &quot;A String&quot;, # Title of the task.
458  &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the task (as a RFC 3339 timestamp).
459}
460
461  x__xgafv: string, V1 error format.
462    Allowed values
463      1 - v1 error format
464      2 - v2 error format
465
466Returns:
467  An object of the form:
468
469    {
470  &quot;completed&quot;: &quot;A String&quot;, # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
471  &quot;deleted&quot;: True or False, # Flag indicating whether the task has been deleted. The default is False.
472  &quot;due&quot;: &quot;A String&quot;, # 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&#x27;t possible to read or write the time that a task is due via the API.
473  &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
474  &quot;hidden&quot;: 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  &quot;id&quot;: &quot;A String&quot;, # Task identifier.
476  &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#task&quot;.
477  &quot;links&quot;: [ # Collection of links. This collection is read-only.
478    {
479      &quot;description&quot;: &quot;A String&quot;, # The description. In HTML speak: Everything between &lt;a&gt; and &lt;/a&gt;.
480      &quot;link&quot;: &quot;A String&quot;, # The URL.
481      &quot;type&quot;: &quot;A String&quot;, # Type of the link, e.g. &quot;email&quot;.
482    },
483  ],
484  &quot;notes&quot;: &quot;A String&quot;, # Notes describing the task. Optional.
485  &quot;parent&quot;: &quot;A String&quot;, # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the &quot;move&quot; method to move the task under a different parent or to the top level.
486  &quot;position&quot;: &quot;A String&quot;, # 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&#x27;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 &quot;move&quot; method to move the task to another position.
487  &quot;selfLink&quot;: &quot;A String&quot;, # URL pointing to this task. Used to retrieve, update, or delete this task.
488  &quot;status&quot;: &quot;A String&quot;, # Status of the task. This is either &quot;needsAction&quot; or &quot;completed&quot;.
489  &quot;title&quot;: &quot;A String&quot;, # Title of the task.
490  &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the task (as a RFC 3339 timestamp).
491}</pre>
492</div>
493
494</body></html>