Debian Codegraph @

docs/dyn/tasks_v1.tasklists.html

raw
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">Google Tasks API</a> . <a href="tasks_v1.tasklists.html">tasklists</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#delete">delete(tasklist, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(tasklist, x__xgafv=None)</a></code></p>
85 <p class="firstline">Returns the authenticated user's specified task list.</p>
86 <p class="toc_element">
87 <code><a href="#insert">insert(body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">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.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Returns all the authenticated user's task lists. A user can have up to 2000 lists at a time.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(tasklist, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates the authenticated user's specified task list. This method supports patch semantics.</p>
98 <p class="toc_element">
99 <code><a href="#update">update(tasklist, body=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates the authenticated user's specified task list.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="delete">delete(tasklist, x__xgafv=None)</code>
109 <pre>Deletes the authenticated user&#x27;s specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.
110
111 Args:
112 tasklist: string, Task list identifier. (required)
113 x__xgafv: string, V1 error format.
114 Allowed values
115 1 - v1 error format
116 2 - v2 error format
117 </pre>
118 </div>
119
120 <div class="method">
121 <code class="details" id="get">get(tasklist, x__xgafv=None)</code>
122 <pre>Returns the authenticated user&#x27;s specified task list.
123
124 Args:
125 tasklist: string, Task list identifier. (required)
126 x__xgafv: string, V1 error format.
127 Allowed values
128 1 - v1 error format
129 2 - v2 error format
130
131 Returns:
132 An object of the form:
133
134 {
135 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
136 &quot;id&quot;: &quot;A String&quot;, # Task list identifier.
137 &quot;kind&quot;: &quot;A String&quot;, # Output only. Type of the resource. This is always &quot;tasks#taskList&quot;.
138 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.
139 &quot;title&quot;: &quot;A String&quot;, # Title of the task list. Maximum length allowed: 1024 characters.
140 &quot;updated&quot;: &quot;A String&quot;, # Output only. Last modification time of the task list (as a RFC 3339 timestamp).
141 }</pre>
142 </div>
143
144 <div class="method">
145 <code class="details" id="insert">insert(body=None, x__xgafv=None)</code>
146 <pre>Creates a new task list and adds it to the authenticated user&#x27;s task lists. A user can have up to 2000 lists at a time.
147
148 Args:
149 body: object, The request body.
150 The object takes the form of:
151
152 {
153 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
154 &quot;id&quot;: &quot;A String&quot;, # Task list identifier.
155 &quot;kind&quot;: &quot;A String&quot;, # Output only. Type of the resource. This is always &quot;tasks#taskList&quot;.
156 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.
157 &quot;title&quot;: &quot;A String&quot;, # Title of the task list. Maximum length allowed: 1024 characters.
158 &quot;updated&quot;: &quot;A String&quot;, # Output only. Last modification time of the task list (as a RFC 3339 timestamp).
159 }
160
161 x__xgafv: string, V1 error format.
162 Allowed values
163 1 - v1 error format
164 2 - v2 error format
165
166 Returns:
167 An object of the form:
168
169 {
170 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
171 &quot;id&quot;: &quot;A String&quot;, # Task list identifier.
172 &quot;kind&quot;: &quot;A String&quot;, # Output only. Type of the resource. This is always &quot;tasks#taskList&quot;.
173 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.
174 &quot;title&quot;: &quot;A String&quot;, # Title of the task list. Maximum length allowed: 1024 characters.
175 &quot;updated&quot;: &quot;A String&quot;, # Output only. Last modification time of the task list (as a RFC 3339 timestamp).
176 }</pre>
177 </div>
178
179 <div class="method">
180 <code class="details" id="list">list(maxResults=None, pageToken=None, x__xgafv=None)</code>
181 <pre>Returns all the authenticated user&#x27;s task lists. A user can have up to 2000 lists at a time.
182
183 Args:
184 maxResults: integer, Maximum number of task lists returned on one page. Optional. The default is 1000 (max allowed: 1000).
185 pageToken: string, Token specifying the result page to return. Optional.
186 x__xgafv: string, V1 error format.
187 Allowed values
188 1 - v1 error format
189 2 - v2 error format
190
191 Returns:
192 An object of the form:
193
194 {
195 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
196 &quot;items&quot;: [ # Collection of task lists.
197 {
198 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
199 &quot;id&quot;: &quot;A String&quot;, # Task list identifier.
200 &quot;kind&quot;: &quot;A String&quot;, # Output only. Type of the resource. This is always &quot;tasks#taskList&quot;.
201 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.
202 &quot;title&quot;: &quot;A String&quot;, # Title of the task list. Maximum length allowed: 1024 characters.
203 &quot;updated&quot;: &quot;A String&quot;, # Output only. Last modification time of the task list (as a RFC 3339 timestamp).
204 },
205 ],
206 &quot;kind&quot;: &quot;A String&quot;, # Type of the resource. This is always &quot;tasks#taskLists&quot;.
207 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token that can be used to request the next page of this result.
208 }</pre>
209 </div>
210
211 <div class="method">
212 <code class="details" id="list_next">list_next()</code>
213 <pre>Retrieves the next page of results.
214
215 Args:
216 previous_request: The request for the previous page. (required)
217 previous_response: The response from the request for the previous page. (required)
218
219 Returns:
220 A request object that you can call &#x27;execute()&#x27; on to request the next
221 page. Returns None if there are no more items in the collection.
222 </pre>
223 </div>
224
225 <div class="method">
226 <code class="details" id="patch">patch(tasklist, body=None, x__xgafv=None)</code>
227 <pre>Updates the authenticated user&#x27;s specified task list. This method supports patch semantics.
228
229 Args:
230 tasklist: string, Task list identifier. (required)
231 body: object, The request body.
232 The object takes the form of:
233
234 {
235 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
236 &quot;id&quot;: &quot;A String&quot;, # Task list identifier.
237 &quot;kind&quot;: &quot;A String&quot;, # Output only. Type of the resource. This is always &quot;tasks#taskList&quot;.
238 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.
239 &quot;title&quot;: &quot;A String&quot;, # Title of the task list. Maximum length allowed: 1024 characters.
240 &quot;updated&quot;: &quot;A String&quot;, # Output only. Last modification time of the task list (as a RFC 3339 timestamp).
241 }
242
243 x__xgafv: string, V1 error format.
244 Allowed values
245 1 - v1 error format
246 2 - v2 error format
247
248 Returns:
249 An object of the form:
250
251 {
252 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
253 &quot;id&quot;: &quot;A String&quot;, # Task list identifier.
254 &quot;kind&quot;: &quot;A String&quot;, # Output only. Type of the resource. This is always &quot;tasks#taskList&quot;.
255 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.
256 &quot;title&quot;: &quot;A String&quot;, # Title of the task list. Maximum length allowed: 1024 characters.
257 &quot;updated&quot;: &quot;A String&quot;, # Output only. Last modification time of the task list (as a RFC 3339 timestamp).
258 }</pre>
259 </div>
260
261 <div class="method">
262 <code class="details" id="update">update(tasklist, body=None, x__xgafv=None)</code>
263 <pre>Updates the authenticated user&#x27;s specified task list.
264
265 Args:
266 tasklist: string, Task list identifier. (required)
267 body: object, The request body.
268 The object takes the form of:
269
270 {
271 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
272 &quot;id&quot;: &quot;A String&quot;, # Task list identifier.
273 &quot;kind&quot;: &quot;A String&quot;, # Output only. Type of the resource. This is always &quot;tasks#taskList&quot;.
274 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.
275 &quot;title&quot;: &quot;A String&quot;, # Title of the task list. Maximum length allowed: 1024 characters.
276 &quot;updated&quot;: &quot;A String&quot;, # Output only. Last modification time of the task list (as a RFC 3339 timestamp).
277 }
278
279 x__xgafv: string, V1 error format.
280 Allowed values
281 1 - v1 error format
282 2 - v2 error format
283
284 Returns:
285 An object of the form:
286
287 {
288 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
289 &quot;id&quot;: &quot;A String&quot;, # Task list identifier.
290 &quot;kind&quot;: &quot;A String&quot;, # Output only. Type of the resource. This is always &quot;tasks#taskList&quot;.
291 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.
292 &quot;title&quot;: &quot;A String&quot;, # Title of the task list. Maximum length allowed: 1024 characters.
293 &quot;updated&quot;: &quot;A String&quot;, # Output only. Last modification time of the task list (as a RFC 3339 timestamp).
294 }</pre>
295 </div>
296
297 </body></html>