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