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="#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.</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.</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.</p> 92<p class="toc_element"> 93 <code><a href="#list_next">list_next(previous_request, previous_response)</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's specified task list. 110 111Args: 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's specified task list. 123 124Args: 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 131Returns: 132 An object of the form: 133 134 { 135 "etag": "A String", # ETag of the resource. 136 "id": "A String", # Task list identifier. 137 "kind": "A String", # Type of the resource. This is always "tasks#taskList". 138 "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. 139 "title": "A String", # Title of the task list. 140 "updated": "A String", # 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's task lists. 147 148Args: 149 body: object, The request body. 150 The object takes the form of: 151 152{ 153 "etag": "A String", # ETag of the resource. 154 "id": "A String", # Task list identifier. 155 "kind": "A String", # Type of the resource. This is always "tasks#taskList". 156 "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. 157 "title": "A String", # Title of the task list. 158 "updated": "A String", # 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 166Returns: 167 An object of the form: 168 169 { 170 "etag": "A String", # ETag of the resource. 171 "id": "A String", # Task list identifier. 172 "kind": "A String", # Type of the resource. This is always "tasks#taskList". 173 "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. 174 "title": "A String", # Title of the task list. 175 "updated": "A String", # 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's task lists. 182 183Args: 184 maxResults: integer, Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100). 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 191Returns: 192 An object of the form: 193 194 { 195 "etag": "A String", # ETag of the resource. 196 "items": [ # Collection of task lists. 197 { 198 "etag": "A String", # ETag of the resource. 199 "id": "A String", # Task list identifier. 200 "kind": "A String", # Type of the resource. This is always "tasks#taskList". 201 "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. 202 "title": "A String", # Title of the task list. 203 "updated": "A String", # Last modification time of the task list (as a RFC 3339 timestamp). 204 }, 205 ], 206 "kind": "A String", # Type of the resource. This is always "tasks#taskLists". 207 "nextPageToken": "A String", # 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(previous_request, previous_response)</code> 213 <pre>Retrieves the next page of results. 214 215Args: 216 previous_request: The request for the previous page. (required) 217 previous_response: The response from the request for the previous page. (required) 218 219Returns: 220 A request object that you can call 'execute()' 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's specified task list. This method supports patch semantics. 228 229Args: 230 tasklist: string, Task list identifier. (required) 231 body: object, The request body. 232 The object takes the form of: 233 234{ 235 "etag": "A String", # ETag of the resource. 236 "id": "A String", # Task list identifier. 237 "kind": "A String", # Type of the resource. This is always "tasks#taskList". 238 "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. 239 "title": "A String", # Title of the task list. 240 "updated": "A String", # 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 248Returns: 249 An object of the form: 250 251 { 252 "etag": "A String", # ETag of the resource. 253 "id": "A String", # Task list identifier. 254 "kind": "A String", # Type of the resource. This is always "tasks#taskList". 255 "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. 256 "title": "A String", # Title of the task list. 257 "updated": "A String", # 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's specified task list. 264 265Args: 266 tasklist: string, Task list identifier. (required) 267 body: object, The request body. 268 The object takes the form of: 269 270{ 271 "etag": "A String", # ETag of the resource. 272 "id": "A String", # Task list identifier. 273 "kind": "A String", # Type of the resource. This is always "tasks#taskList". 274 "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. 275 "title": "A String", # Title of the task list. 276 "updated": "A String", # 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 284Returns: 285 An object of the form: 286 287 { 288 "etag": "A String", # ETag of the resource. 289 "id": "A String", # Task list identifier. 290 "kind": "A String", # Type of the resource. This is always "tasks#taskList". 291 "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. 292 "title": "A String", # Title of the task list. 293 "updated": "A String", # Last modification time of the task list (as a RFC 3339 timestamp). 294}</pre> 295</div> 296 297</body></html>