Debian Codegraph @

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

raw
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/rapidmigrationassessment/apiv1",
4 "version": "1.1.7",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.rapidmigrationassessment.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_CancelOperation_sync",
16 "title": "rapidmigrationassessment CancelOperation Sample",
17 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
18 "file": "Client/CancelOperation/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CancelOperation",
22 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.CancelOperation",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "longrunningpb.CancelOperationRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "client": {
38 "shortName": "Client",
39 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
40 },
41 "method": {
42 "shortName": "CancelOperation",
43 "fullName": "google.longrunning.Operations.CancelOperation",
44 "service": {
45 "shortName": "Operations",
46 "fullName": "google.longrunning.Operations"
47 }
48 }
49 },
50 "origin": "API_DEFINITION",
51 "segments": [
52 {
53 "start": 18,
54 "end": 51,
55 "type": "FULL"
56 }
57 ]
58 },
59 {
60 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_CreateAnnotation_sync",
61 "title": "rapidmigrationassessment CreateAnnotation Sample",
62 "description": "CreateAnnotation creates an Annotation",
63 "file": "Client/CreateAnnotation/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "CreateAnnotation",
67 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.CreateAnnotation",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "rapidmigrationassessmentpb.CreateAnnotationRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "CreateAnnotationOperation",
83 "client": {
84 "shortName": "Client",
85 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
86 },
87 "method": {
88 "shortName": "CreateAnnotation",
89 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.CreateAnnotation",
90 "service": {
91 "shortName": "RapidMigrationAssessment",
92 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment"
93 }
94 }
95 },
96 "origin": "API_DEFINITION",
97 "segments": [
98 {
99 "start": 18,
100 "end": 58,
101 "type": "FULL"
102 }
103 ]
104 },
105 {
106 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_CreateCollector_sync",
107 "title": "rapidmigrationassessment CreateCollector Sample",
108 "description": "CreateCollector create a Collector to manage the on-prem appliance which collects\ninformation about Customer assets.",
109 "file": "Client/CreateCollector/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "CreateCollector",
113 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.CreateCollector",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "rapidmigrationassessmentpb.CreateCollectorRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "CreateCollectorOperation",
129 "client": {
130 "shortName": "Client",
131 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
132 },
133 "method": {
134 "shortName": "CreateCollector",
135 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.CreateCollector",
136 "service": {
137 "shortName": "RapidMigrationAssessment",
138 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment"
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": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_DeleteCollector_sync",
153 "title": "rapidmigrationassessment DeleteCollector Sample",
154 "description": "DeleteCollector deletes a single Collector - changes state of collector to \"Deleting\".\nBackground jobs does final deletion through producer API.",
155 "file": "Client/DeleteCollector/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "DeleteCollector",
159 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.DeleteCollector",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "rapidmigrationassessmentpb.DeleteCollectorRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "DeleteCollectorOperation",
175 "client": {
176 "shortName": "Client",
177 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
178 },
179 "method": {
180 "shortName": "DeleteCollector",
181 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.DeleteCollector",
182 "service": {
183 "shortName": "RapidMigrationAssessment",
184 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment"
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": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_DeleteOperation_sync",
199 "title": "rapidmigrationassessment DeleteOperation Sample",
200 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
201 "file": "Client/DeleteOperation/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "DeleteOperation",
205 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.DeleteOperation",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "longrunningpb.DeleteOperationRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "client": {
221 "shortName": "Client",
222 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
223 },
224 "method": {
225 "shortName": "DeleteOperation",
226 "fullName": "google.longrunning.Operations.DeleteOperation",
227 "service": {
228 "shortName": "Operations",
229 "fullName": "google.longrunning.Operations"
230 }
231 }
232 },
233 "origin": "API_DEFINITION",
234 "segments": [
235 {
236 "start": 18,
237 "end": 51,
238 "type": "FULL"
239 }
240 ]
241 },
242 {
243 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetAnnotation_sync",
244 "title": "rapidmigrationassessment GetAnnotation Sample",
245 "description": "GetAnnotation gets details of a single Annotation.",
246 "file": "Client/GetAnnotation/main.go",
247 "language": "GO",
248 "clientMethod": {
249 "shortName": "GetAnnotation",
250 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.GetAnnotation",
251 "parameters": [
252 {
253 "type": "context.Context",
254 "name": "ctx"
255 },
256 {
257 "type": "rapidmigrationassessmentpb.GetAnnotationRequest",
258 "name": "req"
259 },
260 {
261 "type": "...gax.CallOption",
262 "name": "opts"
263 }
264 ],
265 "resultType": "*rapidmigrationassessmentpb.Annotation",
266 "client": {
267 "shortName": "Client",
268 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
269 },
270 "method": {
271 "shortName": "GetAnnotation",
272 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.GetAnnotation",
273 "service": {
274 "shortName": "RapidMigrationAssessment",
275 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment"
276 }
277 }
278 },
279 "origin": "API_DEFINITION",
280 "segments": [
281 {
282 "start": 18,
283 "end": 53,
284 "type": "FULL"
285 }
286 ]
287 },
288 {
289 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetCollector_sync",
290 "title": "rapidmigrationassessment GetCollector Sample",
291 "description": "GetCollector gets details of a single Collector.",
292 "file": "Client/GetCollector/main.go",
293 "language": "GO",
294 "clientMethod": {
295 "shortName": "GetCollector",
296 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.GetCollector",
297 "parameters": [
298 {
299 "type": "context.Context",
300 "name": "ctx"
301 },
302 {
303 "type": "rapidmigrationassessmentpb.GetCollectorRequest",
304 "name": "req"
305 },
306 {
307 "type": "...gax.CallOption",
308 "name": "opts"
309 }
310 ],
311 "resultType": "*rapidmigrationassessmentpb.Collector",
312 "client": {
313 "shortName": "Client",
314 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
315 },
316 "method": {
317 "shortName": "GetCollector",
318 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.GetCollector",
319 "service": {
320 "shortName": "RapidMigrationAssessment",
321 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment"
322 }
323 }
324 },
325 "origin": "API_DEFINITION",
326 "segments": [
327 {
328 "start": 18,
329 "end": 53,
330 "type": "FULL"
331 }
332 ]
333 },
334 {
335 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetLocation_sync",
336 "title": "rapidmigrationassessment GetLocation Sample",
337 "description": "GetLocation gets information about a location.",
338 "file": "Client/GetLocation/main.go",
339 "language": "GO",
340 "clientMethod": {
341 "shortName": "GetLocation",
342 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.GetLocation",
343 "parameters": [
344 {
345 "type": "context.Context",
346 "name": "ctx"
347 },
348 {
349 "type": "locationpb.GetLocationRequest",
350 "name": "req"
351 },
352 {
353 "type": "...gax.CallOption",
354 "name": "opts"
355 }
356 ],
357 "resultType": "*locationpb.Location",
358 "client": {
359 "shortName": "Client",
360 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
361 },
362 "method": {
363 "shortName": "GetLocation",
364 "fullName": "google.cloud.location.Locations.GetLocation",
365 "service": {
366 "shortName": "Locations",
367 "fullName": "google.cloud.location.Locations"
368 }
369 }
370 },
371 "origin": "API_DEFINITION",
372 "segments": [
373 {
374 "start": 18,
375 "end": 53,
376 "type": "FULL"
377 }
378 ]
379 },
380 {
381 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetOperation_sync",
382 "title": "rapidmigrationassessment GetOperation Sample",
383 "description": "GetOperation is a utility method from google.longrunning.Operations.",
384 "file": "Client/GetOperation/main.go",
385 "language": "GO",
386 "clientMethod": {
387 "shortName": "GetOperation",
388 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.GetOperation",
389 "parameters": [
390 {
391 "type": "context.Context",
392 "name": "ctx"
393 },
394 {
395 "type": "longrunningpb.GetOperationRequest",
396 "name": "req"
397 },
398 {
399 "type": "...gax.CallOption",
400 "name": "opts"
401 }
402 ],
403 "resultType": "*longrunningpb.Operation",
404 "client": {
405 "shortName": "Client",
406 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
407 },
408 "method": {
409 "shortName": "GetOperation",
410 "fullName": "google.longrunning.Operations.GetOperation",
411 "service": {
412 "shortName": "Operations",
413 "fullName": "google.longrunning.Operations"
414 }
415 }
416 },
417 "origin": "API_DEFINITION",
418 "segments": [
419 {
420 "start": 18,
421 "end": 53,
422 "type": "FULL"
423 }
424 ]
425 },
426 {
427 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ListCollectors_sync",
428 "title": "rapidmigrationassessment ListCollectors Sample",
429 "description": "ListCollectors lists Collectors in a given project and location.",
430 "file": "Client/ListCollectors/main.go",
431 "language": "GO",
432 "clientMethod": {
433 "shortName": "ListCollectors",
434 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.ListCollectors",
435 "parameters": [
436 {
437 "type": "context.Context",
438 "name": "ctx"
439 },
440 {
441 "type": "rapidmigrationassessmentpb.ListCollectorsRequest",
442 "name": "req"
443 },
444 {
445 "type": "...gax.CallOption",
446 "name": "opts"
447 }
448 ],
449 "resultType": "CollectorIterator",
450 "client": {
451 "shortName": "Client",
452 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
453 },
454 "method": {
455 "shortName": "ListCollectors",
456 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.ListCollectors",
457 "service": {
458 "shortName": "RapidMigrationAssessment",
459 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment"
460 }
461 }
462 },
463 "origin": "API_DEFINITION",
464 "segments": [
465 {
466 "start": 18,
467 "end": 66,
468 "type": "FULL"
469 }
470 ]
471 },
472 {
473 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ListLocations_sync",
474 "title": "rapidmigrationassessment ListLocations Sample",
475 "description": "ListLocations lists information about the supported locations for this service.",
476 "file": "Client/ListLocations/main.go",
477 "language": "GO",
478 "clientMethod": {
479 "shortName": "ListLocations",
480 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.ListLocations",
481 "parameters": [
482 {
483 "type": "context.Context",
484 "name": "ctx"
485 },
486 {
487 "type": "locationpb.ListLocationsRequest",
488 "name": "req"
489 },
490 {
491 "type": "...gax.CallOption",
492 "name": "opts"
493 }
494 ],
495 "resultType": "LocationIterator",
496 "client": {
497 "shortName": "Client",
498 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
499 },
500 "method": {
501 "shortName": "ListLocations",
502 "fullName": "google.cloud.location.Locations.ListLocations",
503 "service": {
504 "shortName": "Locations",
505 "fullName": "google.cloud.location.Locations"
506 }
507 }
508 },
509 "origin": "API_DEFINITION",
510 "segments": [
511 {
512 "start": 18,
513 "end": 66,
514 "type": "FULL"
515 }
516 ]
517 },
518 {
519 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ListOperations_sync",
520 "title": "rapidmigrationassessment ListOperations Sample",
521 "description": "ListOperations is a utility method from google.longrunning.Operations.",
522 "file": "Client/ListOperations/main.go",
523 "language": "GO",
524 "clientMethod": {
525 "shortName": "ListOperations",
526 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.ListOperations",
527 "parameters": [
528 {
529 "type": "context.Context",
530 "name": "ctx"
531 },
532 {
533 "type": "longrunningpb.ListOperationsRequest",
534 "name": "req"
535 },
536 {
537 "type": "...gax.CallOption",
538 "name": "opts"
539 }
540 ],
541 "resultType": "OperationIterator",
542 "client": {
543 "shortName": "Client",
544 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
545 },
546 "method": {
547 "shortName": "ListOperations",
548 "fullName": "google.longrunning.Operations.ListOperations",
549 "service": {
550 "shortName": "Operations",
551 "fullName": "google.longrunning.Operations"
552 }
553 }
554 },
555 "origin": "API_DEFINITION",
556 "segments": [
557 {
558 "start": 18,
559 "end": 66,
560 "type": "FULL"
561 }
562 ]
563 },
564 {
565 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_PauseCollector_sync",
566 "title": "rapidmigrationassessment PauseCollector Sample",
567 "description": "PauseCollector pauses the given collector.",
568 "file": "Client/PauseCollector/main.go",
569 "language": "GO",
570 "clientMethod": {
571 "shortName": "PauseCollector",
572 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.PauseCollector",
573 "parameters": [
574 {
575 "type": "context.Context",
576 "name": "ctx"
577 },
578 {
579 "type": "rapidmigrationassessmentpb.PauseCollectorRequest",
580 "name": "req"
581 },
582 {
583 "type": "...gax.CallOption",
584 "name": "opts"
585 }
586 ],
587 "resultType": "PauseCollectorOperation",
588 "client": {
589 "shortName": "Client",
590 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
591 },
592 "method": {
593 "shortName": "PauseCollector",
594 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.PauseCollector",
595 "service": {
596 "shortName": "RapidMigrationAssessment",
597 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment"
598 }
599 }
600 },
601 "origin": "API_DEFINITION",
602 "segments": [
603 {
604 "start": 18,
605 "end": 58,
606 "type": "FULL"
607 }
608 ]
609 },
610 {
611 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_RegisterCollector_sync",
612 "title": "rapidmigrationassessment RegisterCollector Sample",
613 "description": "RegisterCollector registers the given collector.",
614 "file": "Client/RegisterCollector/main.go",
615 "language": "GO",
616 "clientMethod": {
617 "shortName": "RegisterCollector",
618 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.RegisterCollector",
619 "parameters": [
620 {
621 "type": "context.Context",
622 "name": "ctx"
623 },
624 {
625 "type": "rapidmigrationassessmentpb.RegisterCollectorRequest",
626 "name": "req"
627 },
628 {
629 "type": "...gax.CallOption",
630 "name": "opts"
631 }
632 ],
633 "resultType": "RegisterCollectorOperation",
634 "client": {
635 "shortName": "Client",
636 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
637 },
638 "method": {
639 "shortName": "RegisterCollector",
640 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.RegisterCollector",
641 "service": {
642 "shortName": "RapidMigrationAssessment",
643 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment"
644 }
645 }
646 },
647 "origin": "API_DEFINITION",
648 "segments": [
649 {
650 "start": 18,
651 "end": 58,
652 "type": "FULL"
653 }
654 ]
655 },
656 {
657 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ResumeCollector_sync",
658 "title": "rapidmigrationassessment ResumeCollector Sample",
659 "description": "ResumeCollector resumes the given collector.",
660 "file": "Client/ResumeCollector/main.go",
661 "language": "GO",
662 "clientMethod": {
663 "shortName": "ResumeCollector",
664 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.ResumeCollector",
665 "parameters": [
666 {
667 "type": "context.Context",
668 "name": "ctx"
669 },
670 {
671 "type": "rapidmigrationassessmentpb.ResumeCollectorRequest",
672 "name": "req"
673 },
674 {
675 "type": "...gax.CallOption",
676 "name": "opts"
677 }
678 ],
679 "resultType": "ResumeCollectorOperation",
680 "client": {
681 "shortName": "Client",
682 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
683 },
684 "method": {
685 "shortName": "ResumeCollector",
686 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.ResumeCollector",
687 "service": {
688 "shortName": "RapidMigrationAssessment",
689 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment"
690 }
691 }
692 },
693 "origin": "API_DEFINITION",
694 "segments": [
695 {
696 "start": 18,
697 "end": 58,
698 "type": "FULL"
699 }
700 ]
701 },
702 {
703 "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_UpdateCollector_sync",
704 "title": "rapidmigrationassessment UpdateCollector Sample",
705 "description": "UpdateCollector updates the parameters of a single Collector.",
706 "file": "Client/UpdateCollector/main.go",
707 "language": "GO",
708 "clientMethod": {
709 "shortName": "UpdateCollector",
710 "fullName": "google.cloud.rapidmigrationassessment.v1.Client.UpdateCollector",
711 "parameters": [
712 {
713 "type": "context.Context",
714 "name": "ctx"
715 },
716 {
717 "type": "rapidmigrationassessmentpb.UpdateCollectorRequest",
718 "name": "req"
719 },
720 {
721 "type": "...gax.CallOption",
722 "name": "opts"
723 }
724 ],
725 "resultType": "UpdateCollectorOperation",
726 "client": {
727 "shortName": "Client",
728 "fullName": "google.cloud.rapidmigrationassessment.v1.Client"
729 },
730 "method": {
731 "shortName": "UpdateCollector",
732 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.UpdateCollector",
733 "service": {
734 "shortName": "RapidMigrationAssessment",
735 "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment"
736 }
737 }
738 },
739 "origin": "API_DEFINITION",
740 "segments": [
741 {
742 "start": 18,
743 "end": 58,
744 "type": "FULL"
745 }
746 ]
747 }
748 ]
749 }