Debian Codegraph @

internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/area120/tables/apiv1alpha1",
4 "version": "0.9.7",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.area120.tables.v1alpha1",
9 "version": "v1alpha1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "area120tables_v1alpha1_generated_TablesService_BatchCreateRows_sync",
16 "title": "area120tables BatchCreateRows Sample",
17 "description": "BatchCreateRows creates multiple rows.",
18 "file": "Client/BatchCreateRows/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "BatchCreateRows",
22 "fullName": "google.area120.tables.v1alpha1.Client.BatchCreateRows",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "tablespb.BatchCreateRowsRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "*tablespb.BatchCreateRowsResponse",
38 "client": {
39 "shortName": "Client",
40 "fullName": "google.area120.tables.v1alpha1.Client"
41 },
42 "method": {
43 "shortName": "BatchCreateRows",
44 "fullName": "google.area120.tables.v1alpha1.TablesService.BatchCreateRows",
45 "service": {
46 "shortName": "TablesService",
47 "fullName": "google.area120.tables.v1alpha1.TablesService"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 53,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "area120tables_v1alpha1_generated_TablesService_BatchDeleteRows_sync",
62 "title": "area120tables BatchDeleteRows Sample",
63 "description": "BatchDeleteRows deletes multiple rows.",
64 "file": "Client/BatchDeleteRows/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "BatchDeleteRows",
68 "fullName": "google.area120.tables.v1alpha1.Client.BatchDeleteRows",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "tablespb.BatchDeleteRowsRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "client": {
84 "shortName": "Client",
85 "fullName": "google.area120.tables.v1alpha1.Client"
86 },
87 "method": {
88 "shortName": "BatchDeleteRows",
89 "fullName": "google.area120.tables.v1alpha1.TablesService.BatchDeleteRows",
90 "service": {
91 "shortName": "TablesService",
92 "fullName": "google.area120.tables.v1alpha1.TablesService"
93 }
94 }
95 },
96 "origin": "API_DEFINITION",
97 "segments": [
98 {
99 "start": 18,
100 "end": 51,
101 "type": "FULL"
102 }
103 ]
104 },
105 {
106 "regionTag": "area120tables_v1alpha1_generated_TablesService_BatchUpdateRows_sync",
107 "title": "area120tables BatchUpdateRows Sample",
108 "description": "BatchUpdateRows updates multiple rows.",
109 "file": "Client/BatchUpdateRows/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "BatchUpdateRows",
113 "fullName": "google.area120.tables.v1alpha1.Client.BatchUpdateRows",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "tablespb.BatchUpdateRowsRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "*tablespb.BatchUpdateRowsResponse",
129 "client": {
130 "shortName": "Client",
131 "fullName": "google.area120.tables.v1alpha1.Client"
132 },
133 "method": {
134 "shortName": "BatchUpdateRows",
135 "fullName": "google.area120.tables.v1alpha1.TablesService.BatchUpdateRows",
136 "service": {
137 "shortName": "TablesService",
138 "fullName": "google.area120.tables.v1alpha1.TablesService"
139 }
140 }
141 },
142 "origin": "API_DEFINITION",
143 "segments": [
144 {
145 "start": 18,
146 "end": 53,
147 "type": "FULL"
148 }
149 ]
150 },
151 {
152 "regionTag": "area120tables_v1alpha1_generated_TablesService_CreateRow_sync",
153 "title": "area120tables CreateRow Sample",
154 "description": "CreateRow creates a row.",
155 "file": "Client/CreateRow/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "CreateRow",
159 "fullName": "google.area120.tables.v1alpha1.Client.CreateRow",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "tablespb.CreateRowRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "*tablespb.Row",
175 "client": {
176 "shortName": "Client",
177 "fullName": "google.area120.tables.v1alpha1.Client"
178 },
179 "method": {
180 "shortName": "CreateRow",
181 "fullName": "google.area120.tables.v1alpha1.TablesService.CreateRow",
182 "service": {
183 "shortName": "TablesService",
184 "fullName": "google.area120.tables.v1alpha1.TablesService"
185 }
186 }
187 },
188 "origin": "API_DEFINITION",
189 "segments": [
190 {
191 "start": 18,
192 "end": 53,
193 "type": "FULL"
194 }
195 ]
196 },
197 {
198 "regionTag": "area120tables_v1alpha1_generated_TablesService_DeleteRow_sync",
199 "title": "area120tables DeleteRow Sample",
200 "description": "DeleteRow deletes a row.",
201 "file": "Client/DeleteRow/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "DeleteRow",
205 "fullName": "google.area120.tables.v1alpha1.Client.DeleteRow",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "tablespb.DeleteRowRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "client": {
221 "shortName": "Client",
222 "fullName": "google.area120.tables.v1alpha1.Client"
223 },
224 "method": {
225 "shortName": "DeleteRow",
226 "fullName": "google.area120.tables.v1alpha1.TablesService.DeleteRow",
227 "service": {
228 "shortName": "TablesService",
229 "fullName": "google.area120.tables.v1alpha1.TablesService"
230 }
231 }
232 },
233 "origin": "API_DEFINITION",
234 "segments": [
235 {
236 "start": 18,
237 "end": 51,
238 "type": "FULL"
239 }
240 ]
241 },
242 {
243 "regionTag": "area120tables_v1alpha1_generated_TablesService_GetRow_sync",
244 "title": "area120tables GetRow Sample",
245 "description": "GetRow gets a row. Returns NOT_FOUND if the row does not exist in the table.",
246 "file": "Client/GetRow/main.go",
247 "language": "GO",
248 "clientMethod": {
249 "shortName": "GetRow",
250 "fullName": "google.area120.tables.v1alpha1.Client.GetRow",
251 "parameters": [
252 {
253 "type": "context.Context",
254 "name": "ctx"
255 },
256 {
257 "type": "tablespb.GetRowRequest",
258 "name": "req"
259 },
260 {
261 "type": "...gax.CallOption",
262 "name": "opts"
263 }
264 ],
265 "resultType": "*tablespb.Row",
266 "client": {
267 "shortName": "Client",
268 "fullName": "google.area120.tables.v1alpha1.Client"
269 },
270 "method": {
271 "shortName": "GetRow",
272 "fullName": "google.area120.tables.v1alpha1.TablesService.GetRow",
273 "service": {
274 "shortName": "TablesService",
275 "fullName": "google.area120.tables.v1alpha1.TablesService"
276 }
277 }
278 },
279 "origin": "API_DEFINITION",
280 "segments": [
281 {
282 "start": 18,
283 "end": 53,
284 "type": "FULL"
285 }
286 ]
287 },
288 {
289 "regionTag": "area120tables_v1alpha1_generated_TablesService_GetTable_sync",
290 "title": "area120tables GetTable Sample",
291 "description": "GetTable gets a table. Returns NOT_FOUND if the table does not exist.",
292 "file": "Client/GetTable/main.go",
293 "language": "GO",
294 "clientMethod": {
295 "shortName": "GetTable",
296 "fullName": "google.area120.tables.v1alpha1.Client.GetTable",
297 "parameters": [
298 {
299 "type": "context.Context",
300 "name": "ctx"
301 },
302 {
303 "type": "tablespb.GetTableRequest",
304 "name": "req"
305 },
306 {
307 "type": "...gax.CallOption",
308 "name": "opts"
309 }
310 ],
311 "resultType": "*tablespb.Table",
312 "client": {
313 "shortName": "Client",
314 "fullName": "google.area120.tables.v1alpha1.Client"
315 },
316 "method": {
317 "shortName": "GetTable",
318 "fullName": "google.area120.tables.v1alpha1.TablesService.GetTable",
319 "service": {
320 "shortName": "TablesService",
321 "fullName": "google.area120.tables.v1alpha1.TablesService"
322 }
323 }
324 },
325 "origin": "API_DEFINITION",
326 "segments": [
327 {
328 "start": 18,
329 "end": 53,
330 "type": "FULL"
331 }
332 ]
333 },
334 {
335 "regionTag": "area120tables_v1alpha1_generated_TablesService_GetWorkspace_sync",
336 "title": "area120tables GetWorkspace Sample",
337 "description": "GetWorkspace gets a workspace. Returns NOT_FOUND if the workspace does not exist.",
338 "file": "Client/GetWorkspace/main.go",
339 "language": "GO",
340 "clientMethod": {
341 "shortName": "GetWorkspace",
342 "fullName": "google.area120.tables.v1alpha1.Client.GetWorkspace",
343 "parameters": [
344 {
345 "type": "context.Context",
346 "name": "ctx"
347 },
348 {
349 "type": "tablespb.GetWorkspaceRequest",
350 "name": "req"
351 },
352 {
353 "type": "...gax.CallOption",
354 "name": "opts"
355 }
356 ],
357 "resultType": "*tablespb.Workspace",
358 "client": {
359 "shortName": "Client",
360 "fullName": "google.area120.tables.v1alpha1.Client"
361 },
362 "method": {
363 "shortName": "GetWorkspace",
364 "fullName": "google.area120.tables.v1alpha1.TablesService.GetWorkspace",
365 "service": {
366 "shortName": "TablesService",
367 "fullName": "google.area120.tables.v1alpha1.TablesService"
368 }
369 }
370 },
371 "origin": "API_DEFINITION",
372 "segments": [
373 {
374 "start": 18,
375 "end": 53,
376 "type": "FULL"
377 }
378 ]
379 },
380 {
381 "regionTag": "area120tables_v1alpha1_generated_TablesService_ListRows_sync",
382 "title": "area120tables ListRows Sample",
383 "description": "ListRows lists rows in a table. Returns NOT_FOUND if the table does not exist.",
384 "file": "Client/ListRows/main.go",
385 "language": "GO",
386 "clientMethod": {
387 "shortName": "ListRows",
388 "fullName": "google.area120.tables.v1alpha1.Client.ListRows",
389 "parameters": [
390 {
391 "type": "context.Context",
392 "name": "ctx"
393 },
394 {
395 "type": "tablespb.ListRowsRequest",
396 "name": "req"
397 },
398 {
399 "type": "...gax.CallOption",
400 "name": "opts"
401 }
402 ],
403 "resultType": "RowIterator",
404 "client": {
405 "shortName": "Client",
406 "fullName": "google.area120.tables.v1alpha1.Client"
407 },
408 "method": {
409 "shortName": "ListRows",
410 "fullName": "google.area120.tables.v1alpha1.TablesService.ListRows",
411 "service": {
412 "shortName": "TablesService",
413 "fullName": "google.area120.tables.v1alpha1.TablesService"
414 }
415 }
416 },
417 "origin": "API_DEFINITION",
418 "segments": [
419 {
420 "start": 18,
421 "end": 66,
422 "type": "FULL"
423 }
424 ]
425 },
426 {
427 "regionTag": "area120tables_v1alpha1_generated_TablesService_ListTables_sync",
428 "title": "area120tables ListTables Sample",
429 "description": "ListTables lists tables for the user.",
430 "file": "Client/ListTables/main.go",
431 "language": "GO",
432 "clientMethod": {
433 "shortName": "ListTables",
434 "fullName": "google.area120.tables.v1alpha1.Client.ListTables",
435 "parameters": [
436 {
437 "type": "context.Context",
438 "name": "ctx"
439 },
440 {
441 "type": "tablespb.ListTablesRequest",
442 "name": "req"
443 },
444 {
445 "type": "...gax.CallOption",
446 "name": "opts"
447 }
448 ],
449 "resultType": "TableIterator",
450 "client": {
451 "shortName": "Client",
452 "fullName": "google.area120.tables.v1alpha1.Client"
453 },
454 "method": {
455 "shortName": "ListTables",
456 "fullName": "google.area120.tables.v1alpha1.TablesService.ListTables",
457 "service": {
458 "shortName": "TablesService",
459 "fullName": "google.area120.tables.v1alpha1.TablesService"
460 }
461 }
462 },
463 "origin": "API_DEFINITION",
464 "segments": [
465 {
466 "start": 18,
467 "end": 66,
468 "type": "FULL"
469 }
470 ]
471 },
472 {
473 "regionTag": "area120tables_v1alpha1_generated_TablesService_ListWorkspaces_sync",
474 "title": "area120tables ListWorkspaces Sample",
475 "description": "ListWorkspaces lists workspaces for the user.",
476 "file": "Client/ListWorkspaces/main.go",
477 "language": "GO",
478 "clientMethod": {
479 "shortName": "ListWorkspaces",
480 "fullName": "google.area120.tables.v1alpha1.Client.ListWorkspaces",
481 "parameters": [
482 {
483 "type": "context.Context",
484 "name": "ctx"
485 },
486 {
487 "type": "tablespb.ListWorkspacesRequest",
488 "name": "req"
489 },
490 {
491 "type": "...gax.CallOption",
492 "name": "opts"
493 }
494 ],
495 "resultType": "WorkspaceIterator",
496 "client": {
497 "shortName": "Client",
498 "fullName": "google.area120.tables.v1alpha1.Client"
499 },
500 "method": {
501 "shortName": "ListWorkspaces",
502 "fullName": "google.area120.tables.v1alpha1.TablesService.ListWorkspaces",
503 "service": {
504 "shortName": "TablesService",
505 "fullName": "google.area120.tables.v1alpha1.TablesService"
506 }
507 }
508 },
509 "origin": "API_DEFINITION",
510 "segments": [
511 {
512 "start": 18,
513 "end": 66,
514 "type": "FULL"
515 }
516 ]
517 },
518 {
519 "regionTag": "area120tables_v1alpha1_generated_TablesService_UpdateRow_sync",
520 "title": "area120tables UpdateRow Sample",
521 "description": "UpdateRow updates a row.",
522 "file": "Client/UpdateRow/main.go",
523 "language": "GO",
524 "clientMethod": {
525 "shortName": "UpdateRow",
526 "fullName": "google.area120.tables.v1alpha1.Client.UpdateRow",
527 "parameters": [
528 {
529 "type": "context.Context",
530 "name": "ctx"
531 },
532 {
533 "type": "tablespb.UpdateRowRequest",
534 "name": "req"
535 },
536 {
537 "type": "...gax.CallOption",
538 "name": "opts"
539 }
540 ],
541 "resultType": "*tablespb.Row",
542 "client": {
543 "shortName": "Client",
544 "fullName": "google.area120.tables.v1alpha1.Client"
545 },
546 "method": {
547 "shortName": "UpdateRow",
548 "fullName": "google.area120.tables.v1alpha1.TablesService.UpdateRow",
549 "service": {
550 "shortName": "TablesService",
551 "fullName": "google.area120.tables.v1alpha1.TablesService"
552 }
553 }
554 },
555 "origin": "API_DEFINITION",
556 "segments": [
557 {
558 "start": 18,
559 "end": 53,
560 "type": "FULL"
561 }
562 ]
563 }
564 ]
565 }