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="area120tables_v1alpha1.html">Area120 Tables API</a> . <a href="area120tables_v1alpha1.tables.html">tables</a> . <a href="area120tables_v1alpha1.tables.rows.html">rows</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#batchCreate">batchCreate(parent, body=None, x__xgafv=None)</a></code></p> 79<p class="firstline">Creates multiple rows.</p> 80<p class="toc_element"> 81 <code><a href="#batchDelete">batchDelete(parent, body=None, x__xgafv=None)</a></code></p> 82<p class="firstline">Deletes multiple rows.</p> 83<p class="toc_element"> 84 <code><a href="#batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Updates multiple rows.</p> 86<p class="toc_element"> 87 <code><a href="#close">close()</a></code></p> 88<p class="firstline">Close httplib2 connections.</p> 89<p class="toc_element"> 90 <code><a href="#create">create(parent, body=None, view=None, x__xgafv=None)</a></code></p> 91<p class="firstline">Creates a row.</p> 92<p class="toc_element"> 93 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> 94<p class="firstline">Deletes a row.</p> 95<p class="toc_element"> 96 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p> 97<p class="firstline">Gets a row. Returns NOT_FOUND if the row does not exist in the table.</p> 98<p class="toc_element"> 99 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p> 100<p class="firstline">Lists rows in a table. Returns NOT_FOUND if the table does not exist.</p> 101<p class="toc_element"> 102 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 103<p class="firstline">Retrieves the next page of results.</p> 104<p class="toc_element"> 105 <code><a href="#patch">patch(name, body=None, updateMask=None, view=None, x__xgafv=None)</a></code></p> 106<p class="firstline">Updates a row.</p> 107<h3>Method Details</h3> 108<div class="method"> 109 <code class="details" id="batchCreate">batchCreate(parent, body=None, x__xgafv=None)</code> 110 <pre>Creates multiple rows. 111 112Args: 113 parent: string, Required. The parent table where the rows will be created. Format: tables/{table} (required) 114 body: object, The request body. 115 The object takes the form of: 116 117{ # Request message for TablesService.BatchCreateRows. 118 "requests": [ # Required. The request message specifying the rows to create. A maximum of 500 rows can be created in a single batch. 119 { # Request message for TablesService.CreateRow. 120 "parent": "A String", # Required. The parent table where this row will be created. Format: tables/{table} 121 "row": { # A single row in a table. # Required. The row to create. 122 "createTime": "A String", # Time when the row was created. 123 "name": "A String", # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. 124 "updateTime": "A String", # Time when the row was last updated. 125 "values": { # The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. 126 "a_key": "", 127 }, 128 }, 129 "view": "A String", # Optional. Column key to use for values in the row. Defaults to user entered name. 130 }, 131 ], 132} 133 134 x__xgafv: string, V1 error format. 135 Allowed values 136 1 - v1 error format 137 2 - v2 error format 138 139Returns: 140 An object of the form: 141 142 { # Response message for TablesService.BatchCreateRows. 143 "rows": [ # The created rows. 144 { # A single row in a table. 145 "createTime": "A String", # Time when the row was created. 146 "name": "A String", # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. 147 "updateTime": "A String", # Time when the row was last updated. 148 "values": { # The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. 149 "a_key": "", 150 }, 151 }, 152 ], 153}</pre> 154</div> 155 156<div class="method"> 157 <code class="details" id="batchDelete">batchDelete(parent, body=None, x__xgafv=None)</code> 158 <pre>Deletes multiple rows. 159 160Args: 161 parent: string, Required. The parent table shared by all rows being deleted. Format: tables/{table} (required) 162 body: object, The request body. 163 The object takes the form of: 164 165{ # Request message for TablesService.BatchDeleteRows 166 "names": [ # Required. The names of the rows to delete. All rows must belong to the parent table or else the entire batch will fail. A maximum of 500 rows can be deleted in a batch. Format: tables/{table}/rows/{row} 167 "A String", 168 ], 169} 170 171 x__xgafv: string, V1 error format. 172 Allowed values 173 1 - v1 error format 174 2 - v2 error format 175 176Returns: 177 An object of the form: 178 179 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. 180}</pre> 181</div> 182 183<div class="method"> 184 <code class="details" id="batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</code> 185 <pre>Updates multiple rows. 186 187Args: 188 parent: string, Required. The parent table shared by all rows being updated. Format: tables/{table} (required) 189 body: object, The request body. 190 The object takes the form of: 191 192{ # Request message for TablesService.BatchUpdateRows. 193 "requests": [ # Required. The request messages specifying the rows to update. A maximum of 500 rows can be modified in a single batch. 194 { # Request message for TablesService.UpdateRow. 195 "row": { # A single row in a table. # Required. The row to update. 196 "createTime": "A String", # Time when the row was created. 197 "name": "A String", # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. 198 "updateTime": "A String", # Time when the row was last updated. 199 "values": { # The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. 200 "a_key": "", 201 }, 202 }, 203 "updateMask": "A String", # The list of fields to update. 204 "view": "A String", # Optional. Column key to use for values in the row. Defaults to user entered name. 205 }, 206 ], 207} 208 209 x__xgafv: string, V1 error format. 210 Allowed values 211 1 - v1 error format 212 2 - v2 error format 213 214Returns: 215 An object of the form: 216 217 { # Response message for TablesService.BatchUpdateRows. 218 "rows": [ # The updated rows. 219 { # A single row in a table. 220 "createTime": "A String", # Time when the row was created. 221 "name": "A String", # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. 222 "updateTime": "A String", # Time when the row was last updated. 223 "values": { # The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. 224 "a_key": "", 225 }, 226 }, 227 ], 228}</pre> 229</div> 230 231<div class="method"> 232 <code class="details" id="close">close()</code> 233 <pre>Close httplib2 connections.</pre> 234</div> 235 236<div class="method"> 237 <code class="details" id="create">create(parent, body=None, view=None, x__xgafv=None)</code> 238 <pre>Creates a row. 239 240Args: 241 parent: string, Required. The parent table where this row will be created. Format: tables/{table} (required) 242 body: object, The request body. 243 The object takes the form of: 244 245{ # A single row in a table. 246 "createTime": "A String", # Time when the row was created. 247 "name": "A String", # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. 248 "updateTime": "A String", # Time when the row was last updated. 249 "values": { # The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. 250 "a_key": "", 251 }, 252} 253 254 view: string, Optional. Column key to use for values in the row. Defaults to user entered name. 255 Allowed values 256 VIEW_UNSPECIFIED - Defaults to user entered text. 257 COLUMN_ID_VIEW - Uses internally generated column id to identify values. 258 x__xgafv: string, V1 error format. 259 Allowed values 260 1 - v1 error format 261 2 - v2 error format 262 263Returns: 264 An object of the form: 265 266 { # A single row in a table. 267 "createTime": "A String", # Time when the row was created. 268 "name": "A String", # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. 269 "updateTime": "A String", # Time when the row was last updated. 270 "values": { # The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. 271 "a_key": "", 272 }, 273}</pre> 274</div> 275 276<div class="method"> 277 <code class="details" id="delete">delete(name, x__xgafv=None)</code> 278 <pre>Deletes a row. 279 280Args: 281 name: string, Required. The name of the row to delete. Format: tables/{table}/rows/{row} (required) 282 x__xgafv: string, V1 error format. 283 Allowed values 284 1 - v1 error format 285 2 - v2 error format 286 287Returns: 288 An object of the form: 289 290 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. 291}</pre> 292</div> 293 294<div class="method"> 295 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code> 296 <pre>Gets a row. Returns NOT_FOUND if the row does not exist in the table. 297 298Args: 299 name: string, Required. The name of the row to retrieve. Format: tables/{table}/rows/{row} (required) 300 view: string, Optional. Column key to use for values in the row. Defaults to user entered name. 301 Allowed values 302 VIEW_UNSPECIFIED - Defaults to user entered text. 303 COLUMN_ID_VIEW - Uses internally generated column id to identify values. 304 x__xgafv: string, V1 error format. 305 Allowed values 306 1 - v1 error format 307 2 - v2 error format 308 309Returns: 310 An object of the form: 311 312 { # A single row in a table. 313 "createTime": "A String", # Time when the row was created. 314 "name": "A String", # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. 315 "updateTime": "A String", # Time when the row was last updated. 316 "values": { # The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. 317 "a_key": "", 318 }, 319}</pre> 320</div> 321 322<div class="method"> 323 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code> 324 <pre>Lists rows in a table. Returns NOT_FOUND if the table does not exist. 325 326Args: 327 parent: string, Required. The parent table. Format: tables/{table} (required) 328 filter: string, Optional. Filter to only include resources matching the requirements. For more information, see [Filtering list results](https://support.google.com/area120-tables/answer/10503371). 329 orderBy: string, Optional. Sorting order for the list of rows on createTime/updateTime. 330 pageSize: integer, The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 50 rows are returned. The maximum value is 1,000; values above 1,000 are coerced to 1,000. 331 pageToken: string, A page token, received from a previous `ListRows` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRows` must match the call that provided the page token. 332 view: string, Optional. Column key to use for values in the row. Defaults to user entered name. 333 Allowed values 334 VIEW_UNSPECIFIED - Defaults to user entered text. 335 COLUMN_ID_VIEW - Uses internally generated column id to identify values. 336 x__xgafv: string, V1 error format. 337 Allowed values 338 1 - v1 error format 339 2 - v2 error format 340 341Returns: 342 An object of the form: 343 344 { # Response message for TablesService.ListRows. 345 "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. 346 "rows": [ # The rows from the specified table. 347 { # A single row in a table. 348 "createTime": "A String", # Time when the row was created. 349 "name": "A String", # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. 350 "updateTime": "A String", # Time when the row was last updated. 351 "values": { # The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. 352 "a_key": "", 353 }, 354 }, 355 ], 356}</pre> 357</div> 358 359<div class="method"> 360 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 361 <pre>Retrieves the next page of results. 362 363Args: 364 previous_request: The request for the previous page. (required) 365 previous_response: The response from the request for the previous page. (required) 366 367Returns: 368 A request object that you can call 'execute()' on to request the next 369 page. Returns None if there are no more items in the collection. 370 </pre> 371</div> 372 373<div class="method"> 374 <code class="details" id="patch">patch(name, body=None, updateMask=None, view=None, x__xgafv=None)</code> 375 <pre>Updates a row. 376 377Args: 378 name: string, The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. (required) 379 body: object, The request body. 380 The object takes the form of: 381 382{ # A single row in a table. 383 "createTime": "A String", # Time when the row was created. 384 "name": "A String", # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. 385 "updateTime": "A String", # Time when the row was last updated. 386 "values": { # The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. 387 "a_key": "", 388 }, 389} 390 391 updateMask: string, The list of fields to update. 392 view: string, Optional. Column key to use for values in the row. Defaults to user entered name. 393 Allowed values 394 VIEW_UNSPECIFIED - Defaults to user entered text. 395 COLUMN_ID_VIEW - Uses internally generated column id to identify values. 396 x__xgafv: string, V1 error format. 397 Allowed values 398 1 - v1 error format 399 2 - v2 error format 400 401Returns: 402 An object of the form: 403 404 { # A single row in a table. 405 "createTime": "A String", # Time when the row was created. 406 "name": "A String", # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. 407 "updateTime": "A String", # Time when the row was last updated. 408 "values": { # The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. 409 "a_key": "", 410 }, 411}</pre> 412</div> 413 414</body></html>