Debian Codegraph @

internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/visionai/apiv1",
4 "version": "0.4.5",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.visionai.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "visionai_v1_generated_AppPlatform_AddApplicationStreamInput_sync",
16 "title": "visionai AddApplicationStreamInput Sample",
17 "description": "AddApplicationStreamInput adds target stream input to the Application.\nIf the Application is deployed, the corresponding new Application instance\nwill be created. If the stream has already been in the Application, the RPC\nwill fail.",
18 "file": "AppPlatformClient/AddApplicationStreamInput/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "AddApplicationStreamInput",
22 "fullName": "google.cloud.visionai.v1.AppPlatformClient.AddApplicationStreamInput",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "visionaipb.AddApplicationStreamInputRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "AddApplicationStreamInputOperation",
38 "client": {
39 "shortName": "AppPlatformClient",
40 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
41 },
42 "method": {
43 "shortName": "AddApplicationStreamInput",
44 "fullName": "google.cloud.visionai.v1.AppPlatform.AddApplicationStreamInput",
45 "service": {
46 "shortName": "AppPlatform",
47 "fullName": "google.cloud.visionai.v1.AppPlatform"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 58,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "visionai_v1_generated_AppPlatform_CancelOperation_sync",
62 "title": "visionai CancelOperation Sample",
63 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
64 "file": "AppPlatformClient/CancelOperation/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "CancelOperation",
68 "fullName": "google.cloud.visionai.v1.AppPlatformClient.CancelOperation",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "longrunningpb.CancelOperationRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "client": {
84 "shortName": "AppPlatformClient",
85 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
86 },
87 "method": {
88 "shortName": "CancelOperation",
89 "fullName": "google.longrunning.Operations.CancelOperation",
90 "service": {
91 "shortName": "Operations",
92 "fullName": "google.longrunning.Operations"
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": "visionai_v1_generated_AppPlatform_CreateApplication_sync",
107 "title": "visionai CreateApplication Sample",
108 "description": "CreateApplication creates a new Application in a given project and location.",
109 "file": "AppPlatformClient/CreateApplication/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "CreateApplication",
113 "fullName": "google.cloud.visionai.v1.AppPlatformClient.CreateApplication",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "visionaipb.CreateApplicationRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "CreateApplicationOperation",
129 "client": {
130 "shortName": "AppPlatformClient",
131 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
132 },
133 "method": {
134 "shortName": "CreateApplication",
135 "fullName": "google.cloud.visionai.v1.AppPlatform.CreateApplication",
136 "service": {
137 "shortName": "AppPlatform",
138 "fullName": "google.cloud.visionai.v1.AppPlatform"
139 }
140 }
141 },
142 "origin": "API_DEFINITION",
143 "segments": [
144 {
145 "start": 18,
146 "end": 58,
147 "type": "FULL"
148 }
149 ]
150 },
151 {
152 "regionTag": "visionai_v1_generated_AppPlatform_CreateApplicationInstances_sync",
153 "title": "visionai CreateApplicationInstances Sample",
154 "description": "CreateApplicationInstances adds target stream input to the Application.\nIf the Application is deployed, the corresponding new Application instance\nwill be created. If the stream has already been in the Application, the RPC\nwill fail.",
155 "file": "AppPlatformClient/CreateApplicationInstances/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "CreateApplicationInstances",
159 "fullName": "google.cloud.visionai.v1.AppPlatformClient.CreateApplicationInstances",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "visionaipb.CreateApplicationInstancesRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "CreateApplicationInstancesOperation",
175 "client": {
176 "shortName": "AppPlatformClient",
177 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
178 },
179 "method": {
180 "shortName": "CreateApplicationInstances",
181 "fullName": "google.cloud.visionai.v1.AppPlatform.CreateApplicationInstances",
182 "service": {
183 "shortName": "AppPlatform",
184 "fullName": "google.cloud.visionai.v1.AppPlatform"
185 }
186 }
187 },
188 "origin": "API_DEFINITION",
189 "segments": [
190 {
191 "start": 18,
192 "end": 58,
193 "type": "FULL"
194 }
195 ]
196 },
197 {
198 "regionTag": "visionai_v1_generated_AppPlatform_CreateDraft_sync",
199 "title": "visionai CreateDraft Sample",
200 "description": "CreateDraft creates a new Draft in a given project and location.",
201 "file": "AppPlatformClient/CreateDraft/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "CreateDraft",
205 "fullName": "google.cloud.visionai.v1.AppPlatformClient.CreateDraft",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "visionaipb.CreateDraftRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "CreateDraftOperation",
221 "client": {
222 "shortName": "AppPlatformClient",
223 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
224 },
225 "method": {
226 "shortName": "CreateDraft",
227 "fullName": "google.cloud.visionai.v1.AppPlatform.CreateDraft",
228 "service": {
229 "shortName": "AppPlatform",
230 "fullName": "google.cloud.visionai.v1.AppPlatform"
231 }
232 }
233 },
234 "origin": "API_DEFINITION",
235 "segments": [
236 {
237 "start": 18,
238 "end": 58,
239 "type": "FULL"
240 }
241 ]
242 },
243 {
244 "regionTag": "visionai_v1_generated_AppPlatform_CreateProcessor_sync",
245 "title": "visionai CreateProcessor Sample",
246 "description": "CreateProcessor creates a new Processor in a given project and location.",
247 "file": "AppPlatformClient/CreateProcessor/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "CreateProcessor",
251 "fullName": "google.cloud.visionai.v1.AppPlatformClient.CreateProcessor",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "visionaipb.CreateProcessorRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "resultType": "CreateProcessorOperation",
267 "client": {
268 "shortName": "AppPlatformClient",
269 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
270 },
271 "method": {
272 "shortName": "CreateProcessor",
273 "fullName": "google.cloud.visionai.v1.AppPlatform.CreateProcessor",
274 "service": {
275 "shortName": "AppPlatform",
276 "fullName": "google.cloud.visionai.v1.AppPlatform"
277 }
278 }
279 },
280 "origin": "API_DEFINITION",
281 "segments": [
282 {
283 "start": 18,
284 "end": 58,
285 "type": "FULL"
286 }
287 ]
288 },
289 {
290 "regionTag": "visionai_v1_generated_AppPlatform_DeleteApplication_sync",
291 "title": "visionai DeleteApplication Sample",
292 "description": "DeleteApplication deletes a single Application.",
293 "file": "AppPlatformClient/DeleteApplication/main.go",
294 "language": "GO",
295 "clientMethod": {
296 "shortName": "DeleteApplication",
297 "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeleteApplication",
298 "parameters": [
299 {
300 "type": "context.Context",
301 "name": "ctx"
302 },
303 {
304 "type": "visionaipb.DeleteApplicationRequest",
305 "name": "req"
306 },
307 {
308 "type": "...gax.CallOption",
309 "name": "opts"
310 }
311 ],
312 "resultType": "DeleteApplicationOperation",
313 "client": {
314 "shortName": "AppPlatformClient",
315 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
316 },
317 "method": {
318 "shortName": "DeleteApplication",
319 "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteApplication",
320 "service": {
321 "shortName": "AppPlatform",
322 "fullName": "google.cloud.visionai.v1.AppPlatform"
323 }
324 }
325 },
326 "origin": "API_DEFINITION",
327 "segments": [
328 {
329 "start": 18,
330 "end": 56,
331 "type": "FULL"
332 }
333 ]
334 },
335 {
336 "regionTag": "visionai_v1_generated_AppPlatform_DeleteApplicationInstances_sync",
337 "title": "visionai DeleteApplicationInstances Sample",
338 "description": "DeleteApplicationInstances remove target stream input to the Application, if the Application is\ndeployed, the corresponding instance based will be deleted. If the stream\nis not in the Application, the RPC will fail.",
339 "file": "AppPlatformClient/DeleteApplicationInstances/main.go",
340 "language": "GO",
341 "clientMethod": {
342 "shortName": "DeleteApplicationInstances",
343 "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeleteApplicationInstances",
344 "parameters": [
345 {
346 "type": "context.Context",
347 "name": "ctx"
348 },
349 {
350 "type": "visionaipb.DeleteApplicationInstancesRequest",
351 "name": "req"
352 },
353 {
354 "type": "...gax.CallOption",
355 "name": "opts"
356 }
357 ],
358 "resultType": "DeleteApplicationInstancesOperation",
359 "client": {
360 "shortName": "AppPlatformClient",
361 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
362 },
363 "method": {
364 "shortName": "DeleteApplicationInstances",
365 "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteApplicationInstances",
366 "service": {
367 "shortName": "AppPlatform",
368 "fullName": "google.cloud.visionai.v1.AppPlatform"
369 }
370 }
371 },
372 "origin": "API_DEFINITION",
373 "segments": [
374 {
375 "start": 18,
376 "end": 58,
377 "type": "FULL"
378 }
379 ]
380 },
381 {
382 "regionTag": "visionai_v1_generated_AppPlatform_DeleteDraft_sync",
383 "title": "visionai DeleteDraft Sample",
384 "description": "DeleteDraft deletes a single Draft.",
385 "file": "AppPlatformClient/DeleteDraft/main.go",
386 "language": "GO",
387 "clientMethod": {
388 "shortName": "DeleteDraft",
389 "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeleteDraft",
390 "parameters": [
391 {
392 "type": "context.Context",
393 "name": "ctx"
394 },
395 {
396 "type": "visionaipb.DeleteDraftRequest",
397 "name": "req"
398 },
399 {
400 "type": "...gax.CallOption",
401 "name": "opts"
402 }
403 ],
404 "resultType": "DeleteDraftOperation",
405 "client": {
406 "shortName": "AppPlatformClient",
407 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
408 },
409 "method": {
410 "shortName": "DeleteDraft",
411 "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteDraft",
412 "service": {
413 "shortName": "AppPlatform",
414 "fullName": "google.cloud.visionai.v1.AppPlatform"
415 }
416 }
417 },
418 "origin": "API_DEFINITION",
419 "segments": [
420 {
421 "start": 18,
422 "end": 56,
423 "type": "FULL"
424 }
425 ]
426 },
427 {
428 "regionTag": "visionai_v1_generated_AppPlatform_DeleteOperation_sync",
429 "title": "visionai DeleteOperation Sample",
430 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
431 "file": "AppPlatformClient/DeleteOperation/main.go",
432 "language": "GO",
433 "clientMethod": {
434 "shortName": "DeleteOperation",
435 "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeleteOperation",
436 "parameters": [
437 {
438 "type": "context.Context",
439 "name": "ctx"
440 },
441 {
442 "type": "longrunningpb.DeleteOperationRequest",
443 "name": "req"
444 },
445 {
446 "type": "...gax.CallOption",
447 "name": "opts"
448 }
449 ],
450 "client": {
451 "shortName": "AppPlatformClient",
452 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
453 },
454 "method": {
455 "shortName": "DeleteOperation",
456 "fullName": "google.longrunning.Operations.DeleteOperation",
457 "service": {
458 "shortName": "Operations",
459 "fullName": "google.longrunning.Operations"
460 }
461 }
462 },
463 "origin": "API_DEFINITION",
464 "segments": [
465 {
466 "start": 18,
467 "end": 51,
468 "type": "FULL"
469 }
470 ]
471 },
472 {
473 "regionTag": "visionai_v1_generated_AppPlatform_DeleteProcessor_sync",
474 "title": "visionai DeleteProcessor Sample",
475 "description": "DeleteProcessor deletes a single Processor.",
476 "file": "AppPlatformClient/DeleteProcessor/main.go",
477 "language": "GO",
478 "clientMethod": {
479 "shortName": "DeleteProcessor",
480 "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeleteProcessor",
481 "parameters": [
482 {
483 "type": "context.Context",
484 "name": "ctx"
485 },
486 {
487 "type": "visionaipb.DeleteProcessorRequest",
488 "name": "req"
489 },
490 {
491 "type": "...gax.CallOption",
492 "name": "opts"
493 }
494 ],
495 "resultType": "DeleteProcessorOperation",
496 "client": {
497 "shortName": "AppPlatformClient",
498 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
499 },
500 "method": {
501 "shortName": "DeleteProcessor",
502 "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteProcessor",
503 "service": {
504 "shortName": "AppPlatform",
505 "fullName": "google.cloud.visionai.v1.AppPlatform"
506 }
507 }
508 },
509 "origin": "API_DEFINITION",
510 "segments": [
511 {
512 "start": 18,
513 "end": 56,
514 "type": "FULL"
515 }
516 ]
517 },
518 {
519 "regionTag": "visionai_v1_generated_AppPlatform_DeployApplication_sync",
520 "title": "visionai DeployApplication Sample",
521 "description": "DeployApplication deploys a single Application.",
522 "file": "AppPlatformClient/DeployApplication/main.go",
523 "language": "GO",
524 "clientMethod": {
525 "shortName": "DeployApplication",
526 "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeployApplication",
527 "parameters": [
528 {
529 "type": "context.Context",
530 "name": "ctx"
531 },
532 {
533 "type": "visionaipb.DeployApplicationRequest",
534 "name": "req"
535 },
536 {
537 "type": "...gax.CallOption",
538 "name": "opts"
539 }
540 ],
541 "resultType": "DeployApplicationOperation",
542 "client": {
543 "shortName": "AppPlatformClient",
544 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
545 },
546 "method": {
547 "shortName": "DeployApplication",
548 "fullName": "google.cloud.visionai.v1.AppPlatform.DeployApplication",
549 "service": {
550 "shortName": "AppPlatform",
551 "fullName": "google.cloud.visionai.v1.AppPlatform"
552 }
553 }
554 },
555 "origin": "API_DEFINITION",
556 "segments": [
557 {
558 "start": 18,
559 "end": 58,
560 "type": "FULL"
561 }
562 ]
563 },
564 {
565 "regionTag": "visionai_v1_generated_AppPlatform_GetApplication_sync",
566 "title": "visionai GetApplication Sample",
567 "description": "GetApplication gets details of a single Application.",
568 "file": "AppPlatformClient/GetApplication/main.go",
569 "language": "GO",
570 "clientMethod": {
571 "shortName": "GetApplication",
572 "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetApplication",
573 "parameters": [
574 {
575 "type": "context.Context",
576 "name": "ctx"
577 },
578 {
579 "type": "visionaipb.GetApplicationRequest",
580 "name": "req"
581 },
582 {
583 "type": "...gax.CallOption",
584 "name": "opts"
585 }
586 ],
587 "resultType": "*visionaipb.Application",
588 "client": {
589 "shortName": "AppPlatformClient",
590 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
591 },
592 "method": {
593 "shortName": "GetApplication",
594 "fullName": "google.cloud.visionai.v1.AppPlatform.GetApplication",
595 "service": {
596 "shortName": "AppPlatform",
597 "fullName": "google.cloud.visionai.v1.AppPlatform"
598 }
599 }
600 },
601 "origin": "API_DEFINITION",
602 "segments": [
603 {
604 "start": 18,
605 "end": 53,
606 "type": "FULL"
607 }
608 ]
609 },
610 {
611 "regionTag": "visionai_v1_generated_AppPlatform_GetDraft_sync",
612 "title": "visionai GetDraft Sample",
613 "description": "GetDraft gets details of a single Draft.",
614 "file": "AppPlatformClient/GetDraft/main.go",
615 "language": "GO",
616 "clientMethod": {
617 "shortName": "GetDraft",
618 "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetDraft",
619 "parameters": [
620 {
621 "type": "context.Context",
622 "name": "ctx"
623 },
624 {
625 "type": "visionaipb.GetDraftRequest",
626 "name": "req"
627 },
628 {
629 "type": "...gax.CallOption",
630 "name": "opts"
631 }
632 ],
633 "resultType": "*visionaipb.Draft",
634 "client": {
635 "shortName": "AppPlatformClient",
636 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
637 },
638 "method": {
639 "shortName": "GetDraft",
640 "fullName": "google.cloud.visionai.v1.AppPlatform.GetDraft",
641 "service": {
642 "shortName": "AppPlatform",
643 "fullName": "google.cloud.visionai.v1.AppPlatform"
644 }
645 }
646 },
647 "origin": "API_DEFINITION",
648 "segments": [
649 {
650 "start": 18,
651 "end": 53,
652 "type": "FULL"
653 }
654 ]
655 },
656 {
657 "regionTag": "visionai_v1_generated_AppPlatform_GetInstance_sync",
658 "title": "visionai GetInstance Sample",
659 "description": "GetInstance gets details of a single Instance.",
660 "file": "AppPlatformClient/GetInstance/main.go",
661 "language": "GO",
662 "clientMethod": {
663 "shortName": "GetInstance",
664 "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetInstance",
665 "parameters": [
666 {
667 "type": "context.Context",
668 "name": "ctx"
669 },
670 {
671 "type": "visionaipb.GetInstanceRequest",
672 "name": "req"
673 },
674 {
675 "type": "...gax.CallOption",
676 "name": "opts"
677 }
678 ],
679 "resultType": "*visionaipb.Instance",
680 "client": {
681 "shortName": "AppPlatformClient",
682 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
683 },
684 "method": {
685 "shortName": "GetInstance",
686 "fullName": "google.cloud.visionai.v1.AppPlatform.GetInstance",
687 "service": {
688 "shortName": "AppPlatform",
689 "fullName": "google.cloud.visionai.v1.AppPlatform"
690 }
691 }
692 },
693 "origin": "API_DEFINITION",
694 "segments": [
695 {
696 "start": 18,
697 "end": 53,
698 "type": "FULL"
699 }
700 ]
701 },
702 {
703 "regionTag": "visionai_v1_generated_AppPlatform_GetOperation_sync",
704 "title": "visionai GetOperation Sample",
705 "description": "GetOperation is a utility method from google.longrunning.Operations.",
706 "file": "AppPlatformClient/GetOperation/main.go",
707 "language": "GO",
708 "clientMethod": {
709 "shortName": "GetOperation",
710 "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetOperation",
711 "parameters": [
712 {
713 "type": "context.Context",
714 "name": "ctx"
715 },
716 {
717 "type": "longrunningpb.GetOperationRequest",
718 "name": "req"
719 },
720 {
721 "type": "...gax.CallOption",
722 "name": "opts"
723 }
724 ],
725 "resultType": "*longrunningpb.Operation",
726 "client": {
727 "shortName": "AppPlatformClient",
728 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
729 },
730 "method": {
731 "shortName": "GetOperation",
732 "fullName": "google.longrunning.Operations.GetOperation",
733 "service": {
734 "shortName": "Operations",
735 "fullName": "google.longrunning.Operations"
736 }
737 }
738 },
739 "origin": "API_DEFINITION",
740 "segments": [
741 {
742 "start": 18,
743 "end": 53,
744 "type": "FULL"
745 }
746 ]
747 },
748 {
749 "regionTag": "visionai_v1_generated_AppPlatform_GetProcessor_sync",
750 "title": "visionai GetProcessor Sample",
751 "description": "GetProcessor gets details of a single Processor.",
752 "file": "AppPlatformClient/GetProcessor/main.go",
753 "language": "GO",
754 "clientMethod": {
755 "shortName": "GetProcessor",
756 "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetProcessor",
757 "parameters": [
758 {
759 "type": "context.Context",
760 "name": "ctx"
761 },
762 {
763 "type": "visionaipb.GetProcessorRequest",
764 "name": "req"
765 },
766 {
767 "type": "...gax.CallOption",
768 "name": "opts"
769 }
770 ],
771 "resultType": "*visionaipb.Processor",
772 "client": {
773 "shortName": "AppPlatformClient",
774 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
775 },
776 "method": {
777 "shortName": "GetProcessor",
778 "fullName": "google.cloud.visionai.v1.AppPlatform.GetProcessor",
779 "service": {
780 "shortName": "AppPlatform",
781 "fullName": "google.cloud.visionai.v1.AppPlatform"
782 }
783 }
784 },
785 "origin": "API_DEFINITION",
786 "segments": [
787 {
788 "start": 18,
789 "end": 53,
790 "type": "FULL"
791 }
792 ]
793 },
794 {
795 "regionTag": "visionai_v1_generated_AppPlatform_ListApplications_sync",
796 "title": "visionai ListApplications Sample",
797 "description": "ListApplications lists Applications in a given project and location.",
798 "file": "AppPlatformClient/ListApplications/main.go",
799 "language": "GO",
800 "clientMethod": {
801 "shortName": "ListApplications",
802 "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListApplications",
803 "parameters": [
804 {
805 "type": "context.Context",
806 "name": "ctx"
807 },
808 {
809 "type": "visionaipb.ListApplicationsRequest",
810 "name": "req"
811 },
812 {
813 "type": "...gax.CallOption",
814 "name": "opts"
815 }
816 ],
817 "resultType": "ApplicationIterator",
818 "client": {
819 "shortName": "AppPlatformClient",
820 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
821 },
822 "method": {
823 "shortName": "ListApplications",
824 "fullName": "google.cloud.visionai.v1.AppPlatform.ListApplications",
825 "service": {
826 "shortName": "AppPlatform",
827 "fullName": "google.cloud.visionai.v1.AppPlatform"
828 }
829 }
830 },
831 "origin": "API_DEFINITION",
832 "segments": [
833 {
834 "start": 18,
835 "end": 66,
836 "type": "FULL"
837 }
838 ]
839 },
840 {
841 "regionTag": "visionai_v1_generated_AppPlatform_ListDrafts_sync",
842 "title": "visionai ListDrafts Sample",
843 "description": "ListDrafts lists Drafts in a given project and location.",
844 "file": "AppPlatformClient/ListDrafts/main.go",
845 "language": "GO",
846 "clientMethod": {
847 "shortName": "ListDrafts",
848 "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListDrafts",
849 "parameters": [
850 {
851 "type": "context.Context",
852 "name": "ctx"
853 },
854 {
855 "type": "visionaipb.ListDraftsRequest",
856 "name": "req"
857 },
858 {
859 "type": "...gax.CallOption",
860 "name": "opts"
861 }
862 ],
863 "resultType": "DraftIterator",
864 "client": {
865 "shortName": "AppPlatformClient",
866 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
867 },
868 "method": {
869 "shortName": "ListDrafts",
870 "fullName": "google.cloud.visionai.v1.AppPlatform.ListDrafts",
871 "service": {
872 "shortName": "AppPlatform",
873 "fullName": "google.cloud.visionai.v1.AppPlatform"
874 }
875 }
876 },
877 "origin": "API_DEFINITION",
878 "segments": [
879 {
880 "start": 18,
881 "end": 66,
882 "type": "FULL"
883 }
884 ]
885 },
886 {
887 "regionTag": "visionai_v1_generated_AppPlatform_ListInstances_sync",
888 "title": "visionai ListInstances Sample",
889 "description": "ListInstances lists Instances in a given project and location.",
890 "file": "AppPlatformClient/ListInstances/main.go",
891 "language": "GO",
892 "clientMethod": {
893 "shortName": "ListInstances",
894 "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListInstances",
895 "parameters": [
896 {
897 "type": "context.Context",
898 "name": "ctx"
899 },
900 {
901 "type": "visionaipb.ListInstancesRequest",
902 "name": "req"
903 },
904 {
905 "type": "...gax.CallOption",
906 "name": "opts"
907 }
908 ],
909 "resultType": "InstanceIterator",
910 "client": {
911 "shortName": "AppPlatformClient",
912 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
913 },
914 "method": {
915 "shortName": "ListInstances",
916 "fullName": "google.cloud.visionai.v1.AppPlatform.ListInstances",
917 "service": {
918 "shortName": "AppPlatform",
919 "fullName": "google.cloud.visionai.v1.AppPlatform"
920 }
921 }
922 },
923 "origin": "API_DEFINITION",
924 "segments": [
925 {
926 "start": 18,
927 "end": 66,
928 "type": "FULL"
929 }
930 ]
931 },
932 {
933 "regionTag": "visionai_v1_generated_AppPlatform_ListOperations_sync",
934 "title": "visionai ListOperations Sample",
935 "description": "ListOperations is a utility method from google.longrunning.Operations.",
936 "file": "AppPlatformClient/ListOperations/main.go",
937 "language": "GO",
938 "clientMethod": {
939 "shortName": "ListOperations",
940 "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListOperations",
941 "parameters": [
942 {
943 "type": "context.Context",
944 "name": "ctx"
945 },
946 {
947 "type": "longrunningpb.ListOperationsRequest",
948 "name": "req"
949 },
950 {
951 "type": "...gax.CallOption",
952 "name": "opts"
953 }
954 ],
955 "resultType": "OperationIterator",
956 "client": {
957 "shortName": "AppPlatformClient",
958 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
959 },
960 "method": {
961 "shortName": "ListOperations",
962 "fullName": "google.longrunning.Operations.ListOperations",
963 "service": {
964 "shortName": "Operations",
965 "fullName": "google.longrunning.Operations"
966 }
967 }
968 },
969 "origin": "API_DEFINITION",
970 "segments": [
971 {
972 "start": 18,
973 "end": 66,
974 "type": "FULL"
975 }
976 ]
977 },
978 {
979 "regionTag": "visionai_v1_generated_AppPlatform_ListPrebuiltProcessors_sync",
980 "title": "visionai ListPrebuiltProcessors Sample",
981 "description": "ListPrebuiltProcessors listPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt\nProcessors.",
982 "file": "AppPlatformClient/ListPrebuiltProcessors/main.go",
983 "language": "GO",
984 "clientMethod": {
985 "shortName": "ListPrebuiltProcessors",
986 "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListPrebuiltProcessors",
987 "parameters": [
988 {
989 "type": "context.Context",
990 "name": "ctx"
991 },
992 {
993 "type": "visionaipb.ListPrebuiltProcessorsRequest",
994 "name": "req"
995 },
996 {
997 "type": "...gax.CallOption",
998 "name": "opts"
999 }
1000 ],
1001 "resultType": "*visionaipb.ListPrebuiltProcessorsResponse",
1002 "client": {
1003 "shortName": "AppPlatformClient",
1004 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
1005 },
1006 "method": {
1007 "shortName": "ListPrebuiltProcessors",
1008 "fullName": "google.cloud.visionai.v1.AppPlatform.ListPrebuiltProcessors",
1009 "service": {
1010 "shortName": "AppPlatform",
1011 "fullName": "google.cloud.visionai.v1.AppPlatform"
1012 }
1013 }
1014 },
1015 "origin": "API_DEFINITION",
1016 "segments": [
1017 {
1018 "start": 18,
1019 "end": 53,
1020 "type": "FULL"
1021 }
1022 ]
1023 },
1024 {
1025 "regionTag": "visionai_v1_generated_AppPlatform_ListProcessors_sync",
1026 "title": "visionai ListProcessors Sample",
1027 "description": "ListProcessors lists Processors in a given project and location.",
1028 "file": "AppPlatformClient/ListProcessors/main.go",
1029 "language": "GO",
1030 "clientMethod": {
1031 "shortName": "ListProcessors",
1032 "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListProcessors",
1033 "parameters": [
1034 {
1035 "type": "context.Context",
1036 "name": "ctx"
1037 },
1038 {
1039 "type": "visionaipb.ListProcessorsRequest",
1040 "name": "req"
1041 },
1042 {
1043 "type": "...gax.CallOption",
1044 "name": "opts"
1045 }
1046 ],
1047 "resultType": "ProcessorIterator",
1048 "client": {
1049 "shortName": "AppPlatformClient",
1050 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
1051 },
1052 "method": {
1053 "shortName": "ListProcessors",
1054 "fullName": "google.cloud.visionai.v1.AppPlatform.ListProcessors",
1055 "service": {
1056 "shortName": "AppPlatform",
1057 "fullName": "google.cloud.visionai.v1.AppPlatform"
1058 }
1059 }
1060 },
1061 "origin": "API_DEFINITION",
1062 "segments": [
1063 {
1064 "start": 18,
1065 "end": 66,
1066 "type": "FULL"
1067 }
1068 ]
1069 },
1070 {
1071 "regionTag": "visionai_v1_generated_AppPlatform_RemoveApplicationStreamInput_sync",
1072 "title": "visionai RemoveApplicationStreamInput Sample",
1073 "description": "RemoveApplicationStreamInput remove target stream input to the Application, if the Application is\ndeployed, the corresponding instance based will be deleted. If the stream\nis not in the Application, the RPC will fail.",
1074 "file": "AppPlatformClient/RemoveApplicationStreamInput/main.go",
1075 "language": "GO",
1076 "clientMethod": {
1077 "shortName": "RemoveApplicationStreamInput",
1078 "fullName": "google.cloud.visionai.v1.AppPlatformClient.RemoveApplicationStreamInput",
1079 "parameters": [
1080 {
1081 "type": "context.Context",
1082 "name": "ctx"
1083 },
1084 {
1085 "type": "visionaipb.RemoveApplicationStreamInputRequest",
1086 "name": "req"
1087 },
1088 {
1089 "type": "...gax.CallOption",
1090 "name": "opts"
1091 }
1092 ],
1093 "resultType": "RemoveApplicationStreamInputOperation",
1094 "client": {
1095 "shortName": "AppPlatformClient",
1096 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
1097 },
1098 "method": {
1099 "shortName": "RemoveApplicationStreamInput",
1100 "fullName": "google.cloud.visionai.v1.AppPlatform.RemoveApplicationStreamInput",
1101 "service": {
1102 "shortName": "AppPlatform",
1103 "fullName": "google.cloud.visionai.v1.AppPlatform"
1104 }
1105 }
1106 },
1107 "origin": "API_DEFINITION",
1108 "segments": [
1109 {
1110 "start": 18,
1111 "end": 58,
1112 "type": "FULL"
1113 }
1114 ]
1115 },
1116 {
1117 "regionTag": "visionai_v1_generated_AppPlatform_UndeployApplication_sync",
1118 "title": "visionai UndeployApplication Sample",
1119 "description": "UndeployApplication undeploys a single Application.",
1120 "file": "AppPlatformClient/UndeployApplication/main.go",
1121 "language": "GO",
1122 "clientMethod": {
1123 "shortName": "UndeployApplication",
1124 "fullName": "google.cloud.visionai.v1.AppPlatformClient.UndeployApplication",
1125 "parameters": [
1126 {
1127 "type": "context.Context",
1128 "name": "ctx"
1129 },
1130 {
1131 "type": "visionaipb.UndeployApplicationRequest",
1132 "name": "req"
1133 },
1134 {
1135 "type": "...gax.CallOption",
1136 "name": "opts"
1137 }
1138 ],
1139 "resultType": "UndeployApplicationOperation",
1140 "client": {
1141 "shortName": "AppPlatformClient",
1142 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
1143 },
1144 "method": {
1145 "shortName": "UndeployApplication",
1146 "fullName": "google.cloud.visionai.v1.AppPlatform.UndeployApplication",
1147 "service": {
1148 "shortName": "AppPlatform",
1149 "fullName": "google.cloud.visionai.v1.AppPlatform"
1150 }
1151 }
1152 },
1153 "origin": "API_DEFINITION",
1154 "segments": [
1155 {
1156 "start": 18,
1157 "end": 58,
1158 "type": "FULL"
1159 }
1160 ]
1161 },
1162 {
1163 "regionTag": "visionai_v1_generated_AppPlatform_UpdateApplication_sync",
1164 "title": "visionai UpdateApplication Sample",
1165 "description": "UpdateApplication updates the parameters of a single Application.",
1166 "file": "AppPlatformClient/UpdateApplication/main.go",
1167 "language": "GO",
1168 "clientMethod": {
1169 "shortName": "UpdateApplication",
1170 "fullName": "google.cloud.visionai.v1.AppPlatformClient.UpdateApplication",
1171 "parameters": [
1172 {
1173 "type": "context.Context",
1174 "name": "ctx"
1175 },
1176 {
1177 "type": "visionaipb.UpdateApplicationRequest",
1178 "name": "req"
1179 },
1180 {
1181 "type": "...gax.CallOption",
1182 "name": "opts"
1183 }
1184 ],
1185 "resultType": "UpdateApplicationOperation",
1186 "client": {
1187 "shortName": "AppPlatformClient",
1188 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
1189 },
1190 "method": {
1191 "shortName": "UpdateApplication",
1192 "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateApplication",
1193 "service": {
1194 "shortName": "AppPlatform",
1195 "fullName": "google.cloud.visionai.v1.AppPlatform"
1196 }
1197 }
1198 },
1199 "origin": "API_DEFINITION",
1200 "segments": [
1201 {
1202 "start": 18,
1203 "end": 58,
1204 "type": "FULL"
1205 }
1206 ]
1207 },
1208 {
1209 "regionTag": "visionai_v1_generated_AppPlatform_UpdateApplicationInstances_sync",
1210 "title": "visionai UpdateApplicationInstances Sample",
1211 "description": "UpdateApplicationInstances adds target stream input to the Application.\nIf the Application is deployed, the corresponding new Application instance\nwill be created. If the stream has already been in the Application, the RPC\nwill fail.",
1212 "file": "AppPlatformClient/UpdateApplicationInstances/main.go",
1213 "language": "GO",
1214 "clientMethod": {
1215 "shortName": "UpdateApplicationInstances",
1216 "fullName": "google.cloud.visionai.v1.AppPlatformClient.UpdateApplicationInstances",
1217 "parameters": [
1218 {
1219 "type": "context.Context",
1220 "name": "ctx"
1221 },
1222 {
1223 "type": "visionaipb.UpdateApplicationInstancesRequest",
1224 "name": "req"
1225 },
1226 {
1227 "type": "...gax.CallOption",
1228 "name": "opts"
1229 }
1230 ],
1231 "resultType": "UpdateApplicationInstancesOperation",
1232 "client": {
1233 "shortName": "AppPlatformClient",
1234 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
1235 },
1236 "method": {
1237 "shortName": "UpdateApplicationInstances",
1238 "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateApplicationInstances",
1239 "service": {
1240 "shortName": "AppPlatform",
1241 "fullName": "google.cloud.visionai.v1.AppPlatform"
1242 }
1243 }
1244 },
1245 "origin": "API_DEFINITION",
1246 "segments": [
1247 {
1248 "start": 18,
1249 "end": 58,
1250 "type": "FULL"
1251 }
1252 ]
1253 },
1254 {
1255 "regionTag": "visionai_v1_generated_AppPlatform_UpdateApplicationStreamInput_sync",
1256 "title": "visionai UpdateApplicationStreamInput Sample",
1257 "description": "UpdateApplicationStreamInput update target stream input to the Application, if the Application is\ndeployed, the corresponding instance based will be deployed. For\nCreateOrUpdate behavior, set allow_missing to true.",
1258 "file": "AppPlatformClient/UpdateApplicationStreamInput/main.go",
1259 "language": "GO",
1260 "clientMethod": {
1261 "shortName": "UpdateApplicationStreamInput",
1262 "fullName": "google.cloud.visionai.v1.AppPlatformClient.UpdateApplicationStreamInput",
1263 "parameters": [
1264 {
1265 "type": "context.Context",
1266 "name": "ctx"
1267 },
1268 {
1269 "type": "visionaipb.UpdateApplicationStreamInputRequest",
1270 "name": "req"
1271 },
1272 {
1273 "type": "...gax.CallOption",
1274 "name": "opts"
1275 }
1276 ],
1277 "resultType": "UpdateApplicationStreamInputOperation",
1278 "client": {
1279 "shortName": "AppPlatformClient",
1280 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
1281 },
1282 "method": {
1283 "shortName": "UpdateApplicationStreamInput",
1284 "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateApplicationStreamInput",
1285 "service": {
1286 "shortName": "AppPlatform",
1287 "fullName": "google.cloud.visionai.v1.AppPlatform"
1288 }
1289 }
1290 },
1291 "origin": "API_DEFINITION",
1292 "segments": [
1293 {
1294 "start": 18,
1295 "end": 58,
1296 "type": "FULL"
1297 }
1298 ]
1299 },
1300 {
1301 "regionTag": "visionai_v1_generated_AppPlatform_UpdateDraft_sync",
1302 "title": "visionai UpdateDraft Sample",
1303 "description": "UpdateDraft updates the parameters of a single Draft.",
1304 "file": "AppPlatformClient/UpdateDraft/main.go",
1305 "language": "GO",
1306 "clientMethod": {
1307 "shortName": "UpdateDraft",
1308 "fullName": "google.cloud.visionai.v1.AppPlatformClient.UpdateDraft",
1309 "parameters": [
1310 {
1311 "type": "context.Context",
1312 "name": "ctx"
1313 },
1314 {
1315 "type": "visionaipb.UpdateDraftRequest",
1316 "name": "req"
1317 },
1318 {
1319 "type": "...gax.CallOption",
1320 "name": "opts"
1321 }
1322 ],
1323 "resultType": "UpdateDraftOperation",
1324 "client": {
1325 "shortName": "AppPlatformClient",
1326 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
1327 },
1328 "method": {
1329 "shortName": "UpdateDraft",
1330 "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateDraft",
1331 "service": {
1332 "shortName": "AppPlatform",
1333 "fullName": "google.cloud.visionai.v1.AppPlatform"
1334 }
1335 }
1336 },
1337 "origin": "API_DEFINITION",
1338 "segments": [
1339 {
1340 "start": 18,
1341 "end": 58,
1342 "type": "FULL"
1343 }
1344 ]
1345 },
1346 {
1347 "regionTag": "visionai_v1_generated_AppPlatform_UpdateProcessor_sync",
1348 "title": "visionai UpdateProcessor Sample",
1349 "description": "UpdateProcessor updates the parameters of a single Processor.",
1350 "file": "AppPlatformClient/UpdateProcessor/main.go",
1351 "language": "GO",
1352 "clientMethod": {
1353 "shortName": "UpdateProcessor",
1354 "fullName": "google.cloud.visionai.v1.AppPlatformClient.UpdateProcessor",
1355 "parameters": [
1356 {
1357 "type": "context.Context",
1358 "name": "ctx"
1359 },
1360 {
1361 "type": "visionaipb.UpdateProcessorRequest",
1362 "name": "req"
1363 },
1364 {
1365 "type": "...gax.CallOption",
1366 "name": "opts"
1367 }
1368 ],
1369 "resultType": "UpdateProcessorOperation",
1370 "client": {
1371 "shortName": "AppPlatformClient",
1372 "fullName": "google.cloud.visionai.v1.AppPlatformClient"
1373 },
1374 "method": {
1375 "shortName": "UpdateProcessor",
1376 "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateProcessor",
1377 "service": {
1378 "shortName": "AppPlatform",
1379 "fullName": "google.cloud.visionai.v1.AppPlatform"
1380 }
1381 }
1382 },
1383 "origin": "API_DEFINITION",
1384 "segments": [
1385 {
1386 "start": 18,
1387 "end": 58,
1388 "type": "FULL"
1389 }
1390 ]
1391 },
1392 {
1393 "regionTag": "visionai_v1_generated_HealthCheckService_CancelOperation_sync",
1394 "title": "visionai CancelOperation Sample",
1395 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
1396 "file": "HealthCheckClient/CancelOperation/main.go",
1397 "language": "GO",
1398 "clientMethod": {
1399 "shortName": "CancelOperation",
1400 "fullName": "google.cloud.visionai.v1.HealthCheckClient.CancelOperation",
1401 "parameters": [
1402 {
1403 "type": "context.Context",
1404 "name": "ctx"
1405 },
1406 {
1407 "type": "longrunningpb.CancelOperationRequest",
1408 "name": "req"
1409 },
1410 {
1411 "type": "...gax.CallOption",
1412 "name": "opts"
1413 }
1414 ],
1415 "client": {
1416 "shortName": "HealthCheckClient",
1417 "fullName": "google.cloud.visionai.v1.HealthCheckClient"
1418 },
1419 "method": {
1420 "shortName": "CancelOperation",
1421 "fullName": "google.longrunning.Operations.CancelOperation",
1422 "service": {
1423 "shortName": "Operations",
1424 "fullName": "google.longrunning.Operations"
1425 }
1426 }
1427 },
1428 "origin": "API_DEFINITION",
1429 "segments": [
1430 {
1431 "start": 18,
1432 "end": 51,
1433 "type": "FULL"
1434 }
1435 ]
1436 },
1437 {
1438 "regionTag": "visionai_v1_generated_HealthCheckService_DeleteOperation_sync",
1439 "title": "visionai DeleteOperation Sample",
1440 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
1441 "file": "HealthCheckClient/DeleteOperation/main.go",
1442 "language": "GO",
1443 "clientMethod": {
1444 "shortName": "DeleteOperation",
1445 "fullName": "google.cloud.visionai.v1.HealthCheckClient.DeleteOperation",
1446 "parameters": [
1447 {
1448 "type": "context.Context",
1449 "name": "ctx"
1450 },
1451 {
1452 "type": "longrunningpb.DeleteOperationRequest",
1453 "name": "req"
1454 },
1455 {
1456 "type": "...gax.CallOption",
1457 "name": "opts"
1458 }
1459 ],
1460 "client": {
1461 "shortName": "HealthCheckClient",
1462 "fullName": "google.cloud.visionai.v1.HealthCheckClient"
1463 },
1464 "method": {
1465 "shortName": "DeleteOperation",
1466 "fullName": "google.longrunning.Operations.DeleteOperation",
1467 "service": {
1468 "shortName": "Operations",
1469 "fullName": "google.longrunning.Operations"
1470 }
1471 }
1472 },
1473 "origin": "API_DEFINITION",
1474 "segments": [
1475 {
1476 "start": 18,
1477 "end": 51,
1478 "type": "FULL"
1479 }
1480 ]
1481 },
1482 {
1483 "regionTag": "visionai_v1_generated_HealthCheckService_GetOperation_sync",
1484 "title": "visionai GetOperation Sample",
1485 "description": "GetOperation is a utility method from google.longrunning.Operations.",
1486 "file": "HealthCheckClient/GetOperation/main.go",
1487 "language": "GO",
1488 "clientMethod": {
1489 "shortName": "GetOperation",
1490 "fullName": "google.cloud.visionai.v1.HealthCheckClient.GetOperation",
1491 "parameters": [
1492 {
1493 "type": "context.Context",
1494 "name": "ctx"
1495 },
1496 {
1497 "type": "longrunningpb.GetOperationRequest",
1498 "name": "req"
1499 },
1500 {
1501 "type": "...gax.CallOption",
1502 "name": "opts"
1503 }
1504 ],
1505 "resultType": "*longrunningpb.Operation",
1506 "client": {
1507 "shortName": "HealthCheckClient",
1508 "fullName": "google.cloud.visionai.v1.HealthCheckClient"
1509 },
1510 "method": {
1511 "shortName": "GetOperation",
1512 "fullName": "google.longrunning.Operations.GetOperation",
1513 "service": {
1514 "shortName": "Operations",
1515 "fullName": "google.longrunning.Operations"
1516 }
1517 }
1518 },
1519 "origin": "API_DEFINITION",
1520 "segments": [
1521 {
1522 "start": 18,
1523 "end": 53,
1524 "type": "FULL"
1525 }
1526 ]
1527 },
1528 {
1529 "regionTag": "visionai_v1_generated_HealthCheckService_HealthCheck_sync",
1530 "title": "visionai HealthCheck Sample",
1531 "description": "HealthCheck healthCheck method checks the health status of the cluster.",
1532 "file": "HealthCheckClient/HealthCheck/main.go",
1533 "language": "GO",
1534 "clientMethod": {
1535 "shortName": "HealthCheck",
1536 "fullName": "google.cloud.visionai.v1.HealthCheckClient.HealthCheck",
1537 "parameters": [
1538 {
1539 "type": "context.Context",
1540 "name": "ctx"
1541 },
1542 {
1543 "type": "visionaipb.HealthCheckRequest",
1544 "name": "req"
1545 },
1546 {
1547 "type": "...gax.CallOption",
1548 "name": "opts"
1549 }
1550 ],
1551 "resultType": "*visionaipb.HealthCheckResponse",
1552 "client": {
1553 "shortName": "HealthCheckClient",
1554 "fullName": "google.cloud.visionai.v1.HealthCheckClient"
1555 },
1556 "method": {
1557 "shortName": "HealthCheck",
1558 "fullName": "google.cloud.visionai.v1.HealthCheckService.HealthCheck",
1559 "service": {
1560 "shortName": "HealthCheckService",
1561 "fullName": "google.cloud.visionai.v1.HealthCheckService"
1562 }
1563 }
1564 },
1565 "origin": "API_DEFINITION",
1566 "segments": [
1567 {
1568 "start": 18,
1569 "end": 53,
1570 "type": "FULL"
1571 }
1572 ]
1573 },
1574 {
1575 "regionTag": "visionai_v1_generated_HealthCheckService_ListOperations_sync",
1576 "title": "visionai ListOperations Sample",
1577 "description": "ListOperations is a utility method from google.longrunning.Operations.",
1578 "file": "HealthCheckClient/ListOperations/main.go",
1579 "language": "GO",
1580 "clientMethod": {
1581 "shortName": "ListOperations",
1582 "fullName": "google.cloud.visionai.v1.HealthCheckClient.ListOperations",
1583 "parameters": [
1584 {
1585 "type": "context.Context",
1586 "name": "ctx"
1587 },
1588 {
1589 "type": "longrunningpb.ListOperationsRequest",
1590 "name": "req"
1591 },
1592 {
1593 "type": "...gax.CallOption",
1594 "name": "opts"
1595 }
1596 ],
1597 "resultType": "OperationIterator",
1598 "client": {
1599 "shortName": "HealthCheckClient",
1600 "fullName": "google.cloud.visionai.v1.HealthCheckClient"
1601 },
1602 "method": {
1603 "shortName": "ListOperations",
1604 "fullName": "google.longrunning.Operations.ListOperations",
1605 "service": {
1606 "shortName": "Operations",
1607 "fullName": "google.longrunning.Operations"
1608 }
1609 }
1610 },
1611 "origin": "API_DEFINITION",
1612 "segments": [
1613 {
1614 "start": 18,
1615 "end": 66,
1616 "type": "FULL"
1617 }
1618 ]
1619 },
1620 {
1621 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_BatchRunProcess_sync",
1622 "title": "visionai BatchRunProcess Sample",
1623 "description": "BatchRunProcess run all of the processes to \"completion\". Max time for each process is\nthe LRO time limit.",
1624 "file": "LiveVideoAnalyticsClient/BatchRunProcess/main.go",
1625 "language": "GO",
1626 "clientMethod": {
1627 "shortName": "BatchRunProcess",
1628 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.BatchRunProcess",
1629 "parameters": [
1630 {
1631 "type": "context.Context",
1632 "name": "ctx"
1633 },
1634 {
1635 "type": "visionaipb.BatchRunProcessRequest",
1636 "name": "req"
1637 },
1638 {
1639 "type": "...gax.CallOption",
1640 "name": "opts"
1641 }
1642 ],
1643 "resultType": "BatchRunProcessOperation",
1644 "client": {
1645 "shortName": "LiveVideoAnalyticsClient",
1646 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
1647 },
1648 "method": {
1649 "shortName": "BatchRunProcess",
1650 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.BatchRunProcess",
1651 "service": {
1652 "shortName": "LiveVideoAnalytics",
1653 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
1654 }
1655 }
1656 },
1657 "origin": "API_DEFINITION",
1658 "segments": [
1659 {
1660 "start": 18,
1661 "end": 58,
1662 "type": "FULL"
1663 }
1664 ]
1665 },
1666 {
1667 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CancelOperation_sync",
1668 "title": "visionai CancelOperation Sample",
1669 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
1670 "file": "LiveVideoAnalyticsClient/CancelOperation/main.go",
1671 "language": "GO",
1672 "clientMethod": {
1673 "shortName": "CancelOperation",
1674 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.CancelOperation",
1675 "parameters": [
1676 {
1677 "type": "context.Context",
1678 "name": "ctx"
1679 },
1680 {
1681 "type": "longrunningpb.CancelOperationRequest",
1682 "name": "req"
1683 },
1684 {
1685 "type": "...gax.CallOption",
1686 "name": "opts"
1687 }
1688 ],
1689 "client": {
1690 "shortName": "LiveVideoAnalyticsClient",
1691 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
1692 },
1693 "method": {
1694 "shortName": "CancelOperation",
1695 "fullName": "google.longrunning.Operations.CancelOperation",
1696 "service": {
1697 "shortName": "Operations",
1698 "fullName": "google.longrunning.Operations"
1699 }
1700 }
1701 },
1702 "origin": "API_DEFINITION",
1703 "segments": [
1704 {
1705 "start": 18,
1706 "end": 51,
1707 "type": "FULL"
1708 }
1709 ]
1710 },
1711 {
1712 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CreateAnalysis_sync",
1713 "title": "visionai CreateAnalysis Sample",
1714 "description": "CreateAnalysis creates a new Analysis in a given project and location.",
1715 "file": "LiveVideoAnalyticsClient/CreateAnalysis/main.go",
1716 "language": "GO",
1717 "clientMethod": {
1718 "shortName": "CreateAnalysis",
1719 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.CreateAnalysis",
1720 "parameters": [
1721 {
1722 "type": "context.Context",
1723 "name": "ctx"
1724 },
1725 {
1726 "type": "visionaipb.CreateAnalysisRequest",
1727 "name": "req"
1728 },
1729 {
1730 "type": "...gax.CallOption",
1731 "name": "opts"
1732 }
1733 ],
1734 "resultType": "CreateAnalysisOperation",
1735 "client": {
1736 "shortName": "LiveVideoAnalyticsClient",
1737 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
1738 },
1739 "method": {
1740 "shortName": "CreateAnalysis",
1741 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateAnalysis",
1742 "service": {
1743 "shortName": "LiveVideoAnalytics",
1744 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
1745 }
1746 }
1747 },
1748 "origin": "API_DEFINITION",
1749 "segments": [
1750 {
1751 "start": 18,
1752 "end": 58,
1753 "type": "FULL"
1754 }
1755 ]
1756 },
1757 {
1758 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CreateOperator_sync",
1759 "title": "visionai CreateOperator Sample",
1760 "description": "CreateOperator creates a new Operator in a given project and location.",
1761 "file": "LiveVideoAnalyticsClient/CreateOperator/main.go",
1762 "language": "GO",
1763 "clientMethod": {
1764 "shortName": "CreateOperator",
1765 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.CreateOperator",
1766 "parameters": [
1767 {
1768 "type": "context.Context",
1769 "name": "ctx"
1770 },
1771 {
1772 "type": "visionaipb.CreateOperatorRequest",
1773 "name": "req"
1774 },
1775 {
1776 "type": "...gax.CallOption",
1777 "name": "opts"
1778 }
1779 ],
1780 "resultType": "CreateOperatorOperation",
1781 "client": {
1782 "shortName": "LiveVideoAnalyticsClient",
1783 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
1784 },
1785 "method": {
1786 "shortName": "CreateOperator",
1787 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateOperator",
1788 "service": {
1789 "shortName": "LiveVideoAnalytics",
1790 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
1791 }
1792 }
1793 },
1794 "origin": "API_DEFINITION",
1795 "segments": [
1796 {
1797 "start": 18,
1798 "end": 58,
1799 "type": "FULL"
1800 }
1801 ]
1802 },
1803 {
1804 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CreateProcess_sync",
1805 "title": "visionai CreateProcess Sample",
1806 "description": "CreateProcess creates a new Process in a given project and location.",
1807 "file": "LiveVideoAnalyticsClient/CreateProcess/main.go",
1808 "language": "GO",
1809 "clientMethod": {
1810 "shortName": "CreateProcess",
1811 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.CreateProcess",
1812 "parameters": [
1813 {
1814 "type": "context.Context",
1815 "name": "ctx"
1816 },
1817 {
1818 "type": "visionaipb.CreateProcessRequest",
1819 "name": "req"
1820 },
1821 {
1822 "type": "...gax.CallOption",
1823 "name": "opts"
1824 }
1825 ],
1826 "resultType": "CreateProcessOperation",
1827 "client": {
1828 "shortName": "LiveVideoAnalyticsClient",
1829 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
1830 },
1831 "method": {
1832 "shortName": "CreateProcess",
1833 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateProcess",
1834 "service": {
1835 "shortName": "LiveVideoAnalytics",
1836 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
1837 }
1838 }
1839 },
1840 "origin": "API_DEFINITION",
1841 "segments": [
1842 {
1843 "start": 18,
1844 "end": 58,
1845 "type": "FULL"
1846 }
1847 ]
1848 },
1849 {
1850 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteAnalysis_sync",
1851 "title": "visionai DeleteAnalysis Sample",
1852 "description": "DeleteAnalysis deletes a single Analysis.",
1853 "file": "LiveVideoAnalyticsClient/DeleteAnalysis/main.go",
1854 "language": "GO",
1855 "clientMethod": {
1856 "shortName": "DeleteAnalysis",
1857 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.DeleteAnalysis",
1858 "parameters": [
1859 {
1860 "type": "context.Context",
1861 "name": "ctx"
1862 },
1863 {
1864 "type": "visionaipb.DeleteAnalysisRequest",
1865 "name": "req"
1866 },
1867 {
1868 "type": "...gax.CallOption",
1869 "name": "opts"
1870 }
1871 ],
1872 "resultType": "DeleteAnalysisOperation",
1873 "client": {
1874 "shortName": "LiveVideoAnalyticsClient",
1875 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
1876 },
1877 "method": {
1878 "shortName": "DeleteAnalysis",
1879 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteAnalysis",
1880 "service": {
1881 "shortName": "LiveVideoAnalytics",
1882 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
1883 }
1884 }
1885 },
1886 "origin": "API_DEFINITION",
1887 "segments": [
1888 {
1889 "start": 18,
1890 "end": 56,
1891 "type": "FULL"
1892 }
1893 ]
1894 },
1895 {
1896 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteOperation_sync",
1897 "title": "visionai DeleteOperation Sample",
1898 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
1899 "file": "LiveVideoAnalyticsClient/DeleteOperation/main.go",
1900 "language": "GO",
1901 "clientMethod": {
1902 "shortName": "DeleteOperation",
1903 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.DeleteOperation",
1904 "parameters": [
1905 {
1906 "type": "context.Context",
1907 "name": "ctx"
1908 },
1909 {
1910 "type": "longrunningpb.DeleteOperationRequest",
1911 "name": "req"
1912 },
1913 {
1914 "type": "...gax.CallOption",
1915 "name": "opts"
1916 }
1917 ],
1918 "client": {
1919 "shortName": "LiveVideoAnalyticsClient",
1920 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
1921 },
1922 "method": {
1923 "shortName": "DeleteOperation",
1924 "fullName": "google.longrunning.Operations.DeleteOperation",
1925 "service": {
1926 "shortName": "Operations",
1927 "fullName": "google.longrunning.Operations"
1928 }
1929 }
1930 },
1931 "origin": "API_DEFINITION",
1932 "segments": [
1933 {
1934 "start": 18,
1935 "end": 51,
1936 "type": "FULL"
1937 }
1938 ]
1939 },
1940 {
1941 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteOperator_sync",
1942 "title": "visionai DeleteOperator Sample",
1943 "description": "DeleteOperator deletes a single Operator.",
1944 "file": "LiveVideoAnalyticsClient/DeleteOperator/main.go",
1945 "language": "GO",
1946 "clientMethod": {
1947 "shortName": "DeleteOperator",
1948 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.DeleteOperator",
1949 "parameters": [
1950 {
1951 "type": "context.Context",
1952 "name": "ctx"
1953 },
1954 {
1955 "type": "visionaipb.DeleteOperatorRequest",
1956 "name": "req"
1957 },
1958 {
1959 "type": "...gax.CallOption",
1960 "name": "opts"
1961 }
1962 ],
1963 "resultType": "DeleteOperatorOperation",
1964 "client": {
1965 "shortName": "LiveVideoAnalyticsClient",
1966 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
1967 },
1968 "method": {
1969 "shortName": "DeleteOperator",
1970 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteOperator",
1971 "service": {
1972 "shortName": "LiveVideoAnalytics",
1973 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
1974 }
1975 }
1976 },
1977 "origin": "API_DEFINITION",
1978 "segments": [
1979 {
1980 "start": 18,
1981 "end": 56,
1982 "type": "FULL"
1983 }
1984 ]
1985 },
1986 {
1987 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteProcess_sync",
1988 "title": "visionai DeleteProcess Sample",
1989 "description": "DeleteProcess deletes a single Process.",
1990 "file": "LiveVideoAnalyticsClient/DeleteProcess/main.go",
1991 "language": "GO",
1992 "clientMethod": {
1993 "shortName": "DeleteProcess",
1994 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.DeleteProcess",
1995 "parameters": [
1996 {
1997 "type": "context.Context",
1998 "name": "ctx"
1999 },
2000 {
2001 "type": "visionaipb.DeleteProcessRequest",
2002 "name": "req"
2003 },
2004 {
2005 "type": "...gax.CallOption",
2006 "name": "opts"
2007 }
2008 ],
2009 "resultType": "DeleteProcessOperation",
2010 "client": {
2011 "shortName": "LiveVideoAnalyticsClient",
2012 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2013 },
2014 "method": {
2015 "shortName": "DeleteProcess",
2016 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteProcess",
2017 "service": {
2018 "shortName": "LiveVideoAnalytics",
2019 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2020 }
2021 }
2022 },
2023 "origin": "API_DEFINITION",
2024 "segments": [
2025 {
2026 "start": 18,
2027 "end": 56,
2028 "type": "FULL"
2029 }
2030 ]
2031 },
2032 {
2033 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetAnalysis_sync",
2034 "title": "visionai GetAnalysis Sample",
2035 "description": "GetAnalysis gets details of a single Analysis.",
2036 "file": "LiveVideoAnalyticsClient/GetAnalysis/main.go",
2037 "language": "GO",
2038 "clientMethod": {
2039 "shortName": "GetAnalysis",
2040 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.GetAnalysis",
2041 "parameters": [
2042 {
2043 "type": "context.Context",
2044 "name": "ctx"
2045 },
2046 {
2047 "type": "visionaipb.GetAnalysisRequest",
2048 "name": "req"
2049 },
2050 {
2051 "type": "...gax.CallOption",
2052 "name": "opts"
2053 }
2054 ],
2055 "resultType": "*visionaipb.Analysis",
2056 "client": {
2057 "shortName": "LiveVideoAnalyticsClient",
2058 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2059 },
2060 "method": {
2061 "shortName": "GetAnalysis",
2062 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetAnalysis",
2063 "service": {
2064 "shortName": "LiveVideoAnalytics",
2065 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2066 }
2067 }
2068 },
2069 "origin": "API_DEFINITION",
2070 "segments": [
2071 {
2072 "start": 18,
2073 "end": 53,
2074 "type": "FULL"
2075 }
2076 ]
2077 },
2078 {
2079 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetOperation_sync",
2080 "title": "visionai GetOperation Sample",
2081 "description": "GetOperation is a utility method from google.longrunning.Operations.",
2082 "file": "LiveVideoAnalyticsClient/GetOperation/main.go",
2083 "language": "GO",
2084 "clientMethod": {
2085 "shortName": "GetOperation",
2086 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.GetOperation",
2087 "parameters": [
2088 {
2089 "type": "context.Context",
2090 "name": "ctx"
2091 },
2092 {
2093 "type": "longrunningpb.GetOperationRequest",
2094 "name": "req"
2095 },
2096 {
2097 "type": "...gax.CallOption",
2098 "name": "opts"
2099 }
2100 ],
2101 "resultType": "*longrunningpb.Operation",
2102 "client": {
2103 "shortName": "LiveVideoAnalyticsClient",
2104 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2105 },
2106 "method": {
2107 "shortName": "GetOperation",
2108 "fullName": "google.longrunning.Operations.GetOperation",
2109 "service": {
2110 "shortName": "Operations",
2111 "fullName": "google.longrunning.Operations"
2112 }
2113 }
2114 },
2115 "origin": "API_DEFINITION",
2116 "segments": [
2117 {
2118 "start": 18,
2119 "end": 53,
2120 "type": "FULL"
2121 }
2122 ]
2123 },
2124 {
2125 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetOperator_sync",
2126 "title": "visionai GetOperator Sample",
2127 "description": "GetOperator gets details of a single Operator.",
2128 "file": "LiveVideoAnalyticsClient/GetOperator/main.go",
2129 "language": "GO",
2130 "clientMethod": {
2131 "shortName": "GetOperator",
2132 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.GetOperator",
2133 "parameters": [
2134 {
2135 "type": "context.Context",
2136 "name": "ctx"
2137 },
2138 {
2139 "type": "visionaipb.GetOperatorRequest",
2140 "name": "req"
2141 },
2142 {
2143 "type": "...gax.CallOption",
2144 "name": "opts"
2145 }
2146 ],
2147 "resultType": "*visionaipb.Operator",
2148 "client": {
2149 "shortName": "LiveVideoAnalyticsClient",
2150 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2151 },
2152 "method": {
2153 "shortName": "GetOperator",
2154 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetOperator",
2155 "service": {
2156 "shortName": "LiveVideoAnalytics",
2157 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2158 }
2159 }
2160 },
2161 "origin": "API_DEFINITION",
2162 "segments": [
2163 {
2164 "start": 18,
2165 "end": 53,
2166 "type": "FULL"
2167 }
2168 ]
2169 },
2170 {
2171 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetProcess_sync",
2172 "title": "visionai GetProcess Sample",
2173 "description": "GetProcess gets details of a single Process.",
2174 "file": "LiveVideoAnalyticsClient/GetProcess/main.go",
2175 "language": "GO",
2176 "clientMethod": {
2177 "shortName": "GetProcess",
2178 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.GetProcess",
2179 "parameters": [
2180 {
2181 "type": "context.Context",
2182 "name": "ctx"
2183 },
2184 {
2185 "type": "visionaipb.GetProcessRequest",
2186 "name": "req"
2187 },
2188 {
2189 "type": "...gax.CallOption",
2190 "name": "opts"
2191 }
2192 ],
2193 "resultType": "*visionaipb.Process",
2194 "client": {
2195 "shortName": "LiveVideoAnalyticsClient",
2196 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2197 },
2198 "method": {
2199 "shortName": "GetProcess",
2200 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetProcess",
2201 "service": {
2202 "shortName": "LiveVideoAnalytics",
2203 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2204 }
2205 }
2206 },
2207 "origin": "API_DEFINITION",
2208 "segments": [
2209 {
2210 "start": 18,
2211 "end": 53,
2212 "type": "FULL"
2213 }
2214 ]
2215 },
2216 {
2217 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListAnalyses_sync",
2218 "title": "visionai ListAnalyses Sample",
2219 "description": "ListAnalyses lists Analyses in a given project and location.",
2220 "file": "LiveVideoAnalyticsClient/ListAnalyses/main.go",
2221 "language": "GO",
2222 "clientMethod": {
2223 "shortName": "ListAnalyses",
2224 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListAnalyses",
2225 "parameters": [
2226 {
2227 "type": "context.Context",
2228 "name": "ctx"
2229 },
2230 {
2231 "type": "visionaipb.ListAnalysesRequest",
2232 "name": "req"
2233 },
2234 {
2235 "type": "...gax.CallOption",
2236 "name": "opts"
2237 }
2238 ],
2239 "resultType": "AnalysisIterator",
2240 "client": {
2241 "shortName": "LiveVideoAnalyticsClient",
2242 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2243 },
2244 "method": {
2245 "shortName": "ListAnalyses",
2246 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListAnalyses",
2247 "service": {
2248 "shortName": "LiveVideoAnalytics",
2249 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2250 }
2251 }
2252 },
2253 "origin": "API_DEFINITION",
2254 "segments": [
2255 {
2256 "start": 18,
2257 "end": 66,
2258 "type": "FULL"
2259 }
2260 ]
2261 },
2262 {
2263 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListOperations_sync",
2264 "title": "visionai ListOperations Sample",
2265 "description": "ListOperations is a utility method from google.longrunning.Operations.",
2266 "file": "LiveVideoAnalyticsClient/ListOperations/main.go",
2267 "language": "GO",
2268 "clientMethod": {
2269 "shortName": "ListOperations",
2270 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListOperations",
2271 "parameters": [
2272 {
2273 "type": "context.Context",
2274 "name": "ctx"
2275 },
2276 {
2277 "type": "longrunningpb.ListOperationsRequest",
2278 "name": "req"
2279 },
2280 {
2281 "type": "...gax.CallOption",
2282 "name": "opts"
2283 }
2284 ],
2285 "resultType": "OperationIterator",
2286 "client": {
2287 "shortName": "LiveVideoAnalyticsClient",
2288 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2289 },
2290 "method": {
2291 "shortName": "ListOperations",
2292 "fullName": "google.longrunning.Operations.ListOperations",
2293 "service": {
2294 "shortName": "Operations",
2295 "fullName": "google.longrunning.Operations"
2296 }
2297 }
2298 },
2299 "origin": "API_DEFINITION",
2300 "segments": [
2301 {
2302 "start": 18,
2303 "end": 66,
2304 "type": "FULL"
2305 }
2306 ]
2307 },
2308 {
2309 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListOperators_sync",
2310 "title": "visionai ListOperators Sample",
2311 "description": "ListOperators lists Operators in a given project and location.",
2312 "file": "LiveVideoAnalyticsClient/ListOperators/main.go",
2313 "language": "GO",
2314 "clientMethod": {
2315 "shortName": "ListOperators",
2316 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListOperators",
2317 "parameters": [
2318 {
2319 "type": "context.Context",
2320 "name": "ctx"
2321 },
2322 {
2323 "type": "visionaipb.ListOperatorsRequest",
2324 "name": "req"
2325 },
2326 {
2327 "type": "...gax.CallOption",
2328 "name": "opts"
2329 }
2330 ],
2331 "resultType": "OperatorIterator",
2332 "client": {
2333 "shortName": "LiveVideoAnalyticsClient",
2334 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2335 },
2336 "method": {
2337 "shortName": "ListOperators",
2338 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListOperators",
2339 "service": {
2340 "shortName": "LiveVideoAnalytics",
2341 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2342 }
2343 }
2344 },
2345 "origin": "API_DEFINITION",
2346 "segments": [
2347 {
2348 "start": 18,
2349 "end": 66,
2350 "type": "FULL"
2351 }
2352 ]
2353 },
2354 {
2355 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListProcesses_sync",
2356 "title": "visionai ListProcesses Sample",
2357 "description": "ListProcesses lists Processes in a given project and location.",
2358 "file": "LiveVideoAnalyticsClient/ListProcesses/main.go",
2359 "language": "GO",
2360 "clientMethod": {
2361 "shortName": "ListProcesses",
2362 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListProcesses",
2363 "parameters": [
2364 {
2365 "type": "context.Context",
2366 "name": "ctx"
2367 },
2368 {
2369 "type": "visionaipb.ListProcessesRequest",
2370 "name": "req"
2371 },
2372 {
2373 "type": "...gax.CallOption",
2374 "name": "opts"
2375 }
2376 ],
2377 "resultType": "ProcessIterator",
2378 "client": {
2379 "shortName": "LiveVideoAnalyticsClient",
2380 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2381 },
2382 "method": {
2383 "shortName": "ListProcesses",
2384 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListProcesses",
2385 "service": {
2386 "shortName": "LiveVideoAnalytics",
2387 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2388 }
2389 }
2390 },
2391 "origin": "API_DEFINITION",
2392 "segments": [
2393 {
2394 "start": 18,
2395 "end": 66,
2396 "type": "FULL"
2397 }
2398 ]
2399 },
2400 {
2401 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListPublicOperators_sync",
2402 "title": "visionai ListPublicOperators Sample",
2403 "description": "ListPublicOperators listPublicOperators returns all the operators in public registry.",
2404 "file": "LiveVideoAnalyticsClient/ListPublicOperators/main.go",
2405 "language": "GO",
2406 "clientMethod": {
2407 "shortName": "ListPublicOperators",
2408 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListPublicOperators",
2409 "parameters": [
2410 {
2411 "type": "context.Context",
2412 "name": "ctx"
2413 },
2414 {
2415 "type": "visionaipb.ListPublicOperatorsRequest",
2416 "name": "req"
2417 },
2418 {
2419 "type": "...gax.CallOption",
2420 "name": "opts"
2421 }
2422 ],
2423 "resultType": "OperatorIterator",
2424 "client": {
2425 "shortName": "LiveVideoAnalyticsClient",
2426 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2427 },
2428 "method": {
2429 "shortName": "ListPublicOperators",
2430 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListPublicOperators",
2431 "service": {
2432 "shortName": "LiveVideoAnalytics",
2433 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2434 }
2435 }
2436 },
2437 "origin": "API_DEFINITION",
2438 "segments": [
2439 {
2440 "start": 18,
2441 "end": 66,
2442 "type": "FULL"
2443 }
2444 ]
2445 },
2446 {
2447 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ResolveOperatorInfo_sync",
2448 "title": "visionai ResolveOperatorInfo Sample",
2449 "description": "ResolveOperatorInfo resolveOperatorInfo returns the operator information based on the request.",
2450 "file": "LiveVideoAnalyticsClient/ResolveOperatorInfo/main.go",
2451 "language": "GO",
2452 "clientMethod": {
2453 "shortName": "ResolveOperatorInfo",
2454 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ResolveOperatorInfo",
2455 "parameters": [
2456 {
2457 "type": "context.Context",
2458 "name": "ctx"
2459 },
2460 {
2461 "type": "visionaipb.ResolveOperatorInfoRequest",
2462 "name": "req"
2463 },
2464 {
2465 "type": "...gax.CallOption",
2466 "name": "opts"
2467 }
2468 ],
2469 "resultType": "*visionaipb.ResolveOperatorInfoResponse",
2470 "client": {
2471 "shortName": "LiveVideoAnalyticsClient",
2472 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2473 },
2474 "method": {
2475 "shortName": "ResolveOperatorInfo",
2476 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ResolveOperatorInfo",
2477 "service": {
2478 "shortName": "LiveVideoAnalytics",
2479 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2480 }
2481 }
2482 },
2483 "origin": "API_DEFINITION",
2484 "segments": [
2485 {
2486 "start": 18,
2487 "end": 53,
2488 "type": "FULL"
2489 }
2490 ]
2491 },
2492 {
2493 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_UpdateAnalysis_sync",
2494 "title": "visionai UpdateAnalysis Sample",
2495 "description": "UpdateAnalysis updates the parameters of a single Analysis.",
2496 "file": "LiveVideoAnalyticsClient/UpdateAnalysis/main.go",
2497 "language": "GO",
2498 "clientMethod": {
2499 "shortName": "UpdateAnalysis",
2500 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.UpdateAnalysis",
2501 "parameters": [
2502 {
2503 "type": "context.Context",
2504 "name": "ctx"
2505 },
2506 {
2507 "type": "visionaipb.UpdateAnalysisRequest",
2508 "name": "req"
2509 },
2510 {
2511 "type": "...gax.CallOption",
2512 "name": "opts"
2513 }
2514 ],
2515 "resultType": "UpdateAnalysisOperation",
2516 "client": {
2517 "shortName": "LiveVideoAnalyticsClient",
2518 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2519 },
2520 "method": {
2521 "shortName": "UpdateAnalysis",
2522 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateAnalysis",
2523 "service": {
2524 "shortName": "LiveVideoAnalytics",
2525 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2526 }
2527 }
2528 },
2529 "origin": "API_DEFINITION",
2530 "segments": [
2531 {
2532 "start": 18,
2533 "end": 58,
2534 "type": "FULL"
2535 }
2536 ]
2537 },
2538 {
2539 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_UpdateOperator_sync",
2540 "title": "visionai UpdateOperator Sample",
2541 "description": "UpdateOperator updates the parameters of a single Operator.",
2542 "file": "LiveVideoAnalyticsClient/UpdateOperator/main.go",
2543 "language": "GO",
2544 "clientMethod": {
2545 "shortName": "UpdateOperator",
2546 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.UpdateOperator",
2547 "parameters": [
2548 {
2549 "type": "context.Context",
2550 "name": "ctx"
2551 },
2552 {
2553 "type": "visionaipb.UpdateOperatorRequest",
2554 "name": "req"
2555 },
2556 {
2557 "type": "...gax.CallOption",
2558 "name": "opts"
2559 }
2560 ],
2561 "resultType": "UpdateOperatorOperation",
2562 "client": {
2563 "shortName": "LiveVideoAnalyticsClient",
2564 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2565 },
2566 "method": {
2567 "shortName": "UpdateOperator",
2568 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateOperator",
2569 "service": {
2570 "shortName": "LiveVideoAnalytics",
2571 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2572 }
2573 }
2574 },
2575 "origin": "API_DEFINITION",
2576 "segments": [
2577 {
2578 "start": 18,
2579 "end": 58,
2580 "type": "FULL"
2581 }
2582 ]
2583 },
2584 {
2585 "regionTag": "visionai_v1_generated_LiveVideoAnalytics_UpdateProcess_sync",
2586 "title": "visionai UpdateProcess Sample",
2587 "description": "UpdateProcess updates the parameters of a single Process.",
2588 "file": "LiveVideoAnalyticsClient/UpdateProcess/main.go",
2589 "language": "GO",
2590 "clientMethod": {
2591 "shortName": "UpdateProcess",
2592 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.UpdateProcess",
2593 "parameters": [
2594 {
2595 "type": "context.Context",
2596 "name": "ctx"
2597 },
2598 {
2599 "type": "visionaipb.UpdateProcessRequest",
2600 "name": "req"
2601 },
2602 {
2603 "type": "...gax.CallOption",
2604 "name": "opts"
2605 }
2606 ],
2607 "resultType": "UpdateProcessOperation",
2608 "client": {
2609 "shortName": "LiveVideoAnalyticsClient",
2610 "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient"
2611 },
2612 "method": {
2613 "shortName": "UpdateProcess",
2614 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateProcess",
2615 "service": {
2616 "shortName": "LiveVideoAnalytics",
2617 "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics"
2618 }
2619 }
2620 },
2621 "origin": "API_DEFINITION",
2622 "segments": [
2623 {
2624 "start": 18,
2625 "end": 58,
2626 "type": "FULL"
2627 }
2628 ]
2629 },
2630 {
2631 "regionTag": "visionai_v1_generated_StreamingService_AcquireLease_sync",
2632 "title": "visionai AcquireLease Sample",
2633 "description": "AcquireLease acquireLease acquires a lease.",
2634 "file": "StreamingClient/AcquireLease/main.go",
2635 "language": "GO",
2636 "clientMethod": {
2637 "shortName": "AcquireLease",
2638 "fullName": "google.cloud.visionai.v1.StreamingClient.AcquireLease",
2639 "parameters": [
2640 {
2641 "type": "context.Context",
2642 "name": "ctx"
2643 },
2644 {
2645 "type": "visionaipb.AcquireLeaseRequest",
2646 "name": "req"
2647 },
2648 {
2649 "type": "...gax.CallOption",
2650 "name": "opts"
2651 }
2652 ],
2653 "resultType": "*visionaipb.Lease",
2654 "client": {
2655 "shortName": "StreamingClient",
2656 "fullName": "google.cloud.visionai.v1.StreamingClient"
2657 },
2658 "method": {
2659 "shortName": "AcquireLease",
2660 "fullName": "google.cloud.visionai.v1.StreamingService.AcquireLease",
2661 "service": {
2662 "shortName": "StreamingService",
2663 "fullName": "google.cloud.visionai.v1.StreamingService"
2664 }
2665 }
2666 },
2667 "origin": "API_DEFINITION",
2668 "segments": [
2669 {
2670 "start": 18,
2671 "end": 53,
2672 "type": "FULL"
2673 }
2674 ]
2675 },
2676 {
2677 "regionTag": "visionai_v1_generated_StreamingService_CancelOperation_sync",
2678 "title": "visionai CancelOperation Sample",
2679 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
2680 "file": "StreamingClient/CancelOperation/main.go",
2681 "language": "GO",
2682 "clientMethod": {
2683 "shortName": "CancelOperation",
2684 "fullName": "google.cloud.visionai.v1.StreamingClient.CancelOperation",
2685 "parameters": [
2686 {
2687 "type": "context.Context",
2688 "name": "ctx"
2689 },
2690 {
2691 "type": "longrunningpb.CancelOperationRequest",
2692 "name": "req"
2693 },
2694 {
2695 "type": "...gax.CallOption",
2696 "name": "opts"
2697 }
2698 ],
2699 "client": {
2700 "shortName": "StreamingClient",
2701 "fullName": "google.cloud.visionai.v1.StreamingClient"
2702 },
2703 "method": {
2704 "shortName": "CancelOperation",
2705 "fullName": "google.longrunning.Operations.CancelOperation",
2706 "service": {
2707 "shortName": "Operations",
2708 "fullName": "google.longrunning.Operations"
2709 }
2710 }
2711 },
2712 "origin": "API_DEFINITION",
2713 "segments": [
2714 {
2715 "start": 18,
2716 "end": 51,
2717 "type": "FULL"
2718 }
2719 ]
2720 },
2721 {
2722 "regionTag": "visionai_v1_generated_StreamingService_DeleteOperation_sync",
2723 "title": "visionai DeleteOperation Sample",
2724 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
2725 "file": "StreamingClient/DeleteOperation/main.go",
2726 "language": "GO",
2727 "clientMethod": {
2728 "shortName": "DeleteOperation",
2729 "fullName": "google.cloud.visionai.v1.StreamingClient.DeleteOperation",
2730 "parameters": [
2731 {
2732 "type": "context.Context",
2733 "name": "ctx"
2734 },
2735 {
2736 "type": "longrunningpb.DeleteOperationRequest",
2737 "name": "req"
2738 },
2739 {
2740 "type": "...gax.CallOption",
2741 "name": "opts"
2742 }
2743 ],
2744 "client": {
2745 "shortName": "StreamingClient",
2746 "fullName": "google.cloud.visionai.v1.StreamingClient"
2747 },
2748 "method": {
2749 "shortName": "DeleteOperation",
2750 "fullName": "google.longrunning.Operations.DeleteOperation",
2751 "service": {
2752 "shortName": "Operations",
2753 "fullName": "google.longrunning.Operations"
2754 }
2755 }
2756 },
2757 "origin": "API_DEFINITION",
2758 "segments": [
2759 {
2760 "start": 18,
2761 "end": 51,
2762 "type": "FULL"
2763 }
2764 ]
2765 },
2766 {
2767 "regionTag": "visionai_v1_generated_StreamingService_GetOperation_sync",
2768 "title": "visionai GetOperation Sample",
2769 "description": "GetOperation is a utility method from google.longrunning.Operations.",
2770 "file": "StreamingClient/GetOperation/main.go",
2771 "language": "GO",
2772 "clientMethod": {
2773 "shortName": "GetOperation",
2774 "fullName": "google.cloud.visionai.v1.StreamingClient.GetOperation",
2775 "parameters": [
2776 {
2777 "type": "context.Context",
2778 "name": "ctx"
2779 },
2780 {
2781 "type": "longrunningpb.GetOperationRequest",
2782 "name": "req"
2783 },
2784 {
2785 "type": "...gax.CallOption",
2786 "name": "opts"
2787 }
2788 ],
2789 "resultType": "*longrunningpb.Operation",
2790 "client": {
2791 "shortName": "StreamingClient",
2792 "fullName": "google.cloud.visionai.v1.StreamingClient"
2793 },
2794 "method": {
2795 "shortName": "GetOperation",
2796 "fullName": "google.longrunning.Operations.GetOperation",
2797 "service": {
2798 "shortName": "Operations",
2799 "fullName": "google.longrunning.Operations"
2800 }
2801 }
2802 },
2803 "origin": "API_DEFINITION",
2804 "segments": [
2805 {
2806 "start": 18,
2807 "end": 53,
2808 "type": "FULL"
2809 }
2810 ]
2811 },
2812 {
2813 "regionTag": "visionai_v1_generated_StreamingService_ListOperations_sync",
2814 "title": "visionai ListOperations Sample",
2815 "description": "ListOperations is a utility method from google.longrunning.Operations.",
2816 "file": "StreamingClient/ListOperations/main.go",
2817 "language": "GO",
2818 "clientMethod": {
2819 "shortName": "ListOperations",
2820 "fullName": "google.cloud.visionai.v1.StreamingClient.ListOperations",
2821 "parameters": [
2822 {
2823 "type": "context.Context",
2824 "name": "ctx"
2825 },
2826 {
2827 "type": "longrunningpb.ListOperationsRequest",
2828 "name": "req"
2829 },
2830 {
2831 "type": "...gax.CallOption",
2832 "name": "opts"
2833 }
2834 ],
2835 "resultType": "OperationIterator",
2836 "client": {
2837 "shortName": "StreamingClient",
2838 "fullName": "google.cloud.visionai.v1.StreamingClient"
2839 },
2840 "method": {
2841 "shortName": "ListOperations",
2842 "fullName": "google.longrunning.Operations.ListOperations",
2843 "service": {
2844 "shortName": "Operations",
2845 "fullName": "google.longrunning.Operations"
2846 }
2847 }
2848 },
2849 "origin": "API_DEFINITION",
2850 "segments": [
2851 {
2852 "start": 18,
2853 "end": 66,
2854 "type": "FULL"
2855 }
2856 ]
2857 },
2858 {
2859 "regionTag": "visionai_v1_generated_StreamingService_ReceiveEvents_sync",
2860 "title": "visionai ReceiveEvents Sample",
2861 "description": "ReceiveEvents receive events given the stream name.\n\n\nThis method is not supported for the REST transport.",
2862 "file": "StreamingClient/ReceiveEvents/main.go",
2863 "language": "GO",
2864 "clientMethod": {
2865 "shortName": "ReceiveEvents",
2866 "fullName": "google.cloud.visionai.v1.StreamingClient.ReceiveEvents",
2867 "parameters": [
2868 {
2869 "type": "context.Context",
2870 "name": "ctx"
2871 },
2872 {
2873 "type": "...gax.CallOption",
2874 "name": "opts"
2875 }
2876 ],
2877 "resultType": "visionaipb.StreamingService_ReceiveEventsClient",
2878 "client": {
2879 "shortName": "StreamingClient",
2880 "fullName": "google.cloud.visionai.v1.StreamingClient"
2881 },
2882 "method": {
2883 "shortName": "ReceiveEvents",
2884 "fullName": "google.cloud.visionai.v1.StreamingService.ReceiveEvents",
2885 "service": {
2886 "shortName": "StreamingService",
2887 "fullName": "google.cloud.visionai.v1.StreamingService"
2888 }
2889 }
2890 },
2891 "origin": "API_DEFINITION",
2892 "segments": [
2893 {
2894 "start": 18,
2895 "end": 69,
2896 "type": "FULL"
2897 }
2898 ]
2899 },
2900 {
2901 "regionTag": "visionai_v1_generated_StreamingService_ReceivePackets_sync",
2902 "title": "visionai ReceivePackets Sample",
2903 "description": "ReceivePackets receive packets from the series.\n\n\nThis method is not supported for the REST transport.",
2904 "file": "StreamingClient/ReceivePackets/main.go",
2905 "language": "GO",
2906 "clientMethod": {
2907 "shortName": "ReceivePackets",
2908 "fullName": "google.cloud.visionai.v1.StreamingClient.ReceivePackets",
2909 "parameters": [
2910 {
2911 "type": "context.Context",
2912 "name": "ctx"
2913 },
2914 {
2915 "type": "...gax.CallOption",
2916 "name": "opts"
2917 }
2918 ],
2919 "resultType": "visionaipb.StreamingService_ReceivePacketsClient",
2920 "client": {
2921 "shortName": "StreamingClient",
2922 "fullName": "google.cloud.visionai.v1.StreamingClient"
2923 },
2924 "method": {
2925 "shortName": "ReceivePackets",
2926 "fullName": "google.cloud.visionai.v1.StreamingService.ReceivePackets",
2927 "service": {
2928 "shortName": "StreamingService",
2929 "fullName": "google.cloud.visionai.v1.StreamingService"
2930 }
2931 }
2932 },
2933 "origin": "API_DEFINITION",
2934 "segments": [
2935 {
2936 "start": 18,
2937 "end": 69,
2938 "type": "FULL"
2939 }
2940 ]
2941 },
2942 {
2943 "regionTag": "visionai_v1_generated_StreamingService_ReleaseLease_sync",
2944 "title": "visionai ReleaseLease Sample",
2945 "description": "ReleaseLease rleaseLease releases a lease.",
2946 "file": "StreamingClient/ReleaseLease/main.go",
2947 "language": "GO",
2948 "clientMethod": {
2949 "shortName": "ReleaseLease",
2950 "fullName": "google.cloud.visionai.v1.StreamingClient.ReleaseLease",
2951 "parameters": [
2952 {
2953 "type": "context.Context",
2954 "name": "ctx"
2955 },
2956 {
2957 "type": "visionaipb.ReleaseLeaseRequest",
2958 "name": "req"
2959 },
2960 {
2961 "type": "...gax.CallOption",
2962 "name": "opts"
2963 }
2964 ],
2965 "resultType": "*visionaipb.ReleaseLeaseResponse",
2966 "client": {
2967 "shortName": "StreamingClient",
2968 "fullName": "google.cloud.visionai.v1.StreamingClient"
2969 },
2970 "method": {
2971 "shortName": "ReleaseLease",
2972 "fullName": "google.cloud.visionai.v1.StreamingService.ReleaseLease",
2973 "service": {
2974 "shortName": "StreamingService",
2975 "fullName": "google.cloud.visionai.v1.StreamingService"
2976 }
2977 }
2978 },
2979 "origin": "API_DEFINITION",
2980 "segments": [
2981 {
2982 "start": 18,
2983 "end": 53,
2984 "type": "FULL"
2985 }
2986 ]
2987 },
2988 {
2989 "regionTag": "visionai_v1_generated_StreamingService_RenewLease_sync",
2990 "title": "visionai RenewLease Sample",
2991 "description": "RenewLease renewLease renews a lease.",
2992 "file": "StreamingClient/RenewLease/main.go",
2993 "language": "GO",
2994 "clientMethod": {
2995 "shortName": "RenewLease",
2996 "fullName": "google.cloud.visionai.v1.StreamingClient.RenewLease",
2997 "parameters": [
2998 {
2999 "type": "context.Context",
3000 "name": "ctx"
3001 },
3002 {
3003 "type": "visionaipb.RenewLeaseRequest",
3004 "name": "req"
3005 },
3006 {
3007 "type": "...gax.CallOption",
3008 "name": "opts"
3009 }
3010 ],
3011 "resultType": "*visionaipb.Lease",
3012 "client": {
3013 "shortName": "StreamingClient",
3014 "fullName": "google.cloud.visionai.v1.StreamingClient"
3015 },
3016 "method": {
3017 "shortName": "RenewLease",
3018 "fullName": "google.cloud.visionai.v1.StreamingService.RenewLease",
3019 "service": {
3020 "shortName": "StreamingService",
3021 "fullName": "google.cloud.visionai.v1.StreamingService"
3022 }
3023 }
3024 },
3025 "origin": "API_DEFINITION",
3026 "segments": [
3027 {
3028 "start": 18,
3029 "end": 53,
3030 "type": "FULL"
3031 }
3032 ]
3033 },
3034 {
3035 "regionTag": "visionai_v1_generated_StreamingService_SendPackets_sync",
3036 "title": "visionai SendPackets Sample",
3037 "description": "SendPackets send packets to the series.\n\n\nThis method is not supported for the REST transport.",
3038 "file": "StreamingClient/SendPackets/main.go",
3039 "language": "GO",
3040 "clientMethod": {
3041 "shortName": "SendPackets",
3042 "fullName": "google.cloud.visionai.v1.StreamingClient.SendPackets",
3043 "parameters": [
3044 {
3045 "type": "context.Context",
3046 "name": "ctx"
3047 },
3048 {
3049 "type": "...gax.CallOption",
3050 "name": "opts"
3051 }
3052 ],
3053 "resultType": "visionaipb.StreamingService_SendPacketsClient",
3054 "client": {
3055 "shortName": "StreamingClient",
3056 "fullName": "google.cloud.visionai.v1.StreamingClient"
3057 },
3058 "method": {
3059 "shortName": "SendPackets",
3060 "fullName": "google.cloud.visionai.v1.StreamingService.SendPackets",
3061 "service": {
3062 "shortName": "StreamingService",
3063 "fullName": "google.cloud.visionai.v1.StreamingService"
3064 }
3065 }
3066 },
3067 "origin": "API_DEFINITION",
3068 "segments": [
3069 {
3070 "start": 18,
3071 "end": 69,
3072 "type": "FULL"
3073 }
3074 ]
3075 },
3076 {
3077 "regionTag": "visionai_v1_generated_StreamsService_CancelOperation_sync",
3078 "title": "visionai CancelOperation Sample",
3079 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
3080 "file": "StreamsClient/CancelOperation/main.go",
3081 "language": "GO",
3082 "clientMethod": {
3083 "shortName": "CancelOperation",
3084 "fullName": "google.cloud.visionai.v1.StreamsClient.CancelOperation",
3085 "parameters": [
3086 {
3087 "type": "context.Context",
3088 "name": "ctx"
3089 },
3090 {
3091 "type": "longrunningpb.CancelOperationRequest",
3092 "name": "req"
3093 },
3094 {
3095 "type": "...gax.CallOption",
3096 "name": "opts"
3097 }
3098 ],
3099 "client": {
3100 "shortName": "StreamsClient",
3101 "fullName": "google.cloud.visionai.v1.StreamsClient"
3102 },
3103 "method": {
3104 "shortName": "CancelOperation",
3105 "fullName": "google.longrunning.Operations.CancelOperation",
3106 "service": {
3107 "shortName": "Operations",
3108 "fullName": "google.longrunning.Operations"
3109 }
3110 }
3111 },
3112 "origin": "API_DEFINITION",
3113 "segments": [
3114 {
3115 "start": 18,
3116 "end": 51,
3117 "type": "FULL"
3118 }
3119 ]
3120 },
3121 {
3122 "regionTag": "visionai_v1_generated_StreamsService_CreateCluster_sync",
3123 "title": "visionai CreateCluster Sample",
3124 "description": "CreateCluster creates a new Cluster in a given project and location.",
3125 "file": "StreamsClient/CreateCluster/main.go",
3126 "language": "GO",
3127 "clientMethod": {
3128 "shortName": "CreateCluster",
3129 "fullName": "google.cloud.visionai.v1.StreamsClient.CreateCluster",
3130 "parameters": [
3131 {
3132 "type": "context.Context",
3133 "name": "ctx"
3134 },
3135 {
3136 "type": "visionaipb.CreateClusterRequest",
3137 "name": "req"
3138 },
3139 {
3140 "type": "...gax.CallOption",
3141 "name": "opts"
3142 }
3143 ],
3144 "resultType": "CreateClusterOperation",
3145 "client": {
3146 "shortName": "StreamsClient",
3147 "fullName": "google.cloud.visionai.v1.StreamsClient"
3148 },
3149 "method": {
3150 "shortName": "CreateCluster",
3151 "fullName": "google.cloud.visionai.v1.StreamsService.CreateCluster",
3152 "service": {
3153 "shortName": "StreamsService",
3154 "fullName": "google.cloud.visionai.v1.StreamsService"
3155 }
3156 }
3157 },
3158 "origin": "API_DEFINITION",
3159 "segments": [
3160 {
3161 "start": 18,
3162 "end": 58,
3163 "type": "FULL"
3164 }
3165 ]
3166 },
3167 {
3168 "regionTag": "visionai_v1_generated_StreamsService_CreateEvent_sync",
3169 "title": "visionai CreateEvent Sample",
3170 "description": "CreateEvent creates a new Event in a given project and location.",
3171 "file": "StreamsClient/CreateEvent/main.go",
3172 "language": "GO",
3173 "clientMethod": {
3174 "shortName": "CreateEvent",
3175 "fullName": "google.cloud.visionai.v1.StreamsClient.CreateEvent",
3176 "parameters": [
3177 {
3178 "type": "context.Context",
3179 "name": "ctx"
3180 },
3181 {
3182 "type": "visionaipb.CreateEventRequest",
3183 "name": "req"
3184 },
3185 {
3186 "type": "...gax.CallOption",
3187 "name": "opts"
3188 }
3189 ],
3190 "resultType": "CreateEventOperation",
3191 "client": {
3192 "shortName": "StreamsClient",
3193 "fullName": "google.cloud.visionai.v1.StreamsClient"
3194 },
3195 "method": {
3196 "shortName": "CreateEvent",
3197 "fullName": "google.cloud.visionai.v1.StreamsService.CreateEvent",
3198 "service": {
3199 "shortName": "StreamsService",
3200 "fullName": "google.cloud.visionai.v1.StreamsService"
3201 }
3202 }
3203 },
3204 "origin": "API_DEFINITION",
3205 "segments": [
3206 {
3207 "start": 18,
3208 "end": 58,
3209 "type": "FULL"
3210 }
3211 ]
3212 },
3213 {
3214 "regionTag": "visionai_v1_generated_StreamsService_CreateSeries_sync",
3215 "title": "visionai CreateSeries Sample",
3216 "description": "CreateSeries creates a new Series in a given project and location.",
3217 "file": "StreamsClient/CreateSeries/main.go",
3218 "language": "GO",
3219 "clientMethod": {
3220 "shortName": "CreateSeries",
3221 "fullName": "google.cloud.visionai.v1.StreamsClient.CreateSeries",
3222 "parameters": [
3223 {
3224 "type": "context.Context",
3225 "name": "ctx"
3226 },
3227 {
3228 "type": "visionaipb.CreateSeriesRequest",
3229 "name": "req"
3230 },
3231 {
3232 "type": "...gax.CallOption",
3233 "name": "opts"
3234 }
3235 ],
3236 "resultType": "CreateSeriesOperation",
3237 "client": {
3238 "shortName": "StreamsClient",
3239 "fullName": "google.cloud.visionai.v1.StreamsClient"
3240 },
3241 "method": {
3242 "shortName": "CreateSeries",
3243 "fullName": "google.cloud.visionai.v1.StreamsService.CreateSeries",
3244 "service": {
3245 "shortName": "StreamsService",
3246 "fullName": "google.cloud.visionai.v1.StreamsService"
3247 }
3248 }
3249 },
3250 "origin": "API_DEFINITION",
3251 "segments": [
3252 {
3253 "start": 18,
3254 "end": 58,
3255 "type": "FULL"
3256 }
3257 ]
3258 },
3259 {
3260 "regionTag": "visionai_v1_generated_StreamsService_CreateStream_sync",
3261 "title": "visionai CreateStream Sample",
3262 "description": "CreateStream creates a new Stream in a given project and location.",
3263 "file": "StreamsClient/CreateStream/main.go",
3264 "language": "GO",
3265 "clientMethod": {
3266 "shortName": "CreateStream",
3267 "fullName": "google.cloud.visionai.v1.StreamsClient.CreateStream",
3268 "parameters": [
3269 {
3270 "type": "context.Context",
3271 "name": "ctx"
3272 },
3273 {
3274 "type": "visionaipb.CreateStreamRequest",
3275 "name": "req"
3276 },
3277 {
3278 "type": "...gax.CallOption",
3279 "name": "opts"
3280 }
3281 ],
3282 "resultType": "CreateStreamOperation",
3283 "client": {
3284 "shortName": "StreamsClient",
3285 "fullName": "google.cloud.visionai.v1.StreamsClient"
3286 },
3287 "method": {
3288 "shortName": "CreateStream",
3289 "fullName": "google.cloud.visionai.v1.StreamsService.CreateStream",
3290 "service": {
3291 "shortName": "StreamsService",
3292 "fullName": "google.cloud.visionai.v1.StreamsService"
3293 }
3294 }
3295 },
3296 "origin": "API_DEFINITION",
3297 "segments": [
3298 {
3299 "start": 18,
3300 "end": 58,
3301 "type": "FULL"
3302 }
3303 ]
3304 },
3305 {
3306 "regionTag": "visionai_v1_generated_StreamsService_DeleteCluster_sync",
3307 "title": "visionai DeleteCluster Sample",
3308 "description": "DeleteCluster deletes a single Cluster.",
3309 "file": "StreamsClient/DeleteCluster/main.go",
3310 "language": "GO",
3311 "clientMethod": {
3312 "shortName": "DeleteCluster",
3313 "fullName": "google.cloud.visionai.v1.StreamsClient.DeleteCluster",
3314 "parameters": [
3315 {
3316 "type": "context.Context",
3317 "name": "ctx"
3318 },
3319 {
3320 "type": "visionaipb.DeleteClusterRequest",
3321 "name": "req"
3322 },
3323 {
3324 "type": "...gax.CallOption",
3325 "name": "opts"
3326 }
3327 ],
3328 "resultType": "DeleteClusterOperation",
3329 "client": {
3330 "shortName": "StreamsClient",
3331 "fullName": "google.cloud.visionai.v1.StreamsClient"
3332 },
3333 "method": {
3334 "shortName": "DeleteCluster",
3335 "fullName": "google.cloud.visionai.v1.StreamsService.DeleteCluster",
3336 "service": {
3337 "shortName": "StreamsService",
3338 "fullName": "google.cloud.visionai.v1.StreamsService"
3339 }
3340 }
3341 },
3342 "origin": "API_DEFINITION",
3343 "segments": [
3344 {
3345 "start": 18,
3346 "end": 56,
3347 "type": "FULL"
3348 }
3349 ]
3350 },
3351 {
3352 "regionTag": "visionai_v1_generated_StreamsService_DeleteEvent_sync",
3353 "title": "visionai DeleteEvent Sample",
3354 "description": "DeleteEvent deletes a single Event.",
3355 "file": "StreamsClient/DeleteEvent/main.go",
3356 "language": "GO",
3357 "clientMethod": {
3358 "shortName": "DeleteEvent",
3359 "fullName": "google.cloud.visionai.v1.StreamsClient.DeleteEvent",
3360 "parameters": [
3361 {
3362 "type": "context.Context",
3363 "name": "ctx"
3364 },
3365 {
3366 "type": "visionaipb.DeleteEventRequest",
3367 "name": "req"
3368 },
3369 {
3370 "type": "...gax.CallOption",
3371 "name": "opts"
3372 }
3373 ],
3374 "resultType": "DeleteEventOperation",
3375 "client": {
3376 "shortName": "StreamsClient",
3377 "fullName": "google.cloud.visionai.v1.StreamsClient"
3378 },
3379 "method": {
3380 "shortName": "DeleteEvent",
3381 "fullName": "google.cloud.visionai.v1.StreamsService.DeleteEvent",
3382 "service": {
3383 "shortName": "StreamsService",
3384 "fullName": "google.cloud.visionai.v1.StreamsService"
3385 }
3386 }
3387 },
3388 "origin": "API_DEFINITION",
3389 "segments": [
3390 {
3391 "start": 18,
3392 "end": 56,
3393 "type": "FULL"
3394 }
3395 ]
3396 },
3397 {
3398 "regionTag": "visionai_v1_generated_StreamsService_DeleteOperation_sync",
3399 "title": "visionai DeleteOperation Sample",
3400 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
3401 "file": "StreamsClient/DeleteOperation/main.go",
3402 "language": "GO",
3403 "clientMethod": {
3404 "shortName": "DeleteOperation",
3405 "fullName": "google.cloud.visionai.v1.StreamsClient.DeleteOperation",
3406 "parameters": [
3407 {
3408 "type": "context.Context",
3409 "name": "ctx"
3410 },
3411 {
3412 "type": "longrunningpb.DeleteOperationRequest",
3413 "name": "req"
3414 },
3415 {
3416 "type": "...gax.CallOption",
3417 "name": "opts"
3418 }
3419 ],
3420 "client": {
3421 "shortName": "StreamsClient",
3422 "fullName": "google.cloud.visionai.v1.StreamsClient"
3423 },
3424 "method": {
3425 "shortName": "DeleteOperation",
3426 "fullName": "google.longrunning.Operations.DeleteOperation",
3427 "service": {
3428 "shortName": "Operations",
3429 "fullName": "google.longrunning.Operations"
3430 }
3431 }
3432 },
3433 "origin": "API_DEFINITION",
3434 "segments": [
3435 {
3436 "start": 18,
3437 "end": 51,
3438 "type": "FULL"
3439 }
3440 ]
3441 },
3442 {
3443 "regionTag": "visionai_v1_generated_StreamsService_DeleteSeries_sync",
3444 "title": "visionai DeleteSeries Sample",
3445 "description": "DeleteSeries deletes a single Series.",
3446 "file": "StreamsClient/DeleteSeries/main.go",
3447 "language": "GO",
3448 "clientMethod": {
3449 "shortName": "DeleteSeries",
3450 "fullName": "google.cloud.visionai.v1.StreamsClient.DeleteSeries",
3451 "parameters": [
3452 {
3453 "type": "context.Context",
3454 "name": "ctx"
3455 },
3456 {
3457 "type": "visionaipb.DeleteSeriesRequest",
3458 "name": "req"
3459 },
3460 {
3461 "type": "...gax.CallOption",
3462 "name": "opts"
3463 }
3464 ],
3465 "resultType": "DeleteSeriesOperation",
3466 "client": {
3467 "shortName": "StreamsClient",
3468 "fullName": "google.cloud.visionai.v1.StreamsClient"
3469 },
3470 "method": {
3471 "shortName": "DeleteSeries",
3472 "fullName": "google.cloud.visionai.v1.StreamsService.DeleteSeries",
3473 "service": {
3474 "shortName": "StreamsService",
3475 "fullName": "google.cloud.visionai.v1.StreamsService"
3476 }
3477 }
3478 },
3479 "origin": "API_DEFINITION",
3480 "segments": [
3481 {
3482 "start": 18,
3483 "end": 56,
3484 "type": "FULL"
3485 }
3486 ]
3487 },
3488 {
3489 "regionTag": "visionai_v1_generated_StreamsService_DeleteStream_sync",
3490 "title": "visionai DeleteStream Sample",
3491 "description": "DeleteStream deletes a single Stream.",
3492 "file": "StreamsClient/DeleteStream/main.go",
3493 "language": "GO",
3494 "clientMethod": {
3495 "shortName": "DeleteStream",
3496 "fullName": "google.cloud.visionai.v1.StreamsClient.DeleteStream",
3497 "parameters": [
3498 {
3499 "type": "context.Context",
3500 "name": "ctx"
3501 },
3502 {
3503 "type": "visionaipb.DeleteStreamRequest",
3504 "name": "req"
3505 },
3506 {
3507 "type": "...gax.CallOption",
3508 "name": "opts"
3509 }
3510 ],
3511 "resultType": "DeleteStreamOperation",
3512 "client": {
3513 "shortName": "StreamsClient",
3514 "fullName": "google.cloud.visionai.v1.StreamsClient"
3515 },
3516 "method": {
3517 "shortName": "DeleteStream",
3518 "fullName": "google.cloud.visionai.v1.StreamsService.DeleteStream",
3519 "service": {
3520 "shortName": "StreamsService",
3521 "fullName": "google.cloud.visionai.v1.StreamsService"
3522 }
3523 }
3524 },
3525 "origin": "API_DEFINITION",
3526 "segments": [
3527 {
3528 "start": 18,
3529 "end": 56,
3530 "type": "FULL"
3531 }
3532 ]
3533 },
3534 {
3535 "regionTag": "visionai_v1_generated_StreamsService_GenerateStreamHlsToken_sync",
3536 "title": "visionai GenerateStreamHlsToken Sample",
3537 "description": "GenerateStreamHlsToken generate the JWT auth token required to get the stream HLS contents.",
3538 "file": "StreamsClient/GenerateStreamHlsToken/main.go",
3539 "language": "GO",
3540 "clientMethod": {
3541 "shortName": "GenerateStreamHlsToken",
3542 "fullName": "google.cloud.visionai.v1.StreamsClient.GenerateStreamHlsToken",
3543 "parameters": [
3544 {
3545 "type": "context.Context",
3546 "name": "ctx"
3547 },
3548 {
3549 "type": "visionaipb.GenerateStreamHlsTokenRequest",
3550 "name": "req"
3551 },
3552 {
3553 "type": "...gax.CallOption",
3554 "name": "opts"
3555 }
3556 ],
3557 "resultType": "*visionaipb.GenerateStreamHlsTokenResponse",
3558 "client": {
3559 "shortName": "StreamsClient",
3560 "fullName": "google.cloud.visionai.v1.StreamsClient"
3561 },
3562 "method": {
3563 "shortName": "GenerateStreamHlsToken",
3564 "fullName": "google.cloud.visionai.v1.StreamsService.GenerateStreamHlsToken",
3565 "service": {
3566 "shortName": "StreamsService",
3567 "fullName": "google.cloud.visionai.v1.StreamsService"
3568 }
3569 }
3570 },
3571 "origin": "API_DEFINITION",
3572 "segments": [
3573 {
3574 "start": 18,
3575 "end": 53,
3576 "type": "FULL"
3577 }
3578 ]
3579 },
3580 {
3581 "regionTag": "visionai_v1_generated_StreamsService_GetCluster_sync",
3582 "title": "visionai GetCluster Sample",
3583 "description": "GetCluster gets details of a single Cluster.",
3584 "file": "StreamsClient/GetCluster/main.go",
3585 "language": "GO",
3586 "clientMethod": {
3587 "shortName": "GetCluster",
3588 "fullName": "google.cloud.visionai.v1.StreamsClient.GetCluster",
3589 "parameters": [
3590 {
3591 "type": "context.Context",
3592 "name": "ctx"
3593 },
3594 {
3595 "type": "visionaipb.GetClusterRequest",
3596 "name": "req"
3597 },
3598 {
3599 "type": "...gax.CallOption",
3600 "name": "opts"
3601 }
3602 ],
3603 "resultType": "*visionaipb.Cluster",
3604 "client": {
3605 "shortName": "StreamsClient",
3606 "fullName": "google.cloud.visionai.v1.StreamsClient"
3607 },
3608 "method": {
3609 "shortName": "GetCluster",
3610 "fullName": "google.cloud.visionai.v1.StreamsService.GetCluster",
3611 "service": {
3612 "shortName": "StreamsService",
3613 "fullName": "google.cloud.visionai.v1.StreamsService"
3614 }
3615 }
3616 },
3617 "origin": "API_DEFINITION",
3618 "segments": [
3619 {
3620 "start": 18,
3621 "end": 53,
3622 "type": "FULL"
3623 }
3624 ]
3625 },
3626 {
3627 "regionTag": "visionai_v1_generated_StreamsService_GetEvent_sync",
3628 "title": "visionai GetEvent Sample",
3629 "description": "GetEvent gets details of a single Event.",
3630 "file": "StreamsClient/GetEvent/main.go",
3631 "language": "GO",
3632 "clientMethod": {
3633 "shortName": "GetEvent",
3634 "fullName": "google.cloud.visionai.v1.StreamsClient.GetEvent",
3635 "parameters": [
3636 {
3637 "type": "context.Context",
3638 "name": "ctx"
3639 },
3640 {
3641 "type": "visionaipb.GetEventRequest",
3642 "name": "req"
3643 },
3644 {
3645 "type": "...gax.CallOption",
3646 "name": "opts"
3647 }
3648 ],
3649 "resultType": "*visionaipb.Event",
3650 "client": {
3651 "shortName": "StreamsClient",
3652 "fullName": "google.cloud.visionai.v1.StreamsClient"
3653 },
3654 "method": {
3655 "shortName": "GetEvent",
3656 "fullName": "google.cloud.visionai.v1.StreamsService.GetEvent",
3657 "service": {
3658 "shortName": "StreamsService",
3659 "fullName": "google.cloud.visionai.v1.StreamsService"
3660 }
3661 }
3662 },
3663 "origin": "API_DEFINITION",
3664 "segments": [
3665 {
3666 "start": 18,
3667 "end": 53,
3668 "type": "FULL"
3669 }
3670 ]
3671 },
3672 {
3673 "regionTag": "visionai_v1_generated_StreamsService_GetOperation_sync",
3674 "title": "visionai GetOperation Sample",
3675 "description": "GetOperation is a utility method from google.longrunning.Operations.",
3676 "file": "StreamsClient/GetOperation/main.go",
3677 "language": "GO",
3678 "clientMethod": {
3679 "shortName": "GetOperation",
3680 "fullName": "google.cloud.visionai.v1.StreamsClient.GetOperation",
3681 "parameters": [
3682 {
3683 "type": "context.Context",
3684 "name": "ctx"
3685 },
3686 {
3687 "type": "longrunningpb.GetOperationRequest",
3688 "name": "req"
3689 },
3690 {
3691 "type": "...gax.CallOption",
3692 "name": "opts"
3693 }
3694 ],
3695 "resultType": "*longrunningpb.Operation",
3696 "client": {
3697 "shortName": "StreamsClient",
3698 "fullName": "google.cloud.visionai.v1.StreamsClient"
3699 },
3700 "method": {
3701 "shortName": "GetOperation",
3702 "fullName": "google.longrunning.Operations.GetOperation",
3703 "service": {
3704 "shortName": "Operations",
3705 "fullName": "google.longrunning.Operations"
3706 }
3707 }
3708 },
3709 "origin": "API_DEFINITION",
3710 "segments": [
3711 {
3712 "start": 18,
3713 "end": 53,
3714 "type": "FULL"
3715 }
3716 ]
3717 },
3718 {
3719 "regionTag": "visionai_v1_generated_StreamsService_GetSeries_sync",
3720 "title": "visionai GetSeries Sample",
3721 "description": "GetSeries gets details of a single Series.",
3722 "file": "StreamsClient/GetSeries/main.go",
3723 "language": "GO",
3724 "clientMethod": {
3725 "shortName": "GetSeries",
3726 "fullName": "google.cloud.visionai.v1.StreamsClient.GetSeries",
3727 "parameters": [
3728 {
3729 "type": "context.Context",
3730 "name": "ctx"
3731 },
3732 {
3733 "type": "visionaipb.GetSeriesRequest",
3734 "name": "req"
3735 },
3736 {
3737 "type": "...gax.CallOption",
3738 "name": "opts"
3739 }
3740 ],
3741 "resultType": "*visionaipb.Series",
3742 "client": {
3743 "shortName": "StreamsClient",
3744 "fullName": "google.cloud.visionai.v1.StreamsClient"
3745 },
3746 "method": {
3747 "shortName": "GetSeries",
3748 "fullName": "google.cloud.visionai.v1.StreamsService.GetSeries",
3749 "service": {
3750 "shortName": "StreamsService",
3751 "fullName": "google.cloud.visionai.v1.StreamsService"
3752 }
3753 }
3754 },
3755 "origin": "API_DEFINITION",
3756 "segments": [
3757 {
3758 "start": 18,
3759 "end": 53,
3760 "type": "FULL"
3761 }
3762 ]
3763 },
3764 {
3765 "regionTag": "visionai_v1_generated_StreamsService_GetStream_sync",
3766 "title": "visionai GetStream Sample",
3767 "description": "GetStream gets details of a single Stream.",
3768 "file": "StreamsClient/GetStream/main.go",
3769 "language": "GO",
3770 "clientMethod": {
3771 "shortName": "GetStream",
3772 "fullName": "google.cloud.visionai.v1.StreamsClient.GetStream",
3773 "parameters": [
3774 {
3775 "type": "context.Context",
3776 "name": "ctx"
3777 },
3778 {
3779 "type": "visionaipb.GetStreamRequest",
3780 "name": "req"
3781 },
3782 {
3783 "type": "...gax.CallOption",
3784 "name": "opts"
3785 }
3786 ],
3787 "resultType": "*visionaipb.Stream",
3788 "client": {
3789 "shortName": "StreamsClient",
3790 "fullName": "google.cloud.visionai.v1.StreamsClient"
3791 },
3792 "method": {
3793 "shortName": "GetStream",
3794 "fullName": "google.cloud.visionai.v1.StreamsService.GetStream",
3795 "service": {
3796 "shortName": "StreamsService",
3797 "fullName": "google.cloud.visionai.v1.StreamsService"
3798 }
3799 }
3800 },
3801 "origin": "API_DEFINITION",
3802 "segments": [
3803 {
3804 "start": 18,
3805 "end": 53,
3806 "type": "FULL"
3807 }
3808 ]
3809 },
3810 {
3811 "regionTag": "visionai_v1_generated_StreamsService_GetStreamThumbnail_sync",
3812 "title": "visionai GetStreamThumbnail Sample",
3813 "description": "GetStreamThumbnail gets the thumbnail (image snapshot) of a single Stream.",
3814 "file": "StreamsClient/GetStreamThumbnail/main.go",
3815 "language": "GO",
3816 "clientMethod": {
3817 "shortName": "GetStreamThumbnail",
3818 "fullName": "google.cloud.visionai.v1.StreamsClient.GetStreamThumbnail",
3819 "parameters": [
3820 {
3821 "type": "context.Context",
3822 "name": "ctx"
3823 },
3824 {
3825 "type": "visionaipb.GetStreamThumbnailRequest",
3826 "name": "req"
3827 },
3828 {
3829 "type": "...gax.CallOption",
3830 "name": "opts"
3831 }
3832 ],
3833 "resultType": "GetStreamThumbnailOperation",
3834 "client": {
3835 "shortName": "StreamsClient",
3836 "fullName": "google.cloud.visionai.v1.StreamsClient"
3837 },
3838 "method": {
3839 "shortName": "GetStreamThumbnail",
3840 "fullName": "google.cloud.visionai.v1.StreamsService.GetStreamThumbnail",
3841 "service": {
3842 "shortName": "StreamsService",
3843 "fullName": "google.cloud.visionai.v1.StreamsService"
3844 }
3845 }
3846 },
3847 "origin": "API_DEFINITION",
3848 "segments": [
3849 {
3850 "start": 18,
3851 "end": 58,
3852 "type": "FULL"
3853 }
3854 ]
3855 },
3856 {
3857 "regionTag": "visionai_v1_generated_StreamsService_ListClusters_sync",
3858 "title": "visionai ListClusters Sample",
3859 "description": "ListClusters lists Clusters in a given project and location.",
3860 "file": "StreamsClient/ListClusters/main.go",
3861 "language": "GO",
3862 "clientMethod": {
3863 "shortName": "ListClusters",
3864 "fullName": "google.cloud.visionai.v1.StreamsClient.ListClusters",
3865 "parameters": [
3866 {
3867 "type": "context.Context",
3868 "name": "ctx"
3869 },
3870 {
3871 "type": "visionaipb.ListClustersRequest",
3872 "name": "req"
3873 },
3874 {
3875 "type": "...gax.CallOption",
3876 "name": "opts"
3877 }
3878 ],
3879 "resultType": "ClusterIterator",
3880 "client": {
3881 "shortName": "StreamsClient",
3882 "fullName": "google.cloud.visionai.v1.StreamsClient"
3883 },
3884 "method": {
3885 "shortName": "ListClusters",
3886 "fullName": "google.cloud.visionai.v1.StreamsService.ListClusters",
3887 "service": {
3888 "shortName": "StreamsService",
3889 "fullName": "google.cloud.visionai.v1.StreamsService"
3890 }
3891 }
3892 },
3893 "origin": "API_DEFINITION",
3894 "segments": [
3895 {
3896 "start": 18,
3897 "end": 66,
3898 "type": "FULL"
3899 }
3900 ]
3901 },
3902 {
3903 "regionTag": "visionai_v1_generated_StreamsService_ListEvents_sync",
3904 "title": "visionai ListEvents Sample",
3905 "description": "ListEvents lists Events in a given project and location.",
3906 "file": "StreamsClient/ListEvents/main.go",
3907 "language": "GO",
3908 "clientMethod": {
3909 "shortName": "ListEvents",
3910 "fullName": "google.cloud.visionai.v1.StreamsClient.ListEvents",
3911 "parameters": [
3912 {
3913 "type": "context.Context",
3914 "name": "ctx"
3915 },
3916 {
3917 "type": "visionaipb.ListEventsRequest",
3918 "name": "req"
3919 },
3920 {
3921 "type": "...gax.CallOption",
3922 "name": "opts"
3923 }
3924 ],
3925 "resultType": "EventIterator",
3926 "client": {
3927 "shortName": "StreamsClient",
3928 "fullName": "google.cloud.visionai.v1.StreamsClient"
3929 },
3930 "method": {
3931 "shortName": "ListEvents",
3932 "fullName": "google.cloud.visionai.v1.StreamsService.ListEvents",
3933 "service": {
3934 "shortName": "StreamsService",
3935 "fullName": "google.cloud.visionai.v1.StreamsService"
3936 }
3937 }
3938 },
3939 "origin": "API_DEFINITION",
3940 "segments": [
3941 {
3942 "start": 18,
3943 "end": 66,
3944 "type": "FULL"
3945 }
3946 ]
3947 },
3948 {
3949 "regionTag": "visionai_v1_generated_StreamsService_ListOperations_sync",
3950 "title": "visionai ListOperations Sample",
3951 "description": "ListOperations is a utility method from google.longrunning.Operations.",
3952 "file": "StreamsClient/ListOperations/main.go",
3953 "language": "GO",
3954 "clientMethod": {
3955 "shortName": "ListOperations",
3956 "fullName": "google.cloud.visionai.v1.StreamsClient.ListOperations",
3957 "parameters": [
3958 {
3959 "type": "context.Context",
3960 "name": "ctx"
3961 },
3962 {
3963 "type": "longrunningpb.ListOperationsRequest",
3964 "name": "req"
3965 },
3966 {
3967 "type": "...gax.CallOption",
3968 "name": "opts"
3969 }
3970 ],
3971 "resultType": "OperationIterator",
3972 "client": {
3973 "shortName": "StreamsClient",
3974 "fullName": "google.cloud.visionai.v1.StreamsClient"
3975 },
3976 "method": {
3977 "shortName": "ListOperations",
3978 "fullName": "google.longrunning.Operations.ListOperations",
3979 "service": {
3980 "shortName": "Operations",
3981 "fullName": "google.longrunning.Operations"
3982 }
3983 }
3984 },
3985 "origin": "API_DEFINITION",
3986 "segments": [
3987 {
3988 "start": 18,
3989 "end": 66,
3990 "type": "FULL"
3991 }
3992 ]
3993 },
3994 {
3995 "regionTag": "visionai_v1_generated_StreamsService_ListSeries_sync",
3996 "title": "visionai ListSeries Sample",
3997 "description": "ListSeries lists Series in a given project and location.",
3998 "file": "StreamsClient/ListSeries/main.go",
3999 "language": "GO",
4000 "clientMethod": {
4001 "shortName": "ListSeries",
4002 "fullName": "google.cloud.visionai.v1.StreamsClient.ListSeries",
4003 "parameters": [
4004 {
4005 "type": "context.Context",
4006 "name": "ctx"
4007 },
4008 {
4009 "type": "visionaipb.ListSeriesRequest",
4010 "name": "req"
4011 },
4012 {
4013 "type": "...gax.CallOption",
4014 "name": "opts"
4015 }
4016 ],
4017 "resultType": "SeriesIterator",
4018 "client": {
4019 "shortName": "StreamsClient",
4020 "fullName": "google.cloud.visionai.v1.StreamsClient"
4021 },
4022 "method": {
4023 "shortName": "ListSeries",
4024 "fullName": "google.cloud.visionai.v1.StreamsService.ListSeries",
4025 "service": {
4026 "shortName": "StreamsService",
4027 "fullName": "google.cloud.visionai.v1.StreamsService"
4028 }
4029 }
4030 },
4031 "origin": "API_DEFINITION",
4032 "segments": [
4033 {
4034 "start": 18,
4035 "end": 66,
4036 "type": "FULL"
4037 }
4038 ]
4039 },
4040 {
4041 "regionTag": "visionai_v1_generated_StreamsService_ListStreams_sync",
4042 "title": "visionai ListStreams Sample",
4043 "description": "ListStreams lists Streams in a given project and location.",
4044 "file": "StreamsClient/ListStreams/main.go",
4045 "language": "GO",
4046 "clientMethod": {
4047 "shortName": "ListStreams",
4048 "fullName": "google.cloud.visionai.v1.StreamsClient.ListStreams",
4049 "parameters": [
4050 {
4051 "type": "context.Context",
4052 "name": "ctx"
4053 },
4054 {
4055 "type": "visionaipb.ListStreamsRequest",
4056 "name": "req"
4057 },
4058 {
4059 "type": "...gax.CallOption",
4060 "name": "opts"
4061 }
4062 ],
4063 "resultType": "StreamIterator",
4064 "client": {
4065 "shortName": "StreamsClient",
4066 "fullName": "google.cloud.visionai.v1.StreamsClient"
4067 },
4068 "method": {
4069 "shortName": "ListStreams",
4070 "fullName": "google.cloud.visionai.v1.StreamsService.ListStreams",
4071 "service": {
4072 "shortName": "StreamsService",
4073 "fullName": "google.cloud.visionai.v1.StreamsService"
4074 }
4075 }
4076 },
4077 "origin": "API_DEFINITION",
4078 "segments": [
4079 {
4080 "start": 18,
4081 "end": 66,
4082 "type": "FULL"
4083 }
4084 ]
4085 },
4086 {
4087 "regionTag": "visionai_v1_generated_StreamsService_MaterializeChannel_sync",
4088 "title": "visionai MaterializeChannel Sample",
4089 "description": "MaterializeChannel materialize a channel.",
4090 "file": "StreamsClient/MaterializeChannel/main.go",
4091 "language": "GO",
4092 "clientMethod": {
4093 "shortName": "MaterializeChannel",
4094 "fullName": "google.cloud.visionai.v1.StreamsClient.MaterializeChannel",
4095 "parameters": [
4096 {
4097 "type": "context.Context",
4098 "name": "ctx"
4099 },
4100 {
4101 "type": "visionaipb.MaterializeChannelRequest",
4102 "name": "req"
4103 },
4104 {
4105 "type": "...gax.CallOption",
4106 "name": "opts"
4107 }
4108 ],
4109 "resultType": "MaterializeChannelOperation",
4110 "client": {
4111 "shortName": "StreamsClient",
4112 "fullName": "google.cloud.visionai.v1.StreamsClient"
4113 },
4114 "method": {
4115 "shortName": "MaterializeChannel",
4116 "fullName": "google.cloud.visionai.v1.StreamsService.MaterializeChannel",
4117 "service": {
4118 "shortName": "StreamsService",
4119 "fullName": "google.cloud.visionai.v1.StreamsService"
4120 }
4121 }
4122 },
4123 "origin": "API_DEFINITION",
4124 "segments": [
4125 {
4126 "start": 18,
4127 "end": 58,
4128 "type": "FULL"
4129 }
4130 ]
4131 },
4132 {
4133 "regionTag": "visionai_v1_generated_StreamsService_UpdateCluster_sync",
4134 "title": "visionai UpdateCluster Sample",
4135 "description": "UpdateCluster updates the parameters of a single Cluster.",
4136 "file": "StreamsClient/UpdateCluster/main.go",
4137 "language": "GO",
4138 "clientMethod": {
4139 "shortName": "UpdateCluster",
4140 "fullName": "google.cloud.visionai.v1.StreamsClient.UpdateCluster",
4141 "parameters": [
4142 {
4143 "type": "context.Context",
4144 "name": "ctx"
4145 },
4146 {
4147 "type": "visionaipb.UpdateClusterRequest",
4148 "name": "req"
4149 },
4150 {
4151 "type": "...gax.CallOption",
4152 "name": "opts"
4153 }
4154 ],
4155 "resultType": "UpdateClusterOperation",
4156 "client": {
4157 "shortName": "StreamsClient",
4158 "fullName": "google.cloud.visionai.v1.StreamsClient"
4159 },
4160 "method": {
4161 "shortName": "UpdateCluster",
4162 "fullName": "google.cloud.visionai.v1.StreamsService.UpdateCluster",
4163 "service": {
4164 "shortName": "StreamsService",
4165 "fullName": "google.cloud.visionai.v1.StreamsService"
4166 }
4167 }
4168 },
4169 "origin": "API_DEFINITION",
4170 "segments": [
4171 {
4172 "start": 18,
4173 "end": 58,
4174 "type": "FULL"
4175 }
4176 ]
4177 },
4178 {
4179 "regionTag": "visionai_v1_generated_StreamsService_UpdateEvent_sync",
4180 "title": "visionai UpdateEvent Sample",
4181 "description": "UpdateEvent updates the parameters of a single Event.",
4182 "file": "StreamsClient/UpdateEvent/main.go",
4183 "language": "GO",
4184 "clientMethod": {
4185 "shortName": "UpdateEvent",
4186 "fullName": "google.cloud.visionai.v1.StreamsClient.UpdateEvent",
4187 "parameters": [
4188 {
4189 "type": "context.Context",
4190 "name": "ctx"
4191 },
4192 {
4193 "type": "visionaipb.UpdateEventRequest",
4194 "name": "req"
4195 },
4196 {
4197 "type": "...gax.CallOption",
4198 "name": "opts"
4199 }
4200 ],
4201 "resultType": "UpdateEventOperation",
4202 "client": {
4203 "shortName": "StreamsClient",
4204 "fullName": "google.cloud.visionai.v1.StreamsClient"
4205 },
4206 "method": {
4207 "shortName": "UpdateEvent",
4208 "fullName": "google.cloud.visionai.v1.StreamsService.UpdateEvent",
4209 "service": {
4210 "shortName": "StreamsService",
4211 "fullName": "google.cloud.visionai.v1.StreamsService"
4212 }
4213 }
4214 },
4215 "origin": "API_DEFINITION",
4216 "segments": [
4217 {
4218 "start": 18,
4219 "end": 58,
4220 "type": "FULL"
4221 }
4222 ]
4223 },
4224 {
4225 "regionTag": "visionai_v1_generated_StreamsService_UpdateSeries_sync",
4226 "title": "visionai UpdateSeries Sample",
4227 "description": "UpdateSeries updates the parameters of a single Event.",
4228 "file": "StreamsClient/UpdateSeries/main.go",
4229 "language": "GO",
4230 "clientMethod": {
4231 "shortName": "UpdateSeries",
4232 "fullName": "google.cloud.visionai.v1.StreamsClient.UpdateSeries",
4233 "parameters": [
4234 {
4235 "type": "context.Context",
4236 "name": "ctx"
4237 },
4238 {
4239 "type": "visionaipb.UpdateSeriesRequest",
4240 "name": "req"
4241 },
4242 {
4243 "type": "...gax.CallOption",
4244 "name": "opts"
4245 }
4246 ],
4247 "resultType": "UpdateSeriesOperation",
4248 "client": {
4249 "shortName": "StreamsClient",
4250 "fullName": "google.cloud.visionai.v1.StreamsClient"
4251 },
4252 "method": {
4253 "shortName": "UpdateSeries",
4254 "fullName": "google.cloud.visionai.v1.StreamsService.UpdateSeries",
4255 "service": {
4256 "shortName": "StreamsService",
4257 "fullName": "google.cloud.visionai.v1.StreamsService"
4258 }
4259 }
4260 },
4261 "origin": "API_DEFINITION",
4262 "segments": [
4263 {
4264 "start": 18,
4265 "end": 58,
4266 "type": "FULL"
4267 }
4268 ]
4269 },
4270 {
4271 "regionTag": "visionai_v1_generated_StreamsService_UpdateStream_sync",
4272 "title": "visionai UpdateStream Sample",
4273 "description": "UpdateStream updates the parameters of a single Stream.",
4274 "file": "StreamsClient/UpdateStream/main.go",
4275 "language": "GO",
4276 "clientMethod": {
4277 "shortName": "UpdateStream",
4278 "fullName": "google.cloud.visionai.v1.StreamsClient.UpdateStream",
4279 "parameters": [
4280 {
4281 "type": "context.Context",
4282 "name": "ctx"
4283 },
4284 {
4285 "type": "visionaipb.UpdateStreamRequest",
4286 "name": "req"
4287 },
4288 {
4289 "type": "...gax.CallOption",
4290 "name": "opts"
4291 }
4292 ],
4293 "resultType": "UpdateStreamOperation",
4294 "client": {
4295 "shortName": "StreamsClient",
4296 "fullName": "google.cloud.visionai.v1.StreamsClient"
4297 },
4298 "method": {
4299 "shortName": "UpdateStream",
4300 "fullName": "google.cloud.visionai.v1.StreamsService.UpdateStream",
4301 "service": {
4302 "shortName": "StreamsService",
4303 "fullName": "google.cloud.visionai.v1.StreamsService"
4304 }
4305 }
4306 },
4307 "origin": "API_DEFINITION",
4308 "segments": [
4309 {
4310 "start": 18,
4311 "end": 58,
4312 "type": "FULL"
4313 }
4314 ]
4315 },
4316 {
4317 "regionTag": "visionai_v1_generated_Warehouse_AddCollectionItem_sync",
4318 "title": "visionai AddCollectionItem Sample",
4319 "description": "AddCollectionItem adds an item into a Collection.",
4320 "file": "WarehouseClient/AddCollectionItem/main.go",
4321 "language": "GO",
4322 "clientMethod": {
4323 "shortName": "AddCollectionItem",
4324 "fullName": "google.cloud.visionai.v1.WarehouseClient.AddCollectionItem",
4325 "parameters": [
4326 {
4327 "type": "context.Context",
4328 "name": "ctx"
4329 },
4330 {
4331 "type": "visionaipb.AddCollectionItemRequest",
4332 "name": "req"
4333 },
4334 {
4335 "type": "...gax.CallOption",
4336 "name": "opts"
4337 }
4338 ],
4339 "resultType": "*visionaipb.AddCollectionItemResponse",
4340 "client": {
4341 "shortName": "WarehouseClient",
4342 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4343 },
4344 "method": {
4345 "shortName": "AddCollectionItem",
4346 "fullName": "google.cloud.visionai.v1.Warehouse.AddCollectionItem",
4347 "service": {
4348 "shortName": "Warehouse",
4349 "fullName": "google.cloud.visionai.v1.Warehouse"
4350 }
4351 }
4352 },
4353 "origin": "API_DEFINITION",
4354 "segments": [
4355 {
4356 "start": 18,
4357 "end": 53,
4358 "type": "FULL"
4359 }
4360 ]
4361 },
4362 {
4363 "regionTag": "visionai_v1_generated_Warehouse_AnalyzeAsset_sync",
4364 "title": "visionai AnalyzeAsset Sample",
4365 "description": "AnalyzeAsset analyze asset to power search capability.",
4366 "file": "WarehouseClient/AnalyzeAsset/main.go",
4367 "language": "GO",
4368 "clientMethod": {
4369 "shortName": "AnalyzeAsset",
4370 "fullName": "google.cloud.visionai.v1.WarehouseClient.AnalyzeAsset",
4371 "parameters": [
4372 {
4373 "type": "context.Context",
4374 "name": "ctx"
4375 },
4376 {
4377 "type": "visionaipb.AnalyzeAssetRequest",
4378 "name": "req"
4379 },
4380 {
4381 "type": "...gax.CallOption",
4382 "name": "opts"
4383 }
4384 ],
4385 "resultType": "AnalyzeAssetOperation",
4386 "client": {
4387 "shortName": "WarehouseClient",
4388 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4389 },
4390 "method": {
4391 "shortName": "AnalyzeAsset",
4392 "fullName": "google.cloud.visionai.v1.Warehouse.AnalyzeAsset",
4393 "service": {
4394 "shortName": "Warehouse",
4395 "fullName": "google.cloud.visionai.v1.Warehouse"
4396 }
4397 }
4398 },
4399 "origin": "API_DEFINITION",
4400 "segments": [
4401 {
4402 "start": 18,
4403 "end": 58,
4404 "type": "FULL"
4405 }
4406 ]
4407 },
4408 {
4409 "regionTag": "visionai_v1_generated_Warehouse_AnalyzeCorpus_sync",
4410 "title": "visionai AnalyzeCorpus Sample",
4411 "description": "AnalyzeCorpus analyzes a corpus.",
4412 "file": "WarehouseClient/AnalyzeCorpus/main.go",
4413 "language": "GO",
4414 "clientMethod": {
4415 "shortName": "AnalyzeCorpus",
4416 "fullName": "google.cloud.visionai.v1.WarehouseClient.AnalyzeCorpus",
4417 "parameters": [
4418 {
4419 "type": "context.Context",
4420 "name": "ctx"
4421 },
4422 {
4423 "type": "visionaipb.AnalyzeCorpusRequest",
4424 "name": "req"
4425 },
4426 {
4427 "type": "...gax.CallOption",
4428 "name": "opts"
4429 }
4430 ],
4431 "resultType": "AnalyzeCorpusOperation",
4432 "client": {
4433 "shortName": "WarehouseClient",
4434 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4435 },
4436 "method": {
4437 "shortName": "AnalyzeCorpus",
4438 "fullName": "google.cloud.visionai.v1.Warehouse.AnalyzeCorpus",
4439 "service": {
4440 "shortName": "Warehouse",
4441 "fullName": "google.cloud.visionai.v1.Warehouse"
4442 }
4443 }
4444 },
4445 "origin": "API_DEFINITION",
4446 "segments": [
4447 {
4448 "start": 18,
4449 "end": 58,
4450 "type": "FULL"
4451 }
4452 ]
4453 },
4454 {
4455 "regionTag": "visionai_v1_generated_Warehouse_CancelOperation_sync",
4456 "title": "visionai CancelOperation Sample",
4457 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
4458 "file": "WarehouseClient/CancelOperation/main.go",
4459 "language": "GO",
4460 "clientMethod": {
4461 "shortName": "CancelOperation",
4462 "fullName": "google.cloud.visionai.v1.WarehouseClient.CancelOperation",
4463 "parameters": [
4464 {
4465 "type": "context.Context",
4466 "name": "ctx"
4467 },
4468 {
4469 "type": "longrunningpb.CancelOperationRequest",
4470 "name": "req"
4471 },
4472 {
4473 "type": "...gax.CallOption",
4474 "name": "opts"
4475 }
4476 ],
4477 "client": {
4478 "shortName": "WarehouseClient",
4479 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4480 },
4481 "method": {
4482 "shortName": "CancelOperation",
4483 "fullName": "google.longrunning.Operations.CancelOperation",
4484 "service": {
4485 "shortName": "Operations",
4486 "fullName": "google.longrunning.Operations"
4487 }
4488 }
4489 },
4490 "origin": "API_DEFINITION",
4491 "segments": [
4492 {
4493 "start": 18,
4494 "end": 51,
4495 "type": "FULL"
4496 }
4497 ]
4498 },
4499 {
4500 "regionTag": "visionai_v1_generated_Warehouse_ClipAsset_sync",
4501 "title": "visionai ClipAsset Sample",
4502 "description": "ClipAsset supported by STREAM_VIDEO corpus type.\nGenerates clips for downloading. The api takes in a time range, and\ngenerates a clip of the first content available after start_time and\nbefore end_time, which may overflow beyond these bounds.\nReturned clips are truncated if the total size of the clips are larger\nthan 100MB.",
4503 "file": "WarehouseClient/ClipAsset/main.go",
4504 "language": "GO",
4505 "clientMethod": {
4506 "shortName": "ClipAsset",
4507 "fullName": "google.cloud.visionai.v1.WarehouseClient.ClipAsset",
4508 "parameters": [
4509 {
4510 "type": "context.Context",
4511 "name": "ctx"
4512 },
4513 {
4514 "type": "visionaipb.ClipAssetRequest",
4515 "name": "req"
4516 },
4517 {
4518 "type": "...gax.CallOption",
4519 "name": "opts"
4520 }
4521 ],
4522 "resultType": "*visionaipb.ClipAssetResponse",
4523 "client": {
4524 "shortName": "WarehouseClient",
4525 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4526 },
4527 "method": {
4528 "shortName": "ClipAsset",
4529 "fullName": "google.cloud.visionai.v1.Warehouse.ClipAsset",
4530 "service": {
4531 "shortName": "Warehouse",
4532 "fullName": "google.cloud.visionai.v1.Warehouse"
4533 }
4534 }
4535 },
4536 "origin": "API_DEFINITION",
4537 "segments": [
4538 {
4539 "start": 18,
4540 "end": 53,
4541 "type": "FULL"
4542 }
4543 ]
4544 },
4545 {
4546 "regionTag": "visionai_v1_generated_Warehouse_CreateAnnotation_sync",
4547 "title": "visionai CreateAnnotation Sample",
4548 "description": "CreateAnnotation creates annotation inside asset.",
4549 "file": "WarehouseClient/CreateAnnotation/main.go",
4550 "language": "GO",
4551 "clientMethod": {
4552 "shortName": "CreateAnnotation",
4553 "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateAnnotation",
4554 "parameters": [
4555 {
4556 "type": "context.Context",
4557 "name": "ctx"
4558 },
4559 {
4560 "type": "visionaipb.CreateAnnotationRequest",
4561 "name": "req"
4562 },
4563 {
4564 "type": "...gax.CallOption",
4565 "name": "opts"
4566 }
4567 ],
4568 "resultType": "*visionaipb.Annotation",
4569 "client": {
4570 "shortName": "WarehouseClient",
4571 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4572 },
4573 "method": {
4574 "shortName": "CreateAnnotation",
4575 "fullName": "google.cloud.visionai.v1.Warehouse.CreateAnnotation",
4576 "service": {
4577 "shortName": "Warehouse",
4578 "fullName": "google.cloud.visionai.v1.Warehouse"
4579 }
4580 }
4581 },
4582 "origin": "API_DEFINITION",
4583 "segments": [
4584 {
4585 "start": 18,
4586 "end": 53,
4587 "type": "FULL"
4588 }
4589 ]
4590 },
4591 {
4592 "regionTag": "visionai_v1_generated_Warehouse_CreateAsset_sync",
4593 "title": "visionai CreateAsset Sample",
4594 "description": "CreateAsset creates an asset inside corpus.",
4595 "file": "WarehouseClient/CreateAsset/main.go",
4596 "language": "GO",
4597 "clientMethod": {
4598 "shortName": "CreateAsset",
4599 "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateAsset",
4600 "parameters": [
4601 {
4602 "type": "context.Context",
4603 "name": "ctx"
4604 },
4605 {
4606 "type": "visionaipb.CreateAssetRequest",
4607 "name": "req"
4608 },
4609 {
4610 "type": "...gax.CallOption",
4611 "name": "opts"
4612 }
4613 ],
4614 "resultType": "*visionaipb.Asset",
4615 "client": {
4616 "shortName": "WarehouseClient",
4617 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4618 },
4619 "method": {
4620 "shortName": "CreateAsset",
4621 "fullName": "google.cloud.visionai.v1.Warehouse.CreateAsset",
4622 "service": {
4623 "shortName": "Warehouse",
4624 "fullName": "google.cloud.visionai.v1.Warehouse"
4625 }
4626 }
4627 },
4628 "origin": "API_DEFINITION",
4629 "segments": [
4630 {
4631 "start": 18,
4632 "end": 53,
4633 "type": "FULL"
4634 }
4635 ]
4636 },
4637 {
4638 "regionTag": "visionai_v1_generated_Warehouse_CreateCollection_sync",
4639 "title": "visionai CreateCollection Sample",
4640 "description": "CreateCollection creates a collection.",
4641 "file": "WarehouseClient/CreateCollection/main.go",
4642 "language": "GO",
4643 "clientMethod": {
4644 "shortName": "CreateCollection",
4645 "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateCollection",
4646 "parameters": [
4647 {
4648 "type": "context.Context",
4649 "name": "ctx"
4650 },
4651 {
4652 "type": "visionaipb.CreateCollectionRequest",
4653 "name": "req"
4654 },
4655 {
4656 "type": "...gax.CallOption",
4657 "name": "opts"
4658 }
4659 ],
4660 "resultType": "CreateCollectionOperation",
4661 "client": {
4662 "shortName": "WarehouseClient",
4663 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4664 },
4665 "method": {
4666 "shortName": "CreateCollection",
4667 "fullName": "google.cloud.visionai.v1.Warehouse.CreateCollection",
4668 "service": {
4669 "shortName": "Warehouse",
4670 "fullName": "google.cloud.visionai.v1.Warehouse"
4671 }
4672 }
4673 },
4674 "origin": "API_DEFINITION",
4675 "segments": [
4676 {
4677 "start": 18,
4678 "end": 58,
4679 "type": "FULL"
4680 }
4681 ]
4682 },
4683 {
4684 "regionTag": "visionai_v1_generated_Warehouse_CreateCorpus_sync",
4685 "title": "visionai CreateCorpus Sample",
4686 "description": "CreateCorpus creates a corpus inside a project.",
4687 "file": "WarehouseClient/CreateCorpus/main.go",
4688 "language": "GO",
4689 "clientMethod": {
4690 "shortName": "CreateCorpus",
4691 "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateCorpus",
4692 "parameters": [
4693 {
4694 "type": "context.Context",
4695 "name": "ctx"
4696 },
4697 {
4698 "type": "visionaipb.CreateCorpusRequest",
4699 "name": "req"
4700 },
4701 {
4702 "type": "...gax.CallOption",
4703 "name": "opts"
4704 }
4705 ],
4706 "resultType": "CreateCorpusOperation",
4707 "client": {
4708 "shortName": "WarehouseClient",
4709 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4710 },
4711 "method": {
4712 "shortName": "CreateCorpus",
4713 "fullName": "google.cloud.visionai.v1.Warehouse.CreateCorpus",
4714 "service": {
4715 "shortName": "Warehouse",
4716 "fullName": "google.cloud.visionai.v1.Warehouse"
4717 }
4718 }
4719 },
4720 "origin": "API_DEFINITION",
4721 "segments": [
4722 {
4723 "start": 18,
4724 "end": 58,
4725 "type": "FULL"
4726 }
4727 ]
4728 },
4729 {
4730 "regionTag": "visionai_v1_generated_Warehouse_CreateDataSchema_sync",
4731 "title": "visionai CreateDataSchema Sample",
4732 "description": "CreateDataSchema creates data schema inside corpus.",
4733 "file": "WarehouseClient/CreateDataSchema/main.go",
4734 "language": "GO",
4735 "clientMethod": {
4736 "shortName": "CreateDataSchema",
4737 "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateDataSchema",
4738 "parameters": [
4739 {
4740 "type": "context.Context",
4741 "name": "ctx"
4742 },
4743 {
4744 "type": "visionaipb.CreateDataSchemaRequest",
4745 "name": "req"
4746 },
4747 {
4748 "type": "...gax.CallOption",
4749 "name": "opts"
4750 }
4751 ],
4752 "resultType": "*visionaipb.DataSchema",
4753 "client": {
4754 "shortName": "WarehouseClient",
4755 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4756 },
4757 "method": {
4758 "shortName": "CreateDataSchema",
4759 "fullName": "google.cloud.visionai.v1.Warehouse.CreateDataSchema",
4760 "service": {
4761 "shortName": "Warehouse",
4762 "fullName": "google.cloud.visionai.v1.Warehouse"
4763 }
4764 }
4765 },
4766 "origin": "API_DEFINITION",
4767 "segments": [
4768 {
4769 "start": 18,
4770 "end": 53,
4771 "type": "FULL"
4772 }
4773 ]
4774 },
4775 {
4776 "regionTag": "visionai_v1_generated_Warehouse_CreateIndex_sync",
4777 "title": "visionai CreateIndex Sample",
4778 "description": "CreateIndex creates an Index under the corpus.",
4779 "file": "WarehouseClient/CreateIndex/main.go",
4780 "language": "GO",
4781 "clientMethod": {
4782 "shortName": "CreateIndex",
4783 "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateIndex",
4784 "parameters": [
4785 {
4786 "type": "context.Context",
4787 "name": "ctx"
4788 },
4789 {
4790 "type": "visionaipb.CreateIndexRequest",
4791 "name": "req"
4792 },
4793 {
4794 "type": "...gax.CallOption",
4795 "name": "opts"
4796 }
4797 ],
4798 "resultType": "CreateIndexOperation",
4799 "client": {
4800 "shortName": "WarehouseClient",
4801 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4802 },
4803 "method": {
4804 "shortName": "CreateIndex",
4805 "fullName": "google.cloud.visionai.v1.Warehouse.CreateIndex",
4806 "service": {
4807 "shortName": "Warehouse",
4808 "fullName": "google.cloud.visionai.v1.Warehouse"
4809 }
4810 }
4811 },
4812 "origin": "API_DEFINITION",
4813 "segments": [
4814 {
4815 "start": 18,
4816 "end": 58,
4817 "type": "FULL"
4818 }
4819 ]
4820 },
4821 {
4822 "regionTag": "visionai_v1_generated_Warehouse_CreateIndexEndpoint_sync",
4823 "title": "visionai CreateIndexEndpoint Sample",
4824 "description": "CreateIndexEndpoint creates an IndexEndpoint.",
4825 "file": "WarehouseClient/CreateIndexEndpoint/main.go",
4826 "language": "GO",
4827 "clientMethod": {
4828 "shortName": "CreateIndexEndpoint",
4829 "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateIndexEndpoint",
4830 "parameters": [
4831 {
4832 "type": "context.Context",
4833 "name": "ctx"
4834 },
4835 {
4836 "type": "visionaipb.CreateIndexEndpointRequest",
4837 "name": "req"
4838 },
4839 {
4840 "type": "...gax.CallOption",
4841 "name": "opts"
4842 }
4843 ],
4844 "resultType": "CreateIndexEndpointOperation",
4845 "client": {
4846 "shortName": "WarehouseClient",
4847 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4848 },
4849 "method": {
4850 "shortName": "CreateIndexEndpoint",
4851 "fullName": "google.cloud.visionai.v1.Warehouse.CreateIndexEndpoint",
4852 "service": {
4853 "shortName": "Warehouse",
4854 "fullName": "google.cloud.visionai.v1.Warehouse"
4855 }
4856 }
4857 },
4858 "origin": "API_DEFINITION",
4859 "segments": [
4860 {
4861 "start": 18,
4862 "end": 58,
4863 "type": "FULL"
4864 }
4865 ]
4866 },
4867 {
4868 "regionTag": "visionai_v1_generated_Warehouse_CreateSearchConfig_sync",
4869 "title": "visionai CreateSearchConfig Sample",
4870 "description": "CreateSearchConfig creates a search configuration inside a corpus.\n\nPlease follow the rules below to create a valid CreateSearchConfigRequest.\n--- General Rules ---\n1. Request.search_config_id must not be associated with an existing\nSearchConfig.\n2. Request must contain at least one non-empty search_criteria_property or\nfacet_property.\n3. mapped_fields must not be empty, and must map to existing UGA keys.\n4. All mapped_fields must be of the same type.\n5. All mapped_fields must share the same granularity.\n6. All mapped_fields must share the same semantic SearchConfig match\noptions.\nFor property-specific rules, please reference the comments for\nFacetProperty and SearchCriteriaProperty.",
4871 "file": "WarehouseClient/CreateSearchConfig/main.go",
4872 "language": "GO",
4873 "clientMethod": {
4874 "shortName": "CreateSearchConfig",
4875 "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateSearchConfig",
4876 "parameters": [
4877 {
4878 "type": "context.Context",
4879 "name": "ctx"
4880 },
4881 {
4882 "type": "visionaipb.CreateSearchConfigRequest",
4883 "name": "req"
4884 },
4885 {
4886 "type": "...gax.CallOption",
4887 "name": "opts"
4888 }
4889 ],
4890 "resultType": "*visionaipb.SearchConfig",
4891 "client": {
4892 "shortName": "WarehouseClient",
4893 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4894 },
4895 "method": {
4896 "shortName": "CreateSearchConfig",
4897 "fullName": "google.cloud.visionai.v1.Warehouse.CreateSearchConfig",
4898 "service": {
4899 "shortName": "Warehouse",
4900 "fullName": "google.cloud.visionai.v1.Warehouse"
4901 }
4902 }
4903 },
4904 "origin": "API_DEFINITION",
4905 "segments": [
4906 {
4907 "start": 18,
4908 "end": 53,
4909 "type": "FULL"
4910 }
4911 ]
4912 },
4913 {
4914 "regionTag": "visionai_v1_generated_Warehouse_CreateSearchHypernym_sync",
4915 "title": "visionai CreateSearchHypernym Sample",
4916 "description": "CreateSearchHypernym creates a SearchHypernym inside a corpus.",
4917 "file": "WarehouseClient/CreateSearchHypernym/main.go",
4918 "language": "GO",
4919 "clientMethod": {
4920 "shortName": "CreateSearchHypernym",
4921 "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateSearchHypernym",
4922 "parameters": [
4923 {
4924 "type": "context.Context",
4925 "name": "ctx"
4926 },
4927 {
4928 "type": "visionaipb.CreateSearchHypernymRequest",
4929 "name": "req"
4930 },
4931 {
4932 "type": "...gax.CallOption",
4933 "name": "opts"
4934 }
4935 ],
4936 "resultType": "*visionaipb.SearchHypernym",
4937 "client": {
4938 "shortName": "WarehouseClient",
4939 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4940 },
4941 "method": {
4942 "shortName": "CreateSearchHypernym",
4943 "fullName": "google.cloud.visionai.v1.Warehouse.CreateSearchHypernym",
4944 "service": {
4945 "shortName": "Warehouse",
4946 "fullName": "google.cloud.visionai.v1.Warehouse"
4947 }
4948 }
4949 },
4950 "origin": "API_DEFINITION",
4951 "segments": [
4952 {
4953 "start": 18,
4954 "end": 53,
4955 "type": "FULL"
4956 }
4957 ]
4958 },
4959 {
4960 "regionTag": "visionai_v1_generated_Warehouse_DeleteAnnotation_sync",
4961 "title": "visionai DeleteAnnotation Sample",
4962 "description": "DeleteAnnotation deletes annotation inside asset.",
4963 "file": "WarehouseClient/DeleteAnnotation/main.go",
4964 "language": "GO",
4965 "clientMethod": {
4966 "shortName": "DeleteAnnotation",
4967 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteAnnotation",
4968 "parameters": [
4969 {
4970 "type": "context.Context",
4971 "name": "ctx"
4972 },
4973 {
4974 "type": "visionaipb.DeleteAnnotationRequest",
4975 "name": "req"
4976 },
4977 {
4978 "type": "...gax.CallOption",
4979 "name": "opts"
4980 }
4981 ],
4982 "client": {
4983 "shortName": "WarehouseClient",
4984 "fullName": "google.cloud.visionai.v1.WarehouseClient"
4985 },
4986 "method": {
4987 "shortName": "DeleteAnnotation",
4988 "fullName": "google.cloud.visionai.v1.Warehouse.DeleteAnnotation",
4989 "service": {
4990 "shortName": "Warehouse",
4991 "fullName": "google.cloud.visionai.v1.Warehouse"
4992 }
4993 }
4994 },
4995 "origin": "API_DEFINITION",
4996 "segments": [
4997 {
4998 "start": 18,
4999 "end": 51,
5000 "type": "FULL"
5001 }
5002 ]
5003 },
5004 {
5005 "regionTag": "visionai_v1_generated_Warehouse_DeleteAsset_sync",
5006 "title": "visionai DeleteAsset Sample",
5007 "description": "DeleteAsset deletes asset inside corpus.",
5008 "file": "WarehouseClient/DeleteAsset/main.go",
5009 "language": "GO",
5010 "clientMethod": {
5011 "shortName": "DeleteAsset",
5012 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteAsset",
5013 "parameters": [
5014 {
5015 "type": "context.Context",
5016 "name": "ctx"
5017 },
5018 {
5019 "type": "visionaipb.DeleteAssetRequest",
5020 "name": "req"
5021 },
5022 {
5023 "type": "...gax.CallOption",
5024 "name": "opts"
5025 }
5026 ],
5027 "resultType": "DeleteAssetOperation",
5028 "client": {
5029 "shortName": "WarehouseClient",
5030 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5031 },
5032 "method": {
5033 "shortName": "DeleteAsset",
5034 "fullName": "google.cloud.visionai.v1.Warehouse.DeleteAsset",
5035 "service": {
5036 "shortName": "Warehouse",
5037 "fullName": "google.cloud.visionai.v1.Warehouse"
5038 }
5039 }
5040 },
5041 "origin": "API_DEFINITION",
5042 "segments": [
5043 {
5044 "start": 18,
5045 "end": 56,
5046 "type": "FULL"
5047 }
5048 ]
5049 },
5050 {
5051 "regionTag": "visionai_v1_generated_Warehouse_DeleteCollection_sync",
5052 "title": "visionai DeleteCollection Sample",
5053 "description": "DeleteCollection deletes a collection.",
5054 "file": "WarehouseClient/DeleteCollection/main.go",
5055 "language": "GO",
5056 "clientMethod": {
5057 "shortName": "DeleteCollection",
5058 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteCollection",
5059 "parameters": [
5060 {
5061 "type": "context.Context",
5062 "name": "ctx"
5063 },
5064 {
5065 "type": "visionaipb.DeleteCollectionRequest",
5066 "name": "req"
5067 },
5068 {
5069 "type": "...gax.CallOption",
5070 "name": "opts"
5071 }
5072 ],
5073 "resultType": "DeleteCollectionOperation",
5074 "client": {
5075 "shortName": "WarehouseClient",
5076 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5077 },
5078 "method": {
5079 "shortName": "DeleteCollection",
5080 "fullName": "google.cloud.visionai.v1.Warehouse.DeleteCollection",
5081 "service": {
5082 "shortName": "Warehouse",
5083 "fullName": "google.cloud.visionai.v1.Warehouse"
5084 }
5085 }
5086 },
5087 "origin": "API_DEFINITION",
5088 "segments": [
5089 {
5090 "start": 18,
5091 "end": 56,
5092 "type": "FULL"
5093 }
5094 ]
5095 },
5096 {
5097 "regionTag": "visionai_v1_generated_Warehouse_DeleteCorpus_sync",
5098 "title": "visionai DeleteCorpus Sample",
5099 "description": "DeleteCorpus deletes a corpus only if its empty.\nReturns empty response.",
5100 "file": "WarehouseClient/DeleteCorpus/main.go",
5101 "language": "GO",
5102 "clientMethod": {
5103 "shortName": "DeleteCorpus",
5104 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteCorpus",
5105 "parameters": [
5106 {
5107 "type": "context.Context",
5108 "name": "ctx"
5109 },
5110 {
5111 "type": "visionaipb.DeleteCorpusRequest",
5112 "name": "req"
5113 },
5114 {
5115 "type": "...gax.CallOption",
5116 "name": "opts"
5117 }
5118 ],
5119 "client": {
5120 "shortName": "WarehouseClient",
5121 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5122 },
5123 "method": {
5124 "shortName": "DeleteCorpus",
5125 "fullName": "google.cloud.visionai.v1.Warehouse.DeleteCorpus",
5126 "service": {
5127 "shortName": "Warehouse",
5128 "fullName": "google.cloud.visionai.v1.Warehouse"
5129 }
5130 }
5131 },
5132 "origin": "API_DEFINITION",
5133 "segments": [
5134 {
5135 "start": 18,
5136 "end": 51,
5137 "type": "FULL"
5138 }
5139 ]
5140 },
5141 {
5142 "regionTag": "visionai_v1_generated_Warehouse_DeleteDataSchema_sync",
5143 "title": "visionai DeleteDataSchema Sample",
5144 "description": "DeleteDataSchema deletes data schema inside corpus.",
5145 "file": "WarehouseClient/DeleteDataSchema/main.go",
5146 "language": "GO",
5147 "clientMethod": {
5148 "shortName": "DeleteDataSchema",
5149 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteDataSchema",
5150 "parameters": [
5151 {
5152 "type": "context.Context",
5153 "name": "ctx"
5154 },
5155 {
5156 "type": "visionaipb.DeleteDataSchemaRequest",
5157 "name": "req"
5158 },
5159 {
5160 "type": "...gax.CallOption",
5161 "name": "opts"
5162 }
5163 ],
5164 "client": {
5165 "shortName": "WarehouseClient",
5166 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5167 },
5168 "method": {
5169 "shortName": "DeleteDataSchema",
5170 "fullName": "google.cloud.visionai.v1.Warehouse.DeleteDataSchema",
5171 "service": {
5172 "shortName": "Warehouse",
5173 "fullName": "google.cloud.visionai.v1.Warehouse"
5174 }
5175 }
5176 },
5177 "origin": "API_DEFINITION",
5178 "segments": [
5179 {
5180 "start": 18,
5181 "end": 51,
5182 "type": "FULL"
5183 }
5184 ]
5185 },
5186 {
5187 "regionTag": "visionai_v1_generated_Warehouse_DeleteIndex_sync",
5188 "title": "visionai DeleteIndex Sample",
5189 "description": "DeleteIndex delete a single Index. In order to delete an index, the caller must\nmake sure that it is not deployed to any index endpoint.",
5190 "file": "WarehouseClient/DeleteIndex/main.go",
5191 "language": "GO",
5192 "clientMethod": {
5193 "shortName": "DeleteIndex",
5194 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteIndex",
5195 "parameters": [
5196 {
5197 "type": "context.Context",
5198 "name": "ctx"
5199 },
5200 {
5201 "type": "visionaipb.DeleteIndexRequest",
5202 "name": "req"
5203 },
5204 {
5205 "type": "...gax.CallOption",
5206 "name": "opts"
5207 }
5208 ],
5209 "resultType": "DeleteIndexOperation",
5210 "client": {
5211 "shortName": "WarehouseClient",
5212 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5213 },
5214 "method": {
5215 "shortName": "DeleteIndex",
5216 "fullName": "google.cloud.visionai.v1.Warehouse.DeleteIndex",
5217 "service": {
5218 "shortName": "Warehouse",
5219 "fullName": "google.cloud.visionai.v1.Warehouse"
5220 }
5221 }
5222 },
5223 "origin": "API_DEFINITION",
5224 "segments": [
5225 {
5226 "start": 18,
5227 "end": 56,
5228 "type": "FULL"
5229 }
5230 ]
5231 },
5232 {
5233 "regionTag": "visionai_v1_generated_Warehouse_DeleteIndexEndpoint_sync",
5234 "title": "visionai DeleteIndexEndpoint Sample",
5235 "description": "DeleteIndexEndpoint deletes an IndexEndpoint.",
5236 "file": "WarehouseClient/DeleteIndexEndpoint/main.go",
5237 "language": "GO",
5238 "clientMethod": {
5239 "shortName": "DeleteIndexEndpoint",
5240 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteIndexEndpoint",
5241 "parameters": [
5242 {
5243 "type": "context.Context",
5244 "name": "ctx"
5245 },
5246 {
5247 "type": "visionaipb.DeleteIndexEndpointRequest",
5248 "name": "req"
5249 },
5250 {
5251 "type": "...gax.CallOption",
5252 "name": "opts"
5253 }
5254 ],
5255 "resultType": "DeleteIndexEndpointOperation",
5256 "client": {
5257 "shortName": "WarehouseClient",
5258 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5259 },
5260 "method": {
5261 "shortName": "DeleteIndexEndpoint",
5262 "fullName": "google.cloud.visionai.v1.Warehouse.DeleteIndexEndpoint",
5263 "service": {
5264 "shortName": "Warehouse",
5265 "fullName": "google.cloud.visionai.v1.Warehouse"
5266 }
5267 }
5268 },
5269 "origin": "API_DEFINITION",
5270 "segments": [
5271 {
5272 "start": 18,
5273 "end": 56,
5274 "type": "FULL"
5275 }
5276 ]
5277 },
5278 {
5279 "regionTag": "visionai_v1_generated_Warehouse_DeleteOperation_sync",
5280 "title": "visionai DeleteOperation Sample",
5281 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
5282 "file": "WarehouseClient/DeleteOperation/main.go",
5283 "language": "GO",
5284 "clientMethod": {
5285 "shortName": "DeleteOperation",
5286 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteOperation",
5287 "parameters": [
5288 {
5289 "type": "context.Context",
5290 "name": "ctx"
5291 },
5292 {
5293 "type": "longrunningpb.DeleteOperationRequest",
5294 "name": "req"
5295 },
5296 {
5297 "type": "...gax.CallOption",
5298 "name": "opts"
5299 }
5300 ],
5301 "client": {
5302 "shortName": "WarehouseClient",
5303 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5304 },
5305 "method": {
5306 "shortName": "DeleteOperation",
5307 "fullName": "google.longrunning.Operations.DeleteOperation",
5308 "service": {
5309 "shortName": "Operations",
5310 "fullName": "google.longrunning.Operations"
5311 }
5312 }
5313 },
5314 "origin": "API_DEFINITION",
5315 "segments": [
5316 {
5317 "start": 18,
5318 "end": 51,
5319 "type": "FULL"
5320 }
5321 ]
5322 },
5323 {
5324 "regionTag": "visionai_v1_generated_Warehouse_DeleteSearchConfig_sync",
5325 "title": "visionai DeleteSearchConfig Sample",
5326 "description": "DeleteSearchConfig deletes a search configuration inside a corpus.\n\nFor a DeleteSearchConfigRequest to be valid,\nRequest.search_configuration.name must already exist.",
5327 "file": "WarehouseClient/DeleteSearchConfig/main.go",
5328 "language": "GO",
5329 "clientMethod": {
5330 "shortName": "DeleteSearchConfig",
5331 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteSearchConfig",
5332 "parameters": [
5333 {
5334 "type": "context.Context",
5335 "name": "ctx"
5336 },
5337 {
5338 "type": "visionaipb.DeleteSearchConfigRequest",
5339 "name": "req"
5340 },
5341 {
5342 "type": "...gax.CallOption",
5343 "name": "opts"
5344 }
5345 ],
5346 "client": {
5347 "shortName": "WarehouseClient",
5348 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5349 },
5350 "method": {
5351 "shortName": "DeleteSearchConfig",
5352 "fullName": "google.cloud.visionai.v1.Warehouse.DeleteSearchConfig",
5353 "service": {
5354 "shortName": "Warehouse",
5355 "fullName": "google.cloud.visionai.v1.Warehouse"
5356 }
5357 }
5358 },
5359 "origin": "API_DEFINITION",
5360 "segments": [
5361 {
5362 "start": 18,
5363 "end": 51,
5364 "type": "FULL"
5365 }
5366 ]
5367 },
5368 {
5369 "regionTag": "visionai_v1_generated_Warehouse_DeleteSearchHypernym_sync",
5370 "title": "visionai DeleteSearchHypernym Sample",
5371 "description": "DeleteSearchHypernym deletes a SearchHypernym inside a corpus.",
5372 "file": "WarehouseClient/DeleteSearchHypernym/main.go",
5373 "language": "GO",
5374 "clientMethod": {
5375 "shortName": "DeleteSearchHypernym",
5376 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteSearchHypernym",
5377 "parameters": [
5378 {
5379 "type": "context.Context",
5380 "name": "ctx"
5381 },
5382 {
5383 "type": "visionaipb.DeleteSearchHypernymRequest",
5384 "name": "req"
5385 },
5386 {
5387 "type": "...gax.CallOption",
5388 "name": "opts"
5389 }
5390 ],
5391 "client": {
5392 "shortName": "WarehouseClient",
5393 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5394 },
5395 "method": {
5396 "shortName": "DeleteSearchHypernym",
5397 "fullName": "google.cloud.visionai.v1.Warehouse.DeleteSearchHypernym",
5398 "service": {
5399 "shortName": "Warehouse",
5400 "fullName": "google.cloud.visionai.v1.Warehouse"
5401 }
5402 }
5403 },
5404 "origin": "API_DEFINITION",
5405 "segments": [
5406 {
5407 "start": 18,
5408 "end": 51,
5409 "type": "FULL"
5410 }
5411 ]
5412 },
5413 {
5414 "regionTag": "visionai_v1_generated_Warehouse_DeployIndex_sync",
5415 "title": "visionai DeployIndex Sample",
5416 "description": "DeployIndex deploys an Index to IndexEndpoint.",
5417 "file": "WarehouseClient/DeployIndex/main.go",
5418 "language": "GO",
5419 "clientMethod": {
5420 "shortName": "DeployIndex",
5421 "fullName": "google.cloud.visionai.v1.WarehouseClient.DeployIndex",
5422 "parameters": [
5423 {
5424 "type": "context.Context",
5425 "name": "ctx"
5426 },
5427 {
5428 "type": "visionaipb.DeployIndexRequest",
5429 "name": "req"
5430 },
5431 {
5432 "type": "...gax.CallOption",
5433 "name": "opts"
5434 }
5435 ],
5436 "resultType": "DeployIndexOperation",
5437 "client": {
5438 "shortName": "WarehouseClient",
5439 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5440 },
5441 "method": {
5442 "shortName": "DeployIndex",
5443 "fullName": "google.cloud.visionai.v1.Warehouse.DeployIndex",
5444 "service": {
5445 "shortName": "Warehouse",
5446 "fullName": "google.cloud.visionai.v1.Warehouse"
5447 }
5448 }
5449 },
5450 "origin": "API_DEFINITION",
5451 "segments": [
5452 {
5453 "start": 18,
5454 "end": 58,
5455 "type": "FULL"
5456 }
5457 ]
5458 },
5459 {
5460 "regionTag": "visionai_v1_generated_Warehouse_GenerateHlsUri_sync",
5461 "title": "visionai GenerateHlsUri Sample",
5462 "description": "GenerateHlsUri generates a uri for an HLS manifest. The api takes in a collection of time\nranges, and generates a URI for an HLS manifest that covers all the\nrequested time ranges.",
5463 "file": "WarehouseClient/GenerateHlsUri/main.go",
5464 "language": "GO",
5465 "clientMethod": {
5466 "shortName": "GenerateHlsUri",
5467 "fullName": "google.cloud.visionai.v1.WarehouseClient.GenerateHlsUri",
5468 "parameters": [
5469 {
5470 "type": "context.Context",
5471 "name": "ctx"
5472 },
5473 {
5474 "type": "visionaipb.GenerateHlsUriRequest",
5475 "name": "req"
5476 },
5477 {
5478 "type": "...gax.CallOption",
5479 "name": "opts"
5480 }
5481 ],
5482 "resultType": "*visionaipb.GenerateHlsUriResponse",
5483 "client": {
5484 "shortName": "WarehouseClient",
5485 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5486 },
5487 "method": {
5488 "shortName": "GenerateHlsUri",
5489 "fullName": "google.cloud.visionai.v1.Warehouse.GenerateHlsUri",
5490 "service": {
5491 "shortName": "Warehouse",
5492 "fullName": "google.cloud.visionai.v1.Warehouse"
5493 }
5494 }
5495 },
5496 "origin": "API_DEFINITION",
5497 "segments": [
5498 {
5499 "start": 18,
5500 "end": 53,
5501 "type": "FULL"
5502 }
5503 ]
5504 },
5505 {
5506 "regionTag": "visionai_v1_generated_Warehouse_GenerateRetrievalUrl_sync",
5507 "title": "visionai GenerateRetrievalUrl Sample",
5508 "description": "GenerateRetrievalUrl generates a signed url for downloading the asset.\nFor video warehouse, please see comment of UploadAsset about how to allow\nretrieval of cloud storage files in a different project.",
5509 "file": "WarehouseClient/GenerateRetrievalUrl/main.go",
5510 "language": "GO",
5511 "clientMethod": {
5512 "shortName": "GenerateRetrievalUrl",
5513 "fullName": "google.cloud.visionai.v1.WarehouseClient.GenerateRetrievalUrl",
5514 "parameters": [
5515 {
5516 "type": "context.Context",
5517 "name": "ctx"
5518 },
5519 {
5520 "type": "visionaipb.GenerateRetrievalUrlRequest",
5521 "name": "req"
5522 },
5523 {
5524 "type": "...gax.CallOption",
5525 "name": "opts"
5526 }
5527 ],
5528 "resultType": "*visionaipb.GenerateRetrievalUrlResponse",
5529 "client": {
5530 "shortName": "WarehouseClient",
5531 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5532 },
5533 "method": {
5534 "shortName": "GenerateRetrievalUrl",
5535 "fullName": "google.cloud.visionai.v1.Warehouse.GenerateRetrievalUrl",
5536 "service": {
5537 "shortName": "Warehouse",
5538 "fullName": "google.cloud.visionai.v1.Warehouse"
5539 }
5540 }
5541 },
5542 "origin": "API_DEFINITION",
5543 "segments": [
5544 {
5545 "start": 18,
5546 "end": 53,
5547 "type": "FULL"
5548 }
5549 ]
5550 },
5551 {
5552 "regionTag": "visionai_v1_generated_Warehouse_GetAnnotation_sync",
5553 "title": "visionai GetAnnotation Sample",
5554 "description": "GetAnnotation reads annotation inside asset.",
5555 "file": "WarehouseClient/GetAnnotation/main.go",
5556 "language": "GO",
5557 "clientMethod": {
5558 "shortName": "GetAnnotation",
5559 "fullName": "google.cloud.visionai.v1.WarehouseClient.GetAnnotation",
5560 "parameters": [
5561 {
5562 "type": "context.Context",
5563 "name": "ctx"
5564 },
5565 {
5566 "type": "visionaipb.GetAnnotationRequest",
5567 "name": "req"
5568 },
5569 {
5570 "type": "...gax.CallOption",
5571 "name": "opts"
5572 }
5573 ],
5574 "resultType": "*visionaipb.Annotation",
5575 "client": {
5576 "shortName": "WarehouseClient",
5577 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5578 },
5579 "method": {
5580 "shortName": "GetAnnotation",
5581 "fullName": "google.cloud.visionai.v1.Warehouse.GetAnnotation",
5582 "service": {
5583 "shortName": "Warehouse",
5584 "fullName": "google.cloud.visionai.v1.Warehouse"
5585 }
5586 }
5587 },
5588 "origin": "API_DEFINITION",
5589 "segments": [
5590 {
5591 "start": 18,
5592 "end": 53,
5593 "type": "FULL"
5594 }
5595 ]
5596 },
5597 {
5598 "regionTag": "visionai_v1_generated_Warehouse_GetAsset_sync",
5599 "title": "visionai GetAsset Sample",
5600 "description": "GetAsset reads an asset inside corpus.",
5601 "file": "WarehouseClient/GetAsset/main.go",
5602 "language": "GO",
5603 "clientMethod": {
5604 "shortName": "GetAsset",
5605 "fullName": "google.cloud.visionai.v1.WarehouseClient.GetAsset",
5606 "parameters": [
5607 {
5608 "type": "context.Context",
5609 "name": "ctx"
5610 },
5611 {
5612 "type": "visionaipb.GetAssetRequest",
5613 "name": "req"
5614 },
5615 {
5616 "type": "...gax.CallOption",
5617 "name": "opts"
5618 }
5619 ],
5620 "resultType": "*visionaipb.Asset",
5621 "client": {
5622 "shortName": "WarehouseClient",
5623 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5624 },
5625 "method": {
5626 "shortName": "GetAsset",
5627 "fullName": "google.cloud.visionai.v1.Warehouse.GetAsset",
5628 "service": {
5629 "shortName": "Warehouse",
5630 "fullName": "google.cloud.visionai.v1.Warehouse"
5631 }
5632 }
5633 },
5634 "origin": "API_DEFINITION",
5635 "segments": [
5636 {
5637 "start": 18,
5638 "end": 53,
5639 "type": "FULL"
5640 }
5641 ]
5642 },
5643 {
5644 "regionTag": "visionai_v1_generated_Warehouse_GetCollection_sync",
5645 "title": "visionai GetCollection Sample",
5646 "description": "GetCollection gets a collection.",
5647 "file": "WarehouseClient/GetCollection/main.go",
5648 "language": "GO",
5649 "clientMethod": {
5650 "shortName": "GetCollection",
5651 "fullName": "google.cloud.visionai.v1.WarehouseClient.GetCollection",
5652 "parameters": [
5653 {
5654 "type": "context.Context",
5655 "name": "ctx"
5656 },
5657 {
5658 "type": "visionaipb.GetCollectionRequest",
5659 "name": "req"
5660 },
5661 {
5662 "type": "...gax.CallOption",
5663 "name": "opts"
5664 }
5665 ],
5666 "resultType": "*visionaipb.Collection",
5667 "client": {
5668 "shortName": "WarehouseClient",
5669 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5670 },
5671 "method": {
5672 "shortName": "GetCollection",
5673 "fullName": "google.cloud.visionai.v1.Warehouse.GetCollection",
5674 "service": {
5675 "shortName": "Warehouse",
5676 "fullName": "google.cloud.visionai.v1.Warehouse"
5677 }
5678 }
5679 },
5680 "origin": "API_DEFINITION",
5681 "segments": [
5682 {
5683 "start": 18,
5684 "end": 53,
5685 "type": "FULL"
5686 }
5687 ]
5688 },
5689 {
5690 "regionTag": "visionai_v1_generated_Warehouse_GetCorpus_sync",
5691 "title": "visionai GetCorpus Sample",
5692 "description": "GetCorpus gets corpus details inside a project.",
5693 "file": "WarehouseClient/GetCorpus/main.go",
5694 "language": "GO",
5695 "clientMethod": {
5696 "shortName": "GetCorpus",
5697 "fullName": "google.cloud.visionai.v1.WarehouseClient.GetCorpus",
5698 "parameters": [
5699 {
5700 "type": "context.Context",
5701 "name": "ctx"
5702 },
5703 {
5704 "type": "visionaipb.GetCorpusRequest",
5705 "name": "req"
5706 },
5707 {
5708 "type": "...gax.CallOption",
5709 "name": "opts"
5710 }
5711 ],
5712 "resultType": "*visionaipb.Corpus",
5713 "client": {
5714 "shortName": "WarehouseClient",
5715 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5716 },
5717 "method": {
5718 "shortName": "GetCorpus",
5719 "fullName": "google.cloud.visionai.v1.Warehouse.GetCorpus",
5720 "service": {
5721 "shortName": "Warehouse",
5722 "fullName": "google.cloud.visionai.v1.Warehouse"
5723 }
5724 }
5725 },
5726 "origin": "API_DEFINITION",
5727 "segments": [
5728 {
5729 "start": 18,
5730 "end": 53,
5731 "type": "FULL"
5732 }
5733 ]
5734 },
5735 {
5736 "regionTag": "visionai_v1_generated_Warehouse_GetDataSchema_sync",
5737 "title": "visionai GetDataSchema Sample",
5738 "description": "GetDataSchema gets data schema inside corpus.",
5739 "file": "WarehouseClient/GetDataSchema/main.go",
5740 "language": "GO",
5741 "clientMethod": {
5742 "shortName": "GetDataSchema",
5743 "fullName": "google.cloud.visionai.v1.WarehouseClient.GetDataSchema",
5744 "parameters": [
5745 {
5746 "type": "context.Context",
5747 "name": "ctx"
5748 },
5749 {
5750 "type": "visionaipb.GetDataSchemaRequest",
5751 "name": "req"
5752 },
5753 {
5754 "type": "...gax.CallOption",
5755 "name": "opts"
5756 }
5757 ],
5758 "resultType": "*visionaipb.DataSchema",
5759 "client": {
5760 "shortName": "WarehouseClient",
5761 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5762 },
5763 "method": {
5764 "shortName": "GetDataSchema",
5765 "fullName": "google.cloud.visionai.v1.Warehouse.GetDataSchema",
5766 "service": {
5767 "shortName": "Warehouse",
5768 "fullName": "google.cloud.visionai.v1.Warehouse"
5769 }
5770 }
5771 },
5772 "origin": "API_DEFINITION",
5773 "segments": [
5774 {
5775 "start": 18,
5776 "end": 53,
5777 "type": "FULL"
5778 }
5779 ]
5780 },
5781 {
5782 "regionTag": "visionai_v1_generated_Warehouse_GetIndex_sync",
5783 "title": "visionai GetIndex Sample",
5784 "description": "GetIndex gets the details of a single Index under a Corpus.",
5785 "file": "WarehouseClient/GetIndex/main.go",
5786 "language": "GO",
5787 "clientMethod": {
5788 "shortName": "GetIndex",
5789 "fullName": "google.cloud.visionai.v1.WarehouseClient.GetIndex",
5790 "parameters": [
5791 {
5792 "type": "context.Context",
5793 "name": "ctx"
5794 },
5795 {
5796 "type": "visionaipb.GetIndexRequest",
5797 "name": "req"
5798 },
5799 {
5800 "type": "...gax.CallOption",
5801 "name": "opts"
5802 }
5803 ],
5804 "resultType": "*visionaipb.Index",
5805 "client": {
5806 "shortName": "WarehouseClient",
5807 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5808 },
5809 "method": {
5810 "shortName": "GetIndex",
5811 "fullName": "google.cloud.visionai.v1.Warehouse.GetIndex",
5812 "service": {
5813 "shortName": "Warehouse",
5814 "fullName": "google.cloud.visionai.v1.Warehouse"
5815 }
5816 }
5817 },
5818 "origin": "API_DEFINITION",
5819 "segments": [
5820 {
5821 "start": 18,
5822 "end": 53,
5823 "type": "FULL"
5824 }
5825 ]
5826 },
5827 {
5828 "regionTag": "visionai_v1_generated_Warehouse_GetIndexEndpoint_sync",
5829 "title": "visionai GetIndexEndpoint Sample",
5830 "description": "GetIndexEndpoint gets an IndexEndpoint.",
5831 "file": "WarehouseClient/GetIndexEndpoint/main.go",
5832 "language": "GO",
5833 "clientMethod": {
5834 "shortName": "GetIndexEndpoint",
5835 "fullName": "google.cloud.visionai.v1.WarehouseClient.GetIndexEndpoint",
5836 "parameters": [
5837 {
5838 "type": "context.Context",
5839 "name": "ctx"
5840 },
5841 {
5842 "type": "visionaipb.GetIndexEndpointRequest",
5843 "name": "req"
5844 },
5845 {
5846 "type": "...gax.CallOption",
5847 "name": "opts"
5848 }
5849 ],
5850 "resultType": "*visionaipb.IndexEndpoint",
5851 "client": {
5852 "shortName": "WarehouseClient",
5853 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5854 },
5855 "method": {
5856 "shortName": "GetIndexEndpoint",
5857 "fullName": "google.cloud.visionai.v1.Warehouse.GetIndexEndpoint",
5858 "service": {
5859 "shortName": "Warehouse",
5860 "fullName": "google.cloud.visionai.v1.Warehouse"
5861 }
5862 }
5863 },
5864 "origin": "API_DEFINITION",
5865 "segments": [
5866 {
5867 "start": 18,
5868 "end": 53,
5869 "type": "FULL"
5870 }
5871 ]
5872 },
5873 {
5874 "regionTag": "visionai_v1_generated_Warehouse_GetOperation_sync",
5875 "title": "visionai GetOperation Sample",
5876 "description": "GetOperation is a utility method from google.longrunning.Operations.",
5877 "file": "WarehouseClient/GetOperation/main.go",
5878 "language": "GO",
5879 "clientMethod": {
5880 "shortName": "GetOperation",
5881 "fullName": "google.cloud.visionai.v1.WarehouseClient.GetOperation",
5882 "parameters": [
5883 {
5884 "type": "context.Context",
5885 "name": "ctx"
5886 },
5887 {
5888 "type": "longrunningpb.GetOperationRequest",
5889 "name": "req"
5890 },
5891 {
5892 "type": "...gax.CallOption",
5893 "name": "opts"
5894 }
5895 ],
5896 "resultType": "*longrunningpb.Operation",
5897 "client": {
5898 "shortName": "WarehouseClient",
5899 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5900 },
5901 "method": {
5902 "shortName": "GetOperation",
5903 "fullName": "google.longrunning.Operations.GetOperation",
5904 "service": {
5905 "shortName": "Operations",
5906 "fullName": "google.longrunning.Operations"
5907 }
5908 }
5909 },
5910 "origin": "API_DEFINITION",
5911 "segments": [
5912 {
5913 "start": 18,
5914 "end": 53,
5915 "type": "FULL"
5916 }
5917 ]
5918 },
5919 {
5920 "regionTag": "visionai_v1_generated_Warehouse_GetSearchConfig_sync",
5921 "title": "visionai GetSearchConfig Sample",
5922 "description": "GetSearchConfig gets a search configuration inside a corpus.",
5923 "file": "WarehouseClient/GetSearchConfig/main.go",
5924 "language": "GO",
5925 "clientMethod": {
5926 "shortName": "GetSearchConfig",
5927 "fullName": "google.cloud.visionai.v1.WarehouseClient.GetSearchConfig",
5928 "parameters": [
5929 {
5930 "type": "context.Context",
5931 "name": "ctx"
5932 },
5933 {
5934 "type": "visionaipb.GetSearchConfigRequest",
5935 "name": "req"
5936 },
5937 {
5938 "type": "...gax.CallOption",
5939 "name": "opts"
5940 }
5941 ],
5942 "resultType": "*visionaipb.SearchConfig",
5943 "client": {
5944 "shortName": "WarehouseClient",
5945 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5946 },
5947 "method": {
5948 "shortName": "GetSearchConfig",
5949 "fullName": "google.cloud.visionai.v1.Warehouse.GetSearchConfig",
5950 "service": {
5951 "shortName": "Warehouse",
5952 "fullName": "google.cloud.visionai.v1.Warehouse"
5953 }
5954 }
5955 },
5956 "origin": "API_DEFINITION",
5957 "segments": [
5958 {
5959 "start": 18,
5960 "end": 53,
5961 "type": "FULL"
5962 }
5963 ]
5964 },
5965 {
5966 "regionTag": "visionai_v1_generated_Warehouse_GetSearchHypernym_sync",
5967 "title": "visionai GetSearchHypernym Sample",
5968 "description": "GetSearchHypernym gets a SearchHypernym inside a corpus.",
5969 "file": "WarehouseClient/GetSearchHypernym/main.go",
5970 "language": "GO",
5971 "clientMethod": {
5972 "shortName": "GetSearchHypernym",
5973 "fullName": "google.cloud.visionai.v1.WarehouseClient.GetSearchHypernym",
5974 "parameters": [
5975 {
5976 "type": "context.Context",
5977 "name": "ctx"
5978 },
5979 {
5980 "type": "visionaipb.GetSearchHypernymRequest",
5981 "name": "req"
5982 },
5983 {
5984 "type": "...gax.CallOption",
5985 "name": "opts"
5986 }
5987 ],
5988 "resultType": "*visionaipb.SearchHypernym",
5989 "client": {
5990 "shortName": "WarehouseClient",
5991 "fullName": "google.cloud.visionai.v1.WarehouseClient"
5992 },
5993 "method": {
5994 "shortName": "GetSearchHypernym",
5995 "fullName": "google.cloud.visionai.v1.Warehouse.GetSearchHypernym",
5996 "service": {
5997 "shortName": "Warehouse",
5998 "fullName": "google.cloud.visionai.v1.Warehouse"
5999 }
6000 }
6001 },
6002 "origin": "API_DEFINITION",
6003 "segments": [
6004 {
6005 "start": 18,
6006 "end": 53,
6007 "type": "FULL"
6008 }
6009 ]
6010 },
6011 {
6012 "regionTag": "visionai_v1_generated_Warehouse_ImportAssets_sync",
6013 "title": "visionai ImportAssets Sample",
6014 "description": "ImportAssets imports assets (images plus annotations) from a meta file on cloud storage.\nEach row in the meta file is corresponding to an image (specified by a\ncloud storage uri) and its annotations.",
6015 "file": "WarehouseClient/ImportAssets/main.go",
6016 "language": "GO",
6017 "clientMethod": {
6018 "shortName": "ImportAssets",
6019 "fullName": "google.cloud.visionai.v1.WarehouseClient.ImportAssets",
6020 "parameters": [
6021 {
6022 "type": "context.Context",
6023 "name": "ctx"
6024 },
6025 {
6026 "type": "visionaipb.ImportAssetsRequest",
6027 "name": "req"
6028 },
6029 {
6030 "type": "...gax.CallOption",
6031 "name": "opts"
6032 }
6033 ],
6034 "resultType": "ImportAssetsOperation",
6035 "client": {
6036 "shortName": "WarehouseClient",
6037 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6038 },
6039 "method": {
6040 "shortName": "ImportAssets",
6041 "fullName": "google.cloud.visionai.v1.Warehouse.ImportAssets",
6042 "service": {
6043 "shortName": "Warehouse",
6044 "fullName": "google.cloud.visionai.v1.Warehouse"
6045 }
6046 }
6047 },
6048 "origin": "API_DEFINITION",
6049 "segments": [
6050 {
6051 "start": 18,
6052 "end": 58,
6053 "type": "FULL"
6054 }
6055 ]
6056 },
6057 {
6058 "regionTag": "visionai_v1_generated_Warehouse_IndexAsset_sync",
6059 "title": "visionai IndexAsset Sample",
6060 "description": "IndexAsset index one asset for search.\nSupported corpus type: Corpus.Type.VIDEO_ON_DEMAND",
6061 "file": "WarehouseClient/IndexAsset/main.go",
6062 "language": "GO",
6063 "clientMethod": {
6064 "shortName": "IndexAsset",
6065 "fullName": "google.cloud.visionai.v1.WarehouseClient.IndexAsset",
6066 "parameters": [
6067 {
6068 "type": "context.Context",
6069 "name": "ctx"
6070 },
6071 {
6072 "type": "visionaipb.IndexAssetRequest",
6073 "name": "req"
6074 },
6075 {
6076 "type": "...gax.CallOption",
6077 "name": "opts"
6078 }
6079 ],
6080 "resultType": "IndexAssetOperation",
6081 "client": {
6082 "shortName": "WarehouseClient",
6083 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6084 },
6085 "method": {
6086 "shortName": "IndexAsset",
6087 "fullName": "google.cloud.visionai.v1.Warehouse.IndexAsset",
6088 "service": {
6089 "shortName": "Warehouse",
6090 "fullName": "google.cloud.visionai.v1.Warehouse"
6091 }
6092 }
6093 },
6094 "origin": "API_DEFINITION",
6095 "segments": [
6096 {
6097 "start": 18,
6098 "end": 58,
6099 "type": "FULL"
6100 }
6101 ]
6102 },
6103 {
6104 "regionTag": "visionai_v1_generated_Warehouse_IngestAsset_sync",
6105 "title": "visionai IngestAsset Sample",
6106 "description": "IngestAsset ingests data for the asset. It is not allowed to ingest a data chunk which\nis already expired according to TTL.\nThis method is only available via the gRPC API (not HTTP since\nbi-directional streaming is not supported via HTTP).\n\n\nThis method is not supported for the REST transport.",
6107 "file": "WarehouseClient/IngestAsset/main.go",
6108 "language": "GO",
6109 "clientMethod": {
6110 "shortName": "IngestAsset",
6111 "fullName": "google.cloud.visionai.v1.WarehouseClient.IngestAsset",
6112 "parameters": [
6113 {
6114 "type": "context.Context",
6115 "name": "ctx"
6116 },
6117 {
6118 "type": "...gax.CallOption",
6119 "name": "opts"
6120 }
6121 ],
6122 "resultType": "visionaipb.Warehouse_IngestAssetClient",
6123 "client": {
6124 "shortName": "WarehouseClient",
6125 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6126 },
6127 "method": {
6128 "shortName": "IngestAsset",
6129 "fullName": "google.cloud.visionai.v1.Warehouse.IngestAsset",
6130 "service": {
6131 "shortName": "Warehouse",
6132 "fullName": "google.cloud.visionai.v1.Warehouse"
6133 }
6134 }
6135 },
6136 "origin": "API_DEFINITION",
6137 "segments": [
6138 {
6139 "start": 18,
6140 "end": 69,
6141 "type": "FULL"
6142 }
6143 ]
6144 },
6145 {
6146 "regionTag": "visionai_v1_generated_Warehouse_ListAnnotations_sync",
6147 "title": "visionai ListAnnotations Sample",
6148 "description": "ListAnnotations lists a list of annotations inside asset.",
6149 "file": "WarehouseClient/ListAnnotations/main.go",
6150 "language": "GO",
6151 "clientMethod": {
6152 "shortName": "ListAnnotations",
6153 "fullName": "google.cloud.visionai.v1.WarehouseClient.ListAnnotations",
6154 "parameters": [
6155 {
6156 "type": "context.Context",
6157 "name": "ctx"
6158 },
6159 {
6160 "type": "visionaipb.ListAnnotationsRequest",
6161 "name": "req"
6162 },
6163 {
6164 "type": "...gax.CallOption",
6165 "name": "opts"
6166 }
6167 ],
6168 "resultType": "AnnotationIterator",
6169 "client": {
6170 "shortName": "WarehouseClient",
6171 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6172 },
6173 "method": {
6174 "shortName": "ListAnnotations",
6175 "fullName": "google.cloud.visionai.v1.Warehouse.ListAnnotations",
6176 "service": {
6177 "shortName": "Warehouse",
6178 "fullName": "google.cloud.visionai.v1.Warehouse"
6179 }
6180 }
6181 },
6182 "origin": "API_DEFINITION",
6183 "segments": [
6184 {
6185 "start": 18,
6186 "end": 66,
6187 "type": "FULL"
6188 }
6189 ]
6190 },
6191 {
6192 "regionTag": "visionai_v1_generated_Warehouse_ListAssets_sync",
6193 "title": "visionai ListAssets Sample",
6194 "description": "ListAssets lists an list of assets inside corpus.",
6195 "file": "WarehouseClient/ListAssets/main.go",
6196 "language": "GO",
6197 "clientMethod": {
6198 "shortName": "ListAssets",
6199 "fullName": "google.cloud.visionai.v1.WarehouseClient.ListAssets",
6200 "parameters": [
6201 {
6202 "type": "context.Context",
6203 "name": "ctx"
6204 },
6205 {
6206 "type": "visionaipb.ListAssetsRequest",
6207 "name": "req"
6208 },
6209 {
6210 "type": "...gax.CallOption",
6211 "name": "opts"
6212 }
6213 ],
6214 "resultType": "AssetIterator",
6215 "client": {
6216 "shortName": "WarehouseClient",
6217 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6218 },
6219 "method": {
6220 "shortName": "ListAssets",
6221 "fullName": "google.cloud.visionai.v1.Warehouse.ListAssets",
6222 "service": {
6223 "shortName": "Warehouse",
6224 "fullName": "google.cloud.visionai.v1.Warehouse"
6225 }
6226 }
6227 },
6228 "origin": "API_DEFINITION",
6229 "segments": [
6230 {
6231 "start": 18,
6232 "end": 66,
6233 "type": "FULL"
6234 }
6235 ]
6236 },
6237 {
6238 "regionTag": "visionai_v1_generated_Warehouse_ListCollections_sync",
6239 "title": "visionai ListCollections Sample",
6240 "description": "ListCollections lists collections inside a corpus.",
6241 "file": "WarehouseClient/ListCollections/main.go",
6242 "language": "GO",
6243 "clientMethod": {
6244 "shortName": "ListCollections",
6245 "fullName": "google.cloud.visionai.v1.WarehouseClient.ListCollections",
6246 "parameters": [
6247 {
6248 "type": "context.Context",
6249 "name": "ctx"
6250 },
6251 {
6252 "type": "visionaipb.ListCollectionsRequest",
6253 "name": "req"
6254 },
6255 {
6256 "type": "...gax.CallOption",
6257 "name": "opts"
6258 }
6259 ],
6260 "resultType": "CollectionIterator",
6261 "client": {
6262 "shortName": "WarehouseClient",
6263 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6264 },
6265 "method": {
6266 "shortName": "ListCollections",
6267 "fullName": "google.cloud.visionai.v1.Warehouse.ListCollections",
6268 "service": {
6269 "shortName": "Warehouse",
6270 "fullName": "google.cloud.visionai.v1.Warehouse"
6271 }
6272 }
6273 },
6274 "origin": "API_DEFINITION",
6275 "segments": [
6276 {
6277 "start": 18,
6278 "end": 66,
6279 "type": "FULL"
6280 }
6281 ]
6282 },
6283 {
6284 "regionTag": "visionai_v1_generated_Warehouse_ListCorpora_sync",
6285 "title": "visionai ListCorpora Sample",
6286 "description": "ListCorpora lists all corpora in a project.",
6287 "file": "WarehouseClient/ListCorpora/main.go",
6288 "language": "GO",
6289 "clientMethod": {
6290 "shortName": "ListCorpora",
6291 "fullName": "google.cloud.visionai.v1.WarehouseClient.ListCorpora",
6292 "parameters": [
6293 {
6294 "type": "context.Context",
6295 "name": "ctx"
6296 },
6297 {
6298 "type": "visionaipb.ListCorporaRequest",
6299 "name": "req"
6300 },
6301 {
6302 "type": "...gax.CallOption",
6303 "name": "opts"
6304 }
6305 ],
6306 "resultType": "CorpusIterator",
6307 "client": {
6308 "shortName": "WarehouseClient",
6309 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6310 },
6311 "method": {
6312 "shortName": "ListCorpora",
6313 "fullName": "google.cloud.visionai.v1.Warehouse.ListCorpora",
6314 "service": {
6315 "shortName": "Warehouse",
6316 "fullName": "google.cloud.visionai.v1.Warehouse"
6317 }
6318 }
6319 },
6320 "origin": "API_DEFINITION",
6321 "segments": [
6322 {
6323 "start": 18,
6324 "end": 66,
6325 "type": "FULL"
6326 }
6327 ]
6328 },
6329 {
6330 "regionTag": "visionai_v1_generated_Warehouse_ListDataSchemas_sync",
6331 "title": "visionai ListDataSchemas Sample",
6332 "description": "ListDataSchemas lists a list of data schemas inside corpus.",
6333 "file": "WarehouseClient/ListDataSchemas/main.go",
6334 "language": "GO",
6335 "clientMethod": {
6336 "shortName": "ListDataSchemas",
6337 "fullName": "google.cloud.visionai.v1.WarehouseClient.ListDataSchemas",
6338 "parameters": [
6339 {
6340 "type": "context.Context",
6341 "name": "ctx"
6342 },
6343 {
6344 "type": "visionaipb.ListDataSchemasRequest",
6345 "name": "req"
6346 },
6347 {
6348 "type": "...gax.CallOption",
6349 "name": "opts"
6350 }
6351 ],
6352 "resultType": "DataSchemaIterator",
6353 "client": {
6354 "shortName": "WarehouseClient",
6355 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6356 },
6357 "method": {
6358 "shortName": "ListDataSchemas",
6359 "fullName": "google.cloud.visionai.v1.Warehouse.ListDataSchemas",
6360 "service": {
6361 "shortName": "Warehouse",
6362 "fullName": "google.cloud.visionai.v1.Warehouse"
6363 }
6364 }
6365 },
6366 "origin": "API_DEFINITION",
6367 "segments": [
6368 {
6369 "start": 18,
6370 "end": 66,
6371 "type": "FULL"
6372 }
6373 ]
6374 },
6375 {
6376 "regionTag": "visionai_v1_generated_Warehouse_ListIndexEndpoints_sync",
6377 "title": "visionai ListIndexEndpoints Sample",
6378 "description": "ListIndexEndpoints lists all IndexEndpoints in a project.",
6379 "file": "WarehouseClient/ListIndexEndpoints/main.go",
6380 "language": "GO",
6381 "clientMethod": {
6382 "shortName": "ListIndexEndpoints",
6383 "fullName": "google.cloud.visionai.v1.WarehouseClient.ListIndexEndpoints",
6384 "parameters": [
6385 {
6386 "type": "context.Context",
6387 "name": "ctx"
6388 },
6389 {
6390 "type": "visionaipb.ListIndexEndpointsRequest",
6391 "name": "req"
6392 },
6393 {
6394 "type": "...gax.CallOption",
6395 "name": "opts"
6396 }
6397 ],
6398 "resultType": "IndexEndpointIterator",
6399 "client": {
6400 "shortName": "WarehouseClient",
6401 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6402 },
6403 "method": {
6404 "shortName": "ListIndexEndpoints",
6405 "fullName": "google.cloud.visionai.v1.Warehouse.ListIndexEndpoints",
6406 "service": {
6407 "shortName": "Warehouse",
6408 "fullName": "google.cloud.visionai.v1.Warehouse"
6409 }
6410 }
6411 },
6412 "origin": "API_DEFINITION",
6413 "segments": [
6414 {
6415 "start": 18,
6416 "end": 66,
6417 "type": "FULL"
6418 }
6419 ]
6420 },
6421 {
6422 "regionTag": "visionai_v1_generated_Warehouse_ListIndexes_sync",
6423 "title": "visionai ListIndexes Sample",
6424 "description": "ListIndexes list all Indexes in a given Corpus.",
6425 "file": "WarehouseClient/ListIndexes/main.go",
6426 "language": "GO",
6427 "clientMethod": {
6428 "shortName": "ListIndexes",
6429 "fullName": "google.cloud.visionai.v1.WarehouseClient.ListIndexes",
6430 "parameters": [
6431 {
6432 "type": "context.Context",
6433 "name": "ctx"
6434 },
6435 {
6436 "type": "visionaipb.ListIndexesRequest",
6437 "name": "req"
6438 },
6439 {
6440 "type": "...gax.CallOption",
6441 "name": "opts"
6442 }
6443 ],
6444 "resultType": "IndexIterator",
6445 "client": {
6446 "shortName": "WarehouseClient",
6447 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6448 },
6449 "method": {
6450 "shortName": "ListIndexes",
6451 "fullName": "google.cloud.visionai.v1.Warehouse.ListIndexes",
6452 "service": {
6453 "shortName": "Warehouse",
6454 "fullName": "google.cloud.visionai.v1.Warehouse"
6455 }
6456 }
6457 },
6458 "origin": "API_DEFINITION",
6459 "segments": [
6460 {
6461 "start": 18,
6462 "end": 66,
6463 "type": "FULL"
6464 }
6465 ]
6466 },
6467 {
6468 "regionTag": "visionai_v1_generated_Warehouse_ListOperations_sync",
6469 "title": "visionai ListOperations Sample",
6470 "description": "ListOperations is a utility method from google.longrunning.Operations.",
6471 "file": "WarehouseClient/ListOperations/main.go",
6472 "language": "GO",
6473 "clientMethod": {
6474 "shortName": "ListOperations",
6475 "fullName": "google.cloud.visionai.v1.WarehouseClient.ListOperations",
6476 "parameters": [
6477 {
6478 "type": "context.Context",
6479 "name": "ctx"
6480 },
6481 {
6482 "type": "longrunningpb.ListOperationsRequest",
6483 "name": "req"
6484 },
6485 {
6486 "type": "...gax.CallOption",
6487 "name": "opts"
6488 }
6489 ],
6490 "resultType": "OperationIterator",
6491 "client": {
6492 "shortName": "WarehouseClient",
6493 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6494 },
6495 "method": {
6496 "shortName": "ListOperations",
6497 "fullName": "google.longrunning.Operations.ListOperations",
6498 "service": {
6499 "shortName": "Operations",
6500 "fullName": "google.longrunning.Operations"
6501 }
6502 }
6503 },
6504 "origin": "API_DEFINITION",
6505 "segments": [
6506 {
6507 "start": 18,
6508 "end": 66,
6509 "type": "FULL"
6510 }
6511 ]
6512 },
6513 {
6514 "regionTag": "visionai_v1_generated_Warehouse_ListSearchConfigs_sync",
6515 "title": "visionai ListSearchConfigs Sample",
6516 "description": "ListSearchConfigs lists all search configurations inside a corpus.",
6517 "file": "WarehouseClient/ListSearchConfigs/main.go",
6518 "language": "GO",
6519 "clientMethod": {
6520 "shortName": "ListSearchConfigs",
6521 "fullName": "google.cloud.visionai.v1.WarehouseClient.ListSearchConfigs",
6522 "parameters": [
6523 {
6524 "type": "context.Context",
6525 "name": "ctx"
6526 },
6527 {
6528 "type": "visionaipb.ListSearchConfigsRequest",
6529 "name": "req"
6530 },
6531 {
6532 "type": "...gax.CallOption",
6533 "name": "opts"
6534 }
6535 ],
6536 "resultType": "SearchConfigIterator",
6537 "client": {
6538 "shortName": "WarehouseClient",
6539 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6540 },
6541 "method": {
6542 "shortName": "ListSearchConfigs",
6543 "fullName": "google.cloud.visionai.v1.Warehouse.ListSearchConfigs",
6544 "service": {
6545 "shortName": "Warehouse",
6546 "fullName": "google.cloud.visionai.v1.Warehouse"
6547 }
6548 }
6549 },
6550 "origin": "API_DEFINITION",
6551 "segments": [
6552 {
6553 "start": 18,
6554 "end": 66,
6555 "type": "FULL"
6556 }
6557 ]
6558 },
6559 {
6560 "regionTag": "visionai_v1_generated_Warehouse_ListSearchHypernyms_sync",
6561 "title": "visionai ListSearchHypernyms Sample",
6562 "description": "ListSearchHypernyms lists SearchHypernyms inside a corpus.",
6563 "file": "WarehouseClient/ListSearchHypernyms/main.go",
6564 "language": "GO",
6565 "clientMethod": {
6566 "shortName": "ListSearchHypernyms",
6567 "fullName": "google.cloud.visionai.v1.WarehouseClient.ListSearchHypernyms",
6568 "parameters": [
6569 {
6570 "type": "context.Context",
6571 "name": "ctx"
6572 },
6573 {
6574 "type": "visionaipb.ListSearchHypernymsRequest",
6575 "name": "req"
6576 },
6577 {
6578 "type": "...gax.CallOption",
6579 "name": "opts"
6580 }
6581 ],
6582 "resultType": "SearchHypernymIterator",
6583 "client": {
6584 "shortName": "WarehouseClient",
6585 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6586 },
6587 "method": {
6588 "shortName": "ListSearchHypernyms",
6589 "fullName": "google.cloud.visionai.v1.Warehouse.ListSearchHypernyms",
6590 "service": {
6591 "shortName": "Warehouse",
6592 "fullName": "google.cloud.visionai.v1.Warehouse"
6593 }
6594 }
6595 },
6596 "origin": "API_DEFINITION",
6597 "segments": [
6598 {
6599 "start": 18,
6600 "end": 66,
6601 "type": "FULL"
6602 }
6603 ]
6604 },
6605 {
6606 "regionTag": "visionai_v1_generated_Warehouse_RemoveCollectionItem_sync",
6607 "title": "visionai RemoveCollectionItem Sample",
6608 "description": "RemoveCollectionItem removes an item from a collection.",
6609 "file": "WarehouseClient/RemoveCollectionItem/main.go",
6610 "language": "GO",
6611 "clientMethod": {
6612 "shortName": "RemoveCollectionItem",
6613 "fullName": "google.cloud.visionai.v1.WarehouseClient.RemoveCollectionItem",
6614 "parameters": [
6615 {
6616 "type": "context.Context",
6617 "name": "ctx"
6618 },
6619 {
6620 "type": "visionaipb.RemoveCollectionItemRequest",
6621 "name": "req"
6622 },
6623 {
6624 "type": "...gax.CallOption",
6625 "name": "opts"
6626 }
6627 ],
6628 "resultType": "*visionaipb.RemoveCollectionItemResponse",
6629 "client": {
6630 "shortName": "WarehouseClient",
6631 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6632 },
6633 "method": {
6634 "shortName": "RemoveCollectionItem",
6635 "fullName": "google.cloud.visionai.v1.Warehouse.RemoveCollectionItem",
6636 "service": {
6637 "shortName": "Warehouse",
6638 "fullName": "google.cloud.visionai.v1.Warehouse"
6639 }
6640 }
6641 },
6642 "origin": "API_DEFINITION",
6643 "segments": [
6644 {
6645 "start": 18,
6646 "end": 53,
6647 "type": "FULL"
6648 }
6649 ]
6650 },
6651 {
6652 "regionTag": "visionai_v1_generated_Warehouse_RemoveIndexAsset_sync",
6653 "title": "visionai RemoveIndexAsset Sample",
6654 "description": "RemoveIndexAsset remove one asset's index data for search.\nSupported corpus type: Corpus.Type.VIDEO_ON_DEMAND",
6655 "file": "WarehouseClient/RemoveIndexAsset/main.go",
6656 "language": "GO",
6657 "clientMethod": {
6658 "shortName": "RemoveIndexAsset",
6659 "fullName": "google.cloud.visionai.v1.WarehouseClient.RemoveIndexAsset",
6660 "parameters": [
6661 {
6662 "type": "context.Context",
6663 "name": "ctx"
6664 },
6665 {
6666 "type": "visionaipb.RemoveIndexAssetRequest",
6667 "name": "req"
6668 },
6669 {
6670 "type": "...gax.CallOption",
6671 "name": "opts"
6672 }
6673 ],
6674 "resultType": "RemoveIndexAssetOperation",
6675 "client": {
6676 "shortName": "WarehouseClient",
6677 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6678 },
6679 "method": {
6680 "shortName": "RemoveIndexAsset",
6681 "fullName": "google.cloud.visionai.v1.Warehouse.RemoveIndexAsset",
6682 "service": {
6683 "shortName": "Warehouse",
6684 "fullName": "google.cloud.visionai.v1.Warehouse"
6685 }
6686 }
6687 },
6688 "origin": "API_DEFINITION",
6689 "segments": [
6690 {
6691 "start": 18,
6692 "end": 58,
6693 "type": "FULL"
6694 }
6695 ]
6696 },
6697 {
6698 "regionTag": "visionai_v1_generated_Warehouse_SearchAssets_sync",
6699 "title": "visionai SearchAssets Sample",
6700 "description": "SearchAssets search media asset.",
6701 "file": "WarehouseClient/SearchAssets/main.go",
6702 "language": "GO",
6703 "clientMethod": {
6704 "shortName": "SearchAssets",
6705 "fullName": "google.cloud.visionai.v1.WarehouseClient.SearchAssets",
6706 "parameters": [
6707 {
6708 "type": "context.Context",
6709 "name": "ctx"
6710 },
6711 {
6712 "type": "visionaipb.SearchAssetsRequest",
6713 "name": "req"
6714 },
6715 {
6716 "type": "...gax.CallOption",
6717 "name": "opts"
6718 }
6719 ],
6720 "resultType": "SearchResultItemIterator",
6721 "client": {
6722 "shortName": "WarehouseClient",
6723 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6724 },
6725 "method": {
6726 "shortName": "SearchAssets",
6727 "fullName": "google.cloud.visionai.v1.Warehouse.SearchAssets",
6728 "service": {
6729 "shortName": "Warehouse",
6730 "fullName": "google.cloud.visionai.v1.Warehouse"
6731 }
6732 }
6733 },
6734 "origin": "API_DEFINITION",
6735 "segments": [
6736 {
6737 "start": 18,
6738 "end": 66,
6739 "type": "FULL"
6740 }
6741 ]
6742 },
6743 {
6744 "regionTag": "visionai_v1_generated_Warehouse_SearchIndexEndpoint_sync",
6745 "title": "visionai SearchIndexEndpoint Sample",
6746 "description": "SearchIndexEndpoint search a deployed index endpoint (IMAGE corpus type only).",
6747 "file": "WarehouseClient/SearchIndexEndpoint/main.go",
6748 "language": "GO",
6749 "clientMethod": {
6750 "shortName": "SearchIndexEndpoint",
6751 "fullName": "google.cloud.visionai.v1.WarehouseClient.SearchIndexEndpoint",
6752 "parameters": [
6753 {
6754 "type": "context.Context",
6755 "name": "ctx"
6756 },
6757 {
6758 "type": "visionaipb.SearchIndexEndpointRequest",
6759 "name": "req"
6760 },
6761 {
6762 "type": "...gax.CallOption",
6763 "name": "opts"
6764 }
6765 ],
6766 "resultType": "SearchResultItemIterator",
6767 "client": {
6768 "shortName": "WarehouseClient",
6769 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6770 },
6771 "method": {
6772 "shortName": "SearchIndexEndpoint",
6773 "fullName": "google.cloud.visionai.v1.Warehouse.SearchIndexEndpoint",
6774 "service": {
6775 "shortName": "Warehouse",
6776 "fullName": "google.cloud.visionai.v1.Warehouse"
6777 }
6778 }
6779 },
6780 "origin": "API_DEFINITION",
6781 "segments": [
6782 {
6783 "start": 18,
6784 "end": 66,
6785 "type": "FULL"
6786 }
6787 ]
6788 },
6789 {
6790 "regionTag": "visionai_v1_generated_Warehouse_UndeployIndex_sync",
6791 "title": "visionai UndeployIndex Sample",
6792 "description": "UndeployIndex undeploys an Index from IndexEndpoint.",
6793 "file": "WarehouseClient/UndeployIndex/main.go",
6794 "language": "GO",
6795 "clientMethod": {
6796 "shortName": "UndeployIndex",
6797 "fullName": "google.cloud.visionai.v1.WarehouseClient.UndeployIndex",
6798 "parameters": [
6799 {
6800 "type": "context.Context",
6801 "name": "ctx"
6802 },
6803 {
6804 "type": "visionaipb.UndeployIndexRequest",
6805 "name": "req"
6806 },
6807 {
6808 "type": "...gax.CallOption",
6809 "name": "opts"
6810 }
6811 ],
6812 "resultType": "UndeployIndexOperation",
6813 "client": {
6814 "shortName": "WarehouseClient",
6815 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6816 },
6817 "method": {
6818 "shortName": "UndeployIndex",
6819 "fullName": "google.cloud.visionai.v1.Warehouse.UndeployIndex",
6820 "service": {
6821 "shortName": "Warehouse",
6822 "fullName": "google.cloud.visionai.v1.Warehouse"
6823 }
6824 }
6825 },
6826 "origin": "API_DEFINITION",
6827 "segments": [
6828 {
6829 "start": 18,
6830 "end": 58,
6831 "type": "FULL"
6832 }
6833 ]
6834 },
6835 {
6836 "regionTag": "visionai_v1_generated_Warehouse_UpdateAnnotation_sync",
6837 "title": "visionai UpdateAnnotation Sample",
6838 "description": "UpdateAnnotation updates annotation inside asset.",
6839 "file": "WarehouseClient/UpdateAnnotation/main.go",
6840 "language": "GO",
6841 "clientMethod": {
6842 "shortName": "UpdateAnnotation",
6843 "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateAnnotation",
6844 "parameters": [
6845 {
6846 "type": "context.Context",
6847 "name": "ctx"
6848 },
6849 {
6850 "type": "visionaipb.UpdateAnnotationRequest",
6851 "name": "req"
6852 },
6853 {
6854 "type": "...gax.CallOption",
6855 "name": "opts"
6856 }
6857 ],
6858 "resultType": "*visionaipb.Annotation",
6859 "client": {
6860 "shortName": "WarehouseClient",
6861 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6862 },
6863 "method": {
6864 "shortName": "UpdateAnnotation",
6865 "fullName": "google.cloud.visionai.v1.Warehouse.UpdateAnnotation",
6866 "service": {
6867 "shortName": "Warehouse",
6868 "fullName": "google.cloud.visionai.v1.Warehouse"
6869 }
6870 }
6871 },
6872 "origin": "API_DEFINITION",
6873 "segments": [
6874 {
6875 "start": 18,
6876 "end": 53,
6877 "type": "FULL"
6878 }
6879 ]
6880 },
6881 {
6882 "regionTag": "visionai_v1_generated_Warehouse_UpdateAsset_sync",
6883 "title": "visionai UpdateAsset Sample",
6884 "description": "UpdateAsset updates an asset inside corpus.",
6885 "file": "WarehouseClient/UpdateAsset/main.go",
6886 "language": "GO",
6887 "clientMethod": {
6888 "shortName": "UpdateAsset",
6889 "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateAsset",
6890 "parameters": [
6891 {
6892 "type": "context.Context",
6893 "name": "ctx"
6894 },
6895 {
6896 "type": "visionaipb.UpdateAssetRequest",
6897 "name": "req"
6898 },
6899 {
6900 "type": "...gax.CallOption",
6901 "name": "opts"
6902 }
6903 ],
6904 "resultType": "*visionaipb.Asset",
6905 "client": {
6906 "shortName": "WarehouseClient",
6907 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6908 },
6909 "method": {
6910 "shortName": "UpdateAsset",
6911 "fullName": "google.cloud.visionai.v1.Warehouse.UpdateAsset",
6912 "service": {
6913 "shortName": "Warehouse",
6914 "fullName": "google.cloud.visionai.v1.Warehouse"
6915 }
6916 }
6917 },
6918 "origin": "API_DEFINITION",
6919 "segments": [
6920 {
6921 "start": 18,
6922 "end": 53,
6923 "type": "FULL"
6924 }
6925 ]
6926 },
6927 {
6928 "regionTag": "visionai_v1_generated_Warehouse_UpdateCollection_sync",
6929 "title": "visionai UpdateCollection Sample",
6930 "description": "UpdateCollection updates a collection.",
6931 "file": "WarehouseClient/UpdateCollection/main.go",
6932 "language": "GO",
6933 "clientMethod": {
6934 "shortName": "UpdateCollection",
6935 "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateCollection",
6936 "parameters": [
6937 {
6938 "type": "context.Context",
6939 "name": "ctx"
6940 },
6941 {
6942 "type": "visionaipb.UpdateCollectionRequest",
6943 "name": "req"
6944 },
6945 {
6946 "type": "...gax.CallOption",
6947 "name": "opts"
6948 }
6949 ],
6950 "resultType": "*visionaipb.Collection",
6951 "client": {
6952 "shortName": "WarehouseClient",
6953 "fullName": "google.cloud.visionai.v1.WarehouseClient"
6954 },
6955 "method": {
6956 "shortName": "UpdateCollection",
6957 "fullName": "google.cloud.visionai.v1.Warehouse.UpdateCollection",
6958 "service": {
6959 "shortName": "Warehouse",
6960 "fullName": "google.cloud.visionai.v1.Warehouse"
6961 }
6962 }
6963 },
6964 "origin": "API_DEFINITION",
6965 "segments": [
6966 {
6967 "start": 18,
6968 "end": 53,
6969 "type": "FULL"
6970 }
6971 ]
6972 },
6973 {
6974 "regionTag": "visionai_v1_generated_Warehouse_UpdateCorpus_sync",
6975 "title": "visionai UpdateCorpus Sample",
6976 "description": "UpdateCorpus updates a corpus in a project.",
6977 "file": "WarehouseClient/UpdateCorpus/main.go",
6978 "language": "GO",
6979 "clientMethod": {
6980 "shortName": "UpdateCorpus",
6981 "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateCorpus",
6982 "parameters": [
6983 {
6984 "type": "context.Context",
6985 "name": "ctx"
6986 },
6987 {
6988 "type": "visionaipb.UpdateCorpusRequest",
6989 "name": "req"
6990 },
6991 {
6992 "type": "...gax.CallOption",
6993 "name": "opts"
6994 }
6995 ],
6996 "resultType": "*visionaipb.Corpus",
6997 "client": {
6998 "shortName": "WarehouseClient",
6999 "fullName": "google.cloud.visionai.v1.WarehouseClient"
7000 },
7001 "method": {
7002 "shortName": "UpdateCorpus",
7003 "fullName": "google.cloud.visionai.v1.Warehouse.UpdateCorpus",
7004 "service": {
7005 "shortName": "Warehouse",
7006 "fullName": "google.cloud.visionai.v1.Warehouse"
7007 }
7008 }
7009 },
7010 "origin": "API_DEFINITION",
7011 "segments": [
7012 {
7013 "start": 18,
7014 "end": 53,
7015 "type": "FULL"
7016 }
7017 ]
7018 },
7019 {
7020 "regionTag": "visionai_v1_generated_Warehouse_UpdateDataSchema_sync",
7021 "title": "visionai UpdateDataSchema Sample",
7022 "description": "UpdateDataSchema updates data schema inside corpus.",
7023 "file": "WarehouseClient/UpdateDataSchema/main.go",
7024 "language": "GO",
7025 "clientMethod": {
7026 "shortName": "UpdateDataSchema",
7027 "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateDataSchema",
7028 "parameters": [
7029 {
7030 "type": "context.Context",
7031 "name": "ctx"
7032 },
7033 {
7034 "type": "visionaipb.UpdateDataSchemaRequest",
7035 "name": "req"
7036 },
7037 {
7038 "type": "...gax.CallOption",
7039 "name": "opts"
7040 }
7041 ],
7042 "resultType": "*visionaipb.DataSchema",
7043 "client": {
7044 "shortName": "WarehouseClient",
7045 "fullName": "google.cloud.visionai.v1.WarehouseClient"
7046 },
7047 "method": {
7048 "shortName": "UpdateDataSchema",
7049 "fullName": "google.cloud.visionai.v1.Warehouse.UpdateDataSchema",
7050 "service": {
7051 "shortName": "Warehouse",
7052 "fullName": "google.cloud.visionai.v1.Warehouse"
7053 }
7054 }
7055 },
7056 "origin": "API_DEFINITION",
7057 "segments": [
7058 {
7059 "start": 18,
7060 "end": 53,
7061 "type": "FULL"
7062 }
7063 ]
7064 },
7065 {
7066 "regionTag": "visionai_v1_generated_Warehouse_UpdateIndex_sync",
7067 "title": "visionai UpdateIndex Sample",
7068 "description": "UpdateIndex updates an Index under the corpus.\nUsers can perform a metadata-only update or trigger a full index rebuild\nwith different update_mask values.",
7069 "file": "WarehouseClient/UpdateIndex/main.go",
7070 "language": "GO",
7071 "clientMethod": {
7072 "shortName": "UpdateIndex",
7073 "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateIndex",
7074 "parameters": [
7075 {
7076 "type": "context.Context",
7077 "name": "ctx"
7078 },
7079 {
7080 "type": "visionaipb.UpdateIndexRequest",
7081 "name": "req"
7082 },
7083 {
7084 "type": "...gax.CallOption",
7085 "name": "opts"
7086 }
7087 ],
7088 "resultType": "UpdateIndexOperation",
7089 "client": {
7090 "shortName": "WarehouseClient",
7091 "fullName": "google.cloud.visionai.v1.WarehouseClient"
7092 },
7093 "method": {
7094 "shortName": "UpdateIndex",
7095 "fullName": "google.cloud.visionai.v1.Warehouse.UpdateIndex",
7096 "service": {
7097 "shortName": "Warehouse",
7098 "fullName": "google.cloud.visionai.v1.Warehouse"
7099 }
7100 }
7101 },
7102 "origin": "API_DEFINITION",
7103 "segments": [
7104 {
7105 "start": 18,
7106 "end": 58,
7107 "type": "FULL"
7108 }
7109 ]
7110 },
7111 {
7112 "regionTag": "visionai_v1_generated_Warehouse_UpdateIndexEndpoint_sync",
7113 "title": "visionai UpdateIndexEndpoint Sample",
7114 "description": "UpdateIndexEndpoint updates an IndexEndpoint.",
7115 "file": "WarehouseClient/UpdateIndexEndpoint/main.go",
7116 "language": "GO",
7117 "clientMethod": {
7118 "shortName": "UpdateIndexEndpoint",
7119 "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateIndexEndpoint",
7120 "parameters": [
7121 {
7122 "type": "context.Context",
7123 "name": "ctx"
7124 },
7125 {
7126 "type": "visionaipb.UpdateIndexEndpointRequest",
7127 "name": "req"
7128 },
7129 {
7130 "type": "...gax.CallOption",
7131 "name": "opts"
7132 }
7133 ],
7134 "resultType": "UpdateIndexEndpointOperation",
7135 "client": {
7136 "shortName": "WarehouseClient",
7137 "fullName": "google.cloud.visionai.v1.WarehouseClient"
7138 },
7139 "method": {
7140 "shortName": "UpdateIndexEndpoint",
7141 "fullName": "google.cloud.visionai.v1.Warehouse.UpdateIndexEndpoint",
7142 "service": {
7143 "shortName": "Warehouse",
7144 "fullName": "google.cloud.visionai.v1.Warehouse"
7145 }
7146 }
7147 },
7148 "origin": "API_DEFINITION",
7149 "segments": [
7150 {
7151 "start": 18,
7152 "end": 58,
7153 "type": "FULL"
7154 }
7155 ]
7156 },
7157 {
7158 "regionTag": "visionai_v1_generated_Warehouse_UpdateSearchConfig_sync",
7159 "title": "visionai UpdateSearchConfig Sample",
7160 "description": "UpdateSearchConfig updates a search configuration inside a corpus.\n\nPlease follow the rules below to create a valid UpdateSearchConfigRequest.\n--- General Rules ---\n1. Request.search_configuration.name must already exist.\n2. Request must contain at least one non-empty search_criteria_property or\nfacet_property.\n3. mapped_fields must not be empty, and must map to existing UGA keys.\n4. All mapped_fields must be of the same type.\n5. All mapped_fields must share the same granularity.\n6. All mapped_fields must share the same semantic SearchConfig match\noptions.\nFor property-specific rules, please reference the comments for\nFacetProperty and SearchCriteriaProperty.",
7161 "file": "WarehouseClient/UpdateSearchConfig/main.go",
7162 "language": "GO",
7163 "clientMethod": {
7164 "shortName": "UpdateSearchConfig",
7165 "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateSearchConfig",
7166 "parameters": [
7167 {
7168 "type": "context.Context",
7169 "name": "ctx"
7170 },
7171 {
7172 "type": "visionaipb.UpdateSearchConfigRequest",
7173 "name": "req"
7174 },
7175 {
7176 "type": "...gax.CallOption",
7177 "name": "opts"
7178 }
7179 ],
7180 "resultType": "*visionaipb.SearchConfig",
7181 "client": {
7182 "shortName": "WarehouseClient",
7183 "fullName": "google.cloud.visionai.v1.WarehouseClient"
7184 },
7185 "method": {
7186 "shortName": "UpdateSearchConfig",
7187 "fullName": "google.cloud.visionai.v1.Warehouse.UpdateSearchConfig",
7188 "service": {
7189 "shortName": "Warehouse",
7190 "fullName": "google.cloud.visionai.v1.Warehouse"
7191 }
7192 }
7193 },
7194 "origin": "API_DEFINITION",
7195 "segments": [
7196 {
7197 "start": 18,
7198 "end": 53,
7199 "type": "FULL"
7200 }
7201 ]
7202 },
7203 {
7204 "regionTag": "visionai_v1_generated_Warehouse_UpdateSearchHypernym_sync",
7205 "title": "visionai UpdateSearchHypernym Sample",
7206 "description": "UpdateSearchHypernym updates a SearchHypernym inside a corpus.",
7207 "file": "WarehouseClient/UpdateSearchHypernym/main.go",
7208 "language": "GO",
7209 "clientMethod": {
7210 "shortName": "UpdateSearchHypernym",
7211 "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateSearchHypernym",
7212 "parameters": [
7213 {
7214 "type": "context.Context",
7215 "name": "ctx"
7216 },
7217 {
7218 "type": "visionaipb.UpdateSearchHypernymRequest",
7219 "name": "req"
7220 },
7221 {
7222 "type": "...gax.CallOption",
7223 "name": "opts"
7224 }
7225 ],
7226 "resultType": "*visionaipb.SearchHypernym",
7227 "client": {
7228 "shortName": "WarehouseClient",
7229 "fullName": "google.cloud.visionai.v1.WarehouseClient"
7230 },
7231 "method": {
7232 "shortName": "UpdateSearchHypernym",
7233 "fullName": "google.cloud.visionai.v1.Warehouse.UpdateSearchHypernym",
7234 "service": {
7235 "shortName": "Warehouse",
7236 "fullName": "google.cloud.visionai.v1.Warehouse"
7237 }
7238 }
7239 },
7240 "origin": "API_DEFINITION",
7241 "segments": [
7242 {
7243 "start": 18,
7244 "end": 53,
7245 "type": "FULL"
7246 }
7247 ]
7248 },
7249 {
7250 "regionTag": "visionai_v1_generated_Warehouse_UploadAsset_sync",
7251 "title": "visionai UploadAsset Sample",
7252 "description": "UploadAsset upload asset by specifing the asset Cloud Storage uri.\nFor video warehouse, it requires users who call this API have read access\nto the cloud storage file. Once it is uploaded, it can be retrieved by\nGenerateRetrievalUrl API which by default, only can retrieve cloud storage\nfiles from the same project of the warehouse. To allow retrieval cloud\nstorage files that are in a separate project, it requires to find the\nvision ai service account (Go to IAM, check checkbox to show \"Include\nGoogle-provided role grants\", search for \"Cloud Vision AI Service Agent\")\nand grant the read access of the cloud storage files to that service\naccount.",
7253 "file": "WarehouseClient/UploadAsset/main.go",
7254 "language": "GO",
7255 "clientMethod": {
7256 "shortName": "UploadAsset",
7257 "fullName": "google.cloud.visionai.v1.WarehouseClient.UploadAsset",
7258 "parameters": [
7259 {
7260 "type": "context.Context",
7261 "name": "ctx"
7262 },
7263 {
7264 "type": "visionaipb.UploadAssetRequest",
7265 "name": "req"
7266 },
7267 {
7268 "type": "...gax.CallOption",
7269 "name": "opts"
7270 }
7271 ],
7272 "resultType": "UploadAssetOperation",
7273 "client": {
7274 "shortName": "WarehouseClient",
7275 "fullName": "google.cloud.visionai.v1.WarehouseClient"
7276 },
7277 "method": {
7278 "shortName": "UploadAsset",
7279 "fullName": "google.cloud.visionai.v1.Warehouse.UploadAsset",
7280 "service": {
7281 "shortName": "Warehouse",
7282 "fullName": "google.cloud.visionai.v1.Warehouse"
7283 }
7284 }
7285 },
7286 "origin": "API_DEFINITION",
7287 "segments": [
7288 {
7289 "start": 18,
7290 "end": 58,
7291 "type": "FULL"
7292 }
7293 ]
7294 },
7295 {
7296 "regionTag": "visionai_v1_generated_Warehouse_ViewCollectionItems_sync",
7297 "title": "visionai ViewCollectionItems Sample",
7298 "description": "ViewCollectionItems view items inside a collection.",
7299 "file": "WarehouseClient/ViewCollectionItems/main.go",
7300 "language": "GO",
7301 "clientMethod": {
7302 "shortName": "ViewCollectionItems",
7303 "fullName": "google.cloud.visionai.v1.WarehouseClient.ViewCollectionItems",
7304 "parameters": [
7305 {
7306 "type": "context.Context",
7307 "name": "ctx"
7308 },
7309 {
7310 "type": "visionaipb.ViewCollectionItemsRequest",
7311 "name": "req"
7312 },
7313 {
7314 "type": "...gax.CallOption",
7315 "name": "opts"
7316 }
7317 ],
7318 "resultType": "CollectionItemIterator",
7319 "client": {
7320 "shortName": "WarehouseClient",
7321 "fullName": "google.cloud.visionai.v1.WarehouseClient"
7322 },
7323 "method": {
7324 "shortName": "ViewCollectionItems",
7325 "fullName": "google.cloud.visionai.v1.Warehouse.ViewCollectionItems",
7326 "service": {
7327 "shortName": "Warehouse",
7328 "fullName": "google.cloud.visionai.v1.Warehouse"
7329 }
7330 }
7331 },
7332 "origin": "API_DEFINITION",
7333 "segments": [
7334 {
7335 "start": 18,
7336 "end": 66,
7337 "type": "FULL"
7338 }
7339 ]
7340 },
7341 {
7342 "regionTag": "visionai_v1_generated_Warehouse_ViewIndexedAssets_sync",
7343 "title": "visionai ViewIndexedAssets Sample",
7344 "description": "ViewIndexedAssets lists assets inside an index.",
7345 "file": "WarehouseClient/ViewIndexedAssets/main.go",
7346 "language": "GO",
7347 "clientMethod": {
7348 "shortName": "ViewIndexedAssets",
7349 "fullName": "google.cloud.visionai.v1.WarehouseClient.ViewIndexedAssets",
7350 "parameters": [
7351 {
7352 "type": "context.Context",
7353 "name": "ctx"
7354 },
7355 {
7356 "type": "visionaipb.ViewIndexedAssetsRequest",
7357 "name": "req"
7358 },
7359 {
7360 "type": "...gax.CallOption",
7361 "name": "opts"
7362 }
7363 ],
7364 "resultType": "IndexedAssetIterator",
7365 "client": {
7366 "shortName": "WarehouseClient",
7367 "fullName": "google.cloud.visionai.v1.WarehouseClient"
7368 },
7369 "method": {
7370 "shortName": "ViewIndexedAssets",
7371 "fullName": "google.cloud.visionai.v1.Warehouse.ViewIndexedAssets",
7372 "service": {
7373 "shortName": "Warehouse",
7374 "fullName": "google.cloud.visionai.v1.Warehouse"
7375 }
7376 }
7377 },
7378 "origin": "API_DEFINITION",
7379 "segments": [
7380 {
7381 "start": 18,
7382 "end": 66,
7383 "type": "FULL"
7384 }
7385 ]
7386 }
7387 ]
7388 }