blob: eb8def4c3bcb1190f70fd5091f7844ebe3e19426 [file] [log] [blame]
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001<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="#batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Updates multiple rows.</p>
83<p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85<p class="firstline">Close httplib2 connections.</p>
86<p class="toc_element">
87 <code><a href="#create">create(parent, body=None, view=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Creates a row.</p>
89<p class="toc_element">
90 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
91<p class="firstline">Deletes a row.</p>
92<p class="toc_element">
93 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
94<p class="firstline">Gets a row. Returns NOT_FOUND if the row does not exist in the table.</p>
95<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080096 <code><a href="#list">list(parent, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070097<p class="firstline">Lists rows in a table. Returns NOT_FOUND if the table does not exist.</p>
98<p class="toc_element">
99 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800102 <code><a href="#patch">patch(name, body=None, updateMask=None, view=None, x__xgafv=None)</a></code></p>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700103<p class="firstline">Updates a row.</p>
104<h3>Method Details</h3>
105<div class="method">
106 <code class="details" id="batchCreate">batchCreate(parent, body=None, x__xgafv=None)</code>
107 <pre>Creates multiple rows.
108
109Args:
110 parent: string, Required. The parent table where the rows will be created. Format: tables/{table} (required)
111 body: object, The request body.
112 The object takes the form of:
113
114{ # Request message for TablesService.BatchCreateRows.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800115 &quot;requests&quot;: [ # Required. The request message specifying the rows to create. A maximum of 500 rows can be created in a single batch.
116 { # Request message for TablesService.CreateRow.
117 &quot;parent&quot;: &quot;A String&quot;, # Required. The parent table where this row will be created. Format: tables/{table}
118 &quot;row&quot;: { # A single row in a table. # Required. The row to create.
119 &quot;name&quot;: &quot;A String&quot;, # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.
120 &quot;values&quot;: { # 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.
121 &quot;a_key&quot;: &quot;&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800122 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700123 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800124 &quot;view&quot;: &quot;A String&quot;, # Optional. Column key to use for values in the row. Defaults to user entered name.
125 },
126 ],
127}
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700128
129 x__xgafv: string, V1 error format.
130 Allowed values
131 1 - v1 error format
132 2 - v2 error format
133
134Returns:
135 An object of the form:
136
137 { # Response message for TablesService.BatchCreateRows.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800138 &quot;rows&quot;: [ # The created rows.
139 { # A single row in a table.
140 &quot;name&quot;: &quot;A String&quot;, # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.
141 &quot;values&quot;: { # 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.
142 &quot;a_key&quot;: &quot;&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800143 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800144 },
145 ],
146}</pre>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700147</div>
148
149<div class="method">
150 <code class="details" id="batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</code>
151 <pre>Updates multiple rows.
152
153Args:
154 parent: string, Required. The parent table shared by all rows being updated. Format: tables/{table} (required)
155 body: object, The request body.
156 The object takes the form of:
157
158{ # Request message for TablesService.BatchUpdateRows.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800159 &quot;requests&quot;: [ # Required. The request messages specifying the rows to update. A maximum of 500 rows can be modified in a single batch.
160 { # Request message for TablesService.UpdateRow.
161 &quot;row&quot;: { # A single row in a table. # Required. The row to update.
162 &quot;name&quot;: &quot;A String&quot;, # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.
163 &quot;values&quot;: { # 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.
164 &quot;a_key&quot;: &quot;&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800165 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700166 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800167 &quot;updateMask&quot;: &quot;A String&quot;, # The list of fields to update.
168 &quot;view&quot;: &quot;A String&quot;, # Optional. Column key to use for values in the row. Defaults to user entered name.
169 },
170 ],
171}
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700172
173 x__xgafv: string, V1 error format.
174 Allowed values
175 1 - v1 error format
176 2 - v2 error format
177
178Returns:
179 An object of the form:
180
181 { # Response message for TablesService.BatchUpdateRows.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800182 &quot;rows&quot;: [ # The updated rows.
183 { # A single row in a table.
184 &quot;name&quot;: &quot;A String&quot;, # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.
185 &quot;values&quot;: { # 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.
186 &quot;a_key&quot;: &quot;&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800187 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800188 },
189 ],
190}</pre>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700191</div>
192
193<div class="method">
194 <code class="details" id="close">close()</code>
195 <pre>Close httplib2 connections.</pre>
196</div>
197
198<div class="method">
199 <code class="details" id="create">create(parent, body=None, view=None, x__xgafv=None)</code>
200 <pre>Creates a row.
201
202Args:
203 parent: string, Required. The parent table where this row will be created. Format: tables/{table} (required)
204 body: object, The request body.
205 The object takes the form of:
206
207{ # A single row in a table.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800208 &quot;name&quot;: &quot;A String&quot;, # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.
209 &quot;values&quot;: { # 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.
210 &quot;a_key&quot;: &quot;&quot;,
211 },
212}
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700213
214 view: string, Optional. Column key to use for values in the row. Defaults to user entered name.
215 Allowed values
216 VIEW_UNSPECIFIED - Defaults to user entered text.
217 COLUMN_ID_VIEW - Uses internally generated column id to identify values.
218 x__xgafv: string, V1 error format.
219 Allowed values
220 1 - v1 error format
221 2 - v2 error format
222
223Returns:
224 An object of the form:
225
226 { # A single row in a table.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800227 &quot;name&quot;: &quot;A String&quot;, # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.
228 &quot;values&quot;: { # 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.
229 &quot;a_key&quot;: &quot;&quot;,
230 },
231}</pre>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700232</div>
233
234<div class="method">
235 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
236 <pre>Deletes a row.
237
238Args:
239 name: string, Required. The name of the row to delete. Format: tables/{table}/rows/{row} (required)
240 x__xgafv: string, V1 error format.
241 Allowed values
242 1 - v1 error format
243 2 - v2 error format
244
245Returns:
246 An object of the form:
247
248 { # 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 `{}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800249}</pre>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700250</div>
251
252<div class="method">
253 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
254 <pre>Gets a row. Returns NOT_FOUND if the row does not exist in the table.
255
256Args:
257 name: string, Required. The name of the row to retrieve. Format: tables/{table}/rows/{row} (required)
258 view: string, Optional. Column key to use for values in the row. Defaults to user entered name.
259 Allowed values
260 VIEW_UNSPECIFIED - Defaults to user entered text.
261 COLUMN_ID_VIEW - Uses internally generated column id to identify values.
262 x__xgafv: string, V1 error format.
263 Allowed values
264 1 - v1 error format
265 2 - v2 error format
266
267Returns:
268 An object of the form:
269
270 { # A single row in a table.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800271 &quot;name&quot;: &quot;A String&quot;, # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.
272 &quot;values&quot;: { # 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.
273 &quot;a_key&quot;: &quot;&quot;,
274 },
275}</pre>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700276</div>
277
278<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800279 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700280 <pre>Lists rows in a table. Returns NOT_FOUND if the table does not exist.
281
282Args:
283 parent: string, Required. The parent table. Format: tables/{table} (required)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800284 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.
285 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700286 view: string, Optional. Column key to use for values in the row. Defaults to user entered name.
287 Allowed values
288 VIEW_UNSPECIFIED - Defaults to user entered text.
289 COLUMN_ID_VIEW - Uses internally generated column id to identify values.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700290 x__xgafv: string, V1 error format.
291 Allowed values
292 1 - v1 error format
293 2 - v2 error format
294
295Returns:
296 An object of the form:
297
298 { # Response message for TablesService.ListRows.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800299 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.
300 &quot;rows&quot;: [ # The rows from the specified table.
301 { # A single row in a table.
302 &quot;name&quot;: &quot;A String&quot;, # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.
303 &quot;values&quot;: { # 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.
304 &quot;a_key&quot;: &quot;&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800305 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800306 },
307 ],
308}</pre>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700309</div>
310
311<div class="method">
312 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
313 <pre>Retrieves the next page of results.
314
315Args:
316 previous_request: The request for the previous page. (required)
317 previous_response: The response from the request for the previous page. (required)
318
319Returns:
320 A request object that you can call &#x27;execute()&#x27; on to request the next
321 page. Returns None if there are no more items in the collection.
322 </pre>
323</div>
324
325<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800326 <code class="details" id="patch">patch(name, body=None, updateMask=None, view=None, x__xgafv=None)</code>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700327 <pre>Updates a row.
328
329Args:
330 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)
331 body: object, The request body.
332 The object takes the form of:
333
334{ # A single row in a table.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800335 &quot;name&quot;: &quot;A String&quot;, # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.
336 &quot;values&quot;: { # 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.
337 &quot;a_key&quot;: &quot;&quot;,
338 },
339}
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700340
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800341 updateMask: string, The list of fields to update.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700342 view: string, Optional. Column key to use for values in the row. Defaults to user entered name.
343 Allowed values
344 VIEW_UNSPECIFIED - Defaults to user entered text.
345 COLUMN_ID_VIEW - Uses internally generated column id to identify values.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700346 x__xgafv: string, V1 error format.
347 Allowed values
348 1 - v1 error format
349 2 - v2 error format
350
351Returns:
352 An object of the form:
353
354 { # A single row in a table.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800355 &quot;name&quot;: &quot;A String&quot;, # The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.
356 &quot;values&quot;: { # 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.
357 &quot;a_key&quot;: &quot;&quot;,
358 },
359}</pre>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700360</div>
361
362</body></html>