Debian Codegraph @

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

raw
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/apihub/apiv1",
4 "version": "0.2.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.apihub.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "apihub_v1_generated_ApiHub_CancelOperation_sync",
16 "title": "apihub 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.apihub.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.apihub.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": "apihub_v1_generated_ApiHub_CreateApi_sync",
61 "title": "apihub CreateApi Sample",
62 "description": "CreateApi create an API resource in the API hub.\nOnce an API resource is created, versions can be added to it.",
63 "file": "Client/CreateApi/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "CreateApi",
67 "fullName": "google.cloud.apihub.v1.Client.CreateApi",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "apihubpb.CreateApiRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "*apihubpb.Api",
83 "client": {
84 "shortName": "Client",
85 "fullName": "google.cloud.apihub.v1.Client"
86 },
87 "method": {
88 "shortName": "CreateApi",
89 "fullName": "google.cloud.apihub.v1.ApiHub.CreateApi",
90 "service": {
91 "shortName": "ApiHub",
92 "fullName": "google.cloud.apihub.v1.ApiHub"
93 }
94 }
95 },
96 "origin": "API_DEFINITION",
97 "segments": [
98 {
99 "start": 18,
100 "end": 53,
101 "type": "FULL"
102 }
103 ]
104 },
105 {
106 "regionTag": "apihub_v1_generated_ApiHub_CreateApiOperation_sync",
107 "title": "apihub CreateApiOperation Sample",
108 "description": "CreateApiOperation create an apiOperation in an API version.\nAn apiOperation can be created only if the version has no apiOperations\nwhich were created by parsing a spec.",
109 "file": "Client/CreateApiOperation/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "CreateApiOperation",
113 "fullName": "google.cloud.apihub.v1.Client.CreateApiOperation",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "apihubpb.CreateApiOperationRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "*apihubpb.ApiOperation",
129 "client": {
130 "shortName": "Client",
131 "fullName": "google.cloud.apihub.v1.Client"
132 },
133 "method": {
134 "shortName": "CreateApiOperation",
135 "fullName": "google.cloud.apihub.v1.ApiHub.CreateApiOperation",
136 "service": {
137 "shortName": "ApiHub",
138 "fullName": "google.cloud.apihub.v1.ApiHub"
139 }
140 }
141 },
142 "origin": "API_DEFINITION",
143 "segments": [
144 {
145 "start": 18,
146 "end": 53,
147 "type": "FULL"
148 }
149 ]
150 },
151 {
152 "regionTag": "apihub_v1_generated_ApiHub_CreateAttribute_sync",
153 "title": "apihub CreateAttribute Sample",
154 "description": "CreateAttribute create a user defined attribute.\n\nCertain pre defined attributes are already created by the API hub. These\nattributes will have type as `SYSTEM_DEFINED` and can be listed via\n[ListAttributes][google.cloud.apihub.v1.ApiHub.ListAttributes] method.\nAllowed values for the same can be updated via\n[UpdateAttribute][google.cloud.apihub.v1.ApiHub.UpdateAttribute] method.",
155 "file": "Client/CreateAttribute/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "CreateAttribute",
159 "fullName": "google.cloud.apihub.v1.Client.CreateAttribute",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "apihubpb.CreateAttributeRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "*apihubpb.Attribute",
175 "client": {
176 "shortName": "Client",
177 "fullName": "google.cloud.apihub.v1.Client"
178 },
179 "method": {
180 "shortName": "CreateAttribute",
181 "fullName": "google.cloud.apihub.v1.ApiHub.CreateAttribute",
182 "service": {
183 "shortName": "ApiHub",
184 "fullName": "google.cloud.apihub.v1.ApiHub"
185 }
186 }
187 },
188 "origin": "API_DEFINITION",
189 "segments": [
190 {
191 "start": 18,
192 "end": 53,
193 "type": "FULL"
194 }
195 ]
196 },
197 {
198 "regionTag": "apihub_v1_generated_ApiHub_CreateDeployment_sync",
199 "title": "apihub CreateDeployment Sample",
200 "description": "CreateDeployment create a deployment resource in the API hub.\nOnce a deployment resource is created, it can be associated with API\nversions.",
201 "file": "Client/CreateDeployment/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "CreateDeployment",
205 "fullName": "google.cloud.apihub.v1.Client.CreateDeployment",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "apihubpb.CreateDeploymentRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "*apihubpb.Deployment",
221 "client": {
222 "shortName": "Client",
223 "fullName": "google.cloud.apihub.v1.Client"
224 },
225 "method": {
226 "shortName": "CreateDeployment",
227 "fullName": "google.cloud.apihub.v1.ApiHub.CreateDeployment",
228 "service": {
229 "shortName": "ApiHub",
230 "fullName": "google.cloud.apihub.v1.ApiHub"
231 }
232 }
233 },
234 "origin": "API_DEFINITION",
235 "segments": [
236 {
237 "start": 18,
238 "end": 53,
239 "type": "FULL"
240 }
241 ]
242 },
243 {
244 "regionTag": "apihub_v1_generated_ApiHub_CreateExternalApi_sync",
245 "title": "apihub CreateExternalApi Sample",
246 "description": "CreateExternalApi create an External API resource in the API hub.",
247 "file": "Client/CreateExternalApi/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "CreateExternalApi",
251 "fullName": "google.cloud.apihub.v1.Client.CreateExternalApi",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "apihubpb.CreateExternalApiRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "resultType": "*apihubpb.ExternalApi",
267 "client": {
268 "shortName": "Client",
269 "fullName": "google.cloud.apihub.v1.Client"
270 },
271 "method": {
272 "shortName": "CreateExternalApi",
273 "fullName": "google.cloud.apihub.v1.ApiHub.CreateExternalApi",
274 "service": {
275 "shortName": "ApiHub",
276 "fullName": "google.cloud.apihub.v1.ApiHub"
277 }
278 }
279 },
280 "origin": "API_DEFINITION",
281 "segments": [
282 {
283 "start": 18,
284 "end": 53,
285 "type": "FULL"
286 }
287 ]
288 },
289 {
290 "regionTag": "apihub_v1_generated_ApiHub_CreateSpec_sync",
291 "title": "apihub CreateSpec Sample",
292 "description": "CreateSpec add a spec to an API version in the API hub.\nMultiple specs can be added to an API version.\nNote, while adding a spec, at least one of `contents` or `source_uri` must\nbe provided. If `contents` is provided, then `spec_type` must also be\nprovided.\n\nOn adding a spec with contents to the version, the operations present in it\nwill be added to the version.Note that the file contents in the spec should\nbe of the same type as defined in the\n`projects/{project}/locations/{location}/attributes/system-spec-type`\nattribute associated with spec resource. Note that specs of various types\ncan be uploaded, however parsing of details is supported for OpenAPI spec\ncurrently.\n\nIn order to access the information parsed from the spec, use the\n[GetSpec][google.cloud.apihub.v1.ApiHub.GetSpec] method.\nIn order to access the raw contents for a particular spec, use the\n[GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method.\nIn order to access the operations parsed from the spec, use the\n[ListAPIOperations][google.cloud.apihub.v1.ApiHub.ListApiOperations]\nmethod.",
293 "file": "Client/CreateSpec/main.go",
294 "language": "GO",
295 "clientMethod": {
296 "shortName": "CreateSpec",
297 "fullName": "google.cloud.apihub.v1.Client.CreateSpec",
298 "parameters": [
299 {
300 "type": "context.Context",
301 "name": "ctx"
302 },
303 {
304 "type": "apihubpb.CreateSpecRequest",
305 "name": "req"
306 },
307 {
308 "type": "...gax.CallOption",
309 "name": "opts"
310 }
311 ],
312 "resultType": "*apihubpb.Spec",
313 "client": {
314 "shortName": "Client",
315 "fullName": "google.cloud.apihub.v1.Client"
316 },
317 "method": {
318 "shortName": "CreateSpec",
319 "fullName": "google.cloud.apihub.v1.ApiHub.CreateSpec",
320 "service": {
321 "shortName": "ApiHub",
322 "fullName": "google.cloud.apihub.v1.ApiHub"
323 }
324 }
325 },
326 "origin": "API_DEFINITION",
327 "segments": [
328 {
329 "start": 18,
330 "end": 53,
331 "type": "FULL"
332 }
333 ]
334 },
335 {
336 "regionTag": "apihub_v1_generated_ApiHub_CreateVersion_sync",
337 "title": "apihub CreateVersion Sample",
338 "description": "CreateVersion create an API version for an API resource in the API hub.",
339 "file": "Client/CreateVersion/main.go",
340 "language": "GO",
341 "clientMethod": {
342 "shortName": "CreateVersion",
343 "fullName": "google.cloud.apihub.v1.Client.CreateVersion",
344 "parameters": [
345 {
346 "type": "context.Context",
347 "name": "ctx"
348 },
349 {
350 "type": "apihubpb.CreateVersionRequest",
351 "name": "req"
352 },
353 {
354 "type": "...gax.CallOption",
355 "name": "opts"
356 }
357 ],
358 "resultType": "*apihubpb.Version",
359 "client": {
360 "shortName": "Client",
361 "fullName": "google.cloud.apihub.v1.Client"
362 },
363 "method": {
364 "shortName": "CreateVersion",
365 "fullName": "google.cloud.apihub.v1.ApiHub.CreateVersion",
366 "service": {
367 "shortName": "ApiHub",
368 "fullName": "google.cloud.apihub.v1.ApiHub"
369 }
370 }
371 },
372 "origin": "API_DEFINITION",
373 "segments": [
374 {
375 "start": 18,
376 "end": 53,
377 "type": "FULL"
378 }
379 ]
380 },
381 {
382 "regionTag": "apihub_v1_generated_ApiHub_DeleteApi_sync",
383 "title": "apihub DeleteApi Sample",
384 "description": "DeleteApi delete an API resource in the API hub. API can only be deleted if all\nunderlying versions are deleted.",
385 "file": "Client/DeleteApi/main.go",
386 "language": "GO",
387 "clientMethod": {
388 "shortName": "DeleteApi",
389 "fullName": "google.cloud.apihub.v1.Client.DeleteApi",
390 "parameters": [
391 {
392 "type": "context.Context",
393 "name": "ctx"
394 },
395 {
396 "type": "apihubpb.DeleteApiRequest",
397 "name": "req"
398 },
399 {
400 "type": "...gax.CallOption",
401 "name": "opts"
402 }
403 ],
404 "client": {
405 "shortName": "Client",
406 "fullName": "google.cloud.apihub.v1.Client"
407 },
408 "method": {
409 "shortName": "DeleteApi",
410 "fullName": "google.cloud.apihub.v1.ApiHub.DeleteApi",
411 "service": {
412 "shortName": "ApiHub",
413 "fullName": "google.cloud.apihub.v1.ApiHub"
414 }
415 }
416 },
417 "origin": "API_DEFINITION",
418 "segments": [
419 {
420 "start": 18,
421 "end": 51,
422 "type": "FULL"
423 }
424 ]
425 },
426 {
427 "regionTag": "apihub_v1_generated_ApiHub_DeleteApiOperation_sync",
428 "title": "apihub DeleteApiOperation Sample",
429 "description": "DeleteApiOperation delete an operation in an API version and we can delete only the\noperations created via create API. If the operation was created by parsing\nthe spec, then it can be deleted by editing or deleting the spec.",
430 "file": "Client/DeleteApiOperation/main.go",
431 "language": "GO",
432 "clientMethod": {
433 "shortName": "DeleteApiOperation",
434 "fullName": "google.cloud.apihub.v1.Client.DeleteApiOperation",
435 "parameters": [
436 {
437 "type": "context.Context",
438 "name": "ctx"
439 },
440 {
441 "type": "apihubpb.DeleteApiOperationRequest",
442 "name": "req"
443 },
444 {
445 "type": "...gax.CallOption",
446 "name": "opts"
447 }
448 ],
449 "client": {
450 "shortName": "Client",
451 "fullName": "google.cloud.apihub.v1.Client"
452 },
453 "method": {
454 "shortName": "DeleteApiOperation",
455 "fullName": "google.cloud.apihub.v1.ApiHub.DeleteApiOperation",
456 "service": {
457 "shortName": "ApiHub",
458 "fullName": "google.cloud.apihub.v1.ApiHub"
459 }
460 }
461 },
462 "origin": "API_DEFINITION",
463 "segments": [
464 {
465 "start": 18,
466 "end": 51,
467 "type": "FULL"
468 }
469 ]
470 },
471 {
472 "regionTag": "apihub_v1_generated_ApiHub_DeleteAttribute_sync",
473 "title": "apihub DeleteAttribute Sample",
474 "description": "DeleteAttribute delete an attribute.\n\nNote: System defined attributes cannot be deleted. All\nassociations of the attribute being deleted with any API hub resource will\nalso get deleted.",
475 "file": "Client/DeleteAttribute/main.go",
476 "language": "GO",
477 "clientMethod": {
478 "shortName": "DeleteAttribute",
479 "fullName": "google.cloud.apihub.v1.Client.DeleteAttribute",
480 "parameters": [
481 {
482 "type": "context.Context",
483 "name": "ctx"
484 },
485 {
486 "type": "apihubpb.DeleteAttributeRequest",
487 "name": "req"
488 },
489 {
490 "type": "...gax.CallOption",
491 "name": "opts"
492 }
493 ],
494 "client": {
495 "shortName": "Client",
496 "fullName": "google.cloud.apihub.v1.Client"
497 },
498 "method": {
499 "shortName": "DeleteAttribute",
500 "fullName": "google.cloud.apihub.v1.ApiHub.DeleteAttribute",
501 "service": {
502 "shortName": "ApiHub",
503 "fullName": "google.cloud.apihub.v1.ApiHub"
504 }
505 }
506 },
507 "origin": "API_DEFINITION",
508 "segments": [
509 {
510 "start": 18,
511 "end": 51,
512 "type": "FULL"
513 }
514 ]
515 },
516 {
517 "regionTag": "apihub_v1_generated_ApiHub_DeleteDeployment_sync",
518 "title": "apihub DeleteDeployment Sample",
519 "description": "DeleteDeployment delete a deployment resource in the API hub.",
520 "file": "Client/DeleteDeployment/main.go",
521 "language": "GO",
522 "clientMethod": {
523 "shortName": "DeleteDeployment",
524 "fullName": "google.cloud.apihub.v1.Client.DeleteDeployment",
525 "parameters": [
526 {
527 "type": "context.Context",
528 "name": "ctx"
529 },
530 {
531 "type": "apihubpb.DeleteDeploymentRequest",
532 "name": "req"
533 },
534 {
535 "type": "...gax.CallOption",
536 "name": "opts"
537 }
538 ],
539 "client": {
540 "shortName": "Client",
541 "fullName": "google.cloud.apihub.v1.Client"
542 },
543 "method": {
544 "shortName": "DeleteDeployment",
545 "fullName": "google.cloud.apihub.v1.ApiHub.DeleteDeployment",
546 "service": {
547 "shortName": "ApiHub",
548 "fullName": "google.cloud.apihub.v1.ApiHub"
549 }
550 }
551 },
552 "origin": "API_DEFINITION",
553 "segments": [
554 {
555 "start": 18,
556 "end": 51,
557 "type": "FULL"
558 }
559 ]
560 },
561 {
562 "regionTag": "apihub_v1_generated_ApiHub_DeleteExternalApi_sync",
563 "title": "apihub DeleteExternalApi Sample",
564 "description": "DeleteExternalApi delete an External API resource in the API hub.",
565 "file": "Client/DeleteExternalApi/main.go",
566 "language": "GO",
567 "clientMethod": {
568 "shortName": "DeleteExternalApi",
569 "fullName": "google.cloud.apihub.v1.Client.DeleteExternalApi",
570 "parameters": [
571 {
572 "type": "context.Context",
573 "name": "ctx"
574 },
575 {
576 "type": "apihubpb.DeleteExternalApiRequest",
577 "name": "req"
578 },
579 {
580 "type": "...gax.CallOption",
581 "name": "opts"
582 }
583 ],
584 "client": {
585 "shortName": "Client",
586 "fullName": "google.cloud.apihub.v1.Client"
587 },
588 "method": {
589 "shortName": "DeleteExternalApi",
590 "fullName": "google.cloud.apihub.v1.ApiHub.DeleteExternalApi",
591 "service": {
592 "shortName": "ApiHub",
593 "fullName": "google.cloud.apihub.v1.ApiHub"
594 }
595 }
596 },
597 "origin": "API_DEFINITION",
598 "segments": [
599 {
600 "start": 18,
601 "end": 51,
602 "type": "FULL"
603 }
604 ]
605 },
606 {
607 "regionTag": "apihub_v1_generated_ApiHub_DeleteOperation_sync",
608 "title": "apihub DeleteOperation Sample",
609 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
610 "file": "Client/DeleteOperation/main.go",
611 "language": "GO",
612 "clientMethod": {
613 "shortName": "DeleteOperation",
614 "fullName": "google.cloud.apihub.v1.Client.DeleteOperation",
615 "parameters": [
616 {
617 "type": "context.Context",
618 "name": "ctx"
619 },
620 {
621 "type": "longrunningpb.DeleteOperationRequest",
622 "name": "req"
623 },
624 {
625 "type": "...gax.CallOption",
626 "name": "opts"
627 }
628 ],
629 "client": {
630 "shortName": "Client",
631 "fullName": "google.cloud.apihub.v1.Client"
632 },
633 "method": {
634 "shortName": "DeleteOperation",
635 "fullName": "google.longrunning.Operations.DeleteOperation",
636 "service": {
637 "shortName": "Operations",
638 "fullName": "google.longrunning.Operations"
639 }
640 }
641 },
642 "origin": "API_DEFINITION",
643 "segments": [
644 {
645 "start": 18,
646 "end": 51,
647 "type": "FULL"
648 }
649 ]
650 },
651 {
652 "regionTag": "apihub_v1_generated_ApiHub_DeleteSpec_sync",
653 "title": "apihub DeleteSpec Sample",
654 "description": "DeleteSpec delete a spec.\nDeleting a spec will also delete the associated operations from the\nversion.",
655 "file": "Client/DeleteSpec/main.go",
656 "language": "GO",
657 "clientMethod": {
658 "shortName": "DeleteSpec",
659 "fullName": "google.cloud.apihub.v1.Client.DeleteSpec",
660 "parameters": [
661 {
662 "type": "context.Context",
663 "name": "ctx"
664 },
665 {
666 "type": "apihubpb.DeleteSpecRequest",
667 "name": "req"
668 },
669 {
670 "type": "...gax.CallOption",
671 "name": "opts"
672 }
673 ],
674 "client": {
675 "shortName": "Client",
676 "fullName": "google.cloud.apihub.v1.Client"
677 },
678 "method": {
679 "shortName": "DeleteSpec",
680 "fullName": "google.cloud.apihub.v1.ApiHub.DeleteSpec",
681 "service": {
682 "shortName": "ApiHub",
683 "fullName": "google.cloud.apihub.v1.ApiHub"
684 }
685 }
686 },
687 "origin": "API_DEFINITION",
688 "segments": [
689 {
690 "start": 18,
691 "end": 51,
692 "type": "FULL"
693 }
694 ]
695 },
696 {
697 "regionTag": "apihub_v1_generated_ApiHub_DeleteVersion_sync",
698 "title": "apihub DeleteVersion Sample",
699 "description": "DeleteVersion delete an API version. Version can only be deleted if all underlying specs,\noperations, definitions and linked deployments are deleted.",
700 "file": "Client/DeleteVersion/main.go",
701 "language": "GO",
702 "clientMethod": {
703 "shortName": "DeleteVersion",
704 "fullName": "google.cloud.apihub.v1.Client.DeleteVersion",
705 "parameters": [
706 {
707 "type": "context.Context",
708 "name": "ctx"
709 },
710 {
711 "type": "apihubpb.DeleteVersionRequest",
712 "name": "req"
713 },
714 {
715 "type": "...gax.CallOption",
716 "name": "opts"
717 }
718 ],
719 "client": {
720 "shortName": "Client",
721 "fullName": "google.cloud.apihub.v1.Client"
722 },
723 "method": {
724 "shortName": "DeleteVersion",
725 "fullName": "google.cloud.apihub.v1.ApiHub.DeleteVersion",
726 "service": {
727 "shortName": "ApiHub",
728 "fullName": "google.cloud.apihub.v1.ApiHub"
729 }
730 }
731 },
732 "origin": "API_DEFINITION",
733 "segments": [
734 {
735 "start": 18,
736 "end": 51,
737 "type": "FULL"
738 }
739 ]
740 },
741 {
742 "regionTag": "apihub_v1_generated_ApiHub_GetApi_sync",
743 "title": "apihub GetApi Sample",
744 "description": "GetApi get API resource details including the API versions contained in it.",
745 "file": "Client/GetApi/main.go",
746 "language": "GO",
747 "clientMethod": {
748 "shortName": "GetApi",
749 "fullName": "google.cloud.apihub.v1.Client.GetApi",
750 "parameters": [
751 {
752 "type": "context.Context",
753 "name": "ctx"
754 },
755 {
756 "type": "apihubpb.GetApiRequest",
757 "name": "req"
758 },
759 {
760 "type": "...gax.CallOption",
761 "name": "opts"
762 }
763 ],
764 "resultType": "*apihubpb.Api",
765 "client": {
766 "shortName": "Client",
767 "fullName": "google.cloud.apihub.v1.Client"
768 },
769 "method": {
770 "shortName": "GetApi",
771 "fullName": "google.cloud.apihub.v1.ApiHub.GetApi",
772 "service": {
773 "shortName": "ApiHub",
774 "fullName": "google.cloud.apihub.v1.ApiHub"
775 }
776 }
777 },
778 "origin": "API_DEFINITION",
779 "segments": [
780 {
781 "start": 18,
782 "end": 53,
783 "type": "FULL"
784 }
785 ]
786 },
787 {
788 "regionTag": "apihub_v1_generated_ApiHub_GetApiOperation_sync",
789 "title": "apihub GetApiOperation Sample",
790 "description": "GetApiOperation get details about a particular operation in API version.",
791 "file": "Client/GetApiOperation/main.go",
792 "language": "GO",
793 "clientMethod": {
794 "shortName": "GetApiOperation",
795 "fullName": "google.cloud.apihub.v1.Client.GetApiOperation",
796 "parameters": [
797 {
798 "type": "context.Context",
799 "name": "ctx"
800 },
801 {
802 "type": "apihubpb.GetApiOperationRequest",
803 "name": "req"
804 },
805 {
806 "type": "...gax.CallOption",
807 "name": "opts"
808 }
809 ],
810 "resultType": "*apihubpb.ApiOperation",
811 "client": {
812 "shortName": "Client",
813 "fullName": "google.cloud.apihub.v1.Client"
814 },
815 "method": {
816 "shortName": "GetApiOperation",
817 "fullName": "google.cloud.apihub.v1.ApiHub.GetApiOperation",
818 "service": {
819 "shortName": "ApiHub",
820 "fullName": "google.cloud.apihub.v1.ApiHub"
821 }
822 }
823 },
824 "origin": "API_DEFINITION",
825 "segments": [
826 {
827 "start": 18,
828 "end": 53,
829 "type": "FULL"
830 }
831 ]
832 },
833 {
834 "regionTag": "apihub_v1_generated_ApiHub_GetAttribute_sync",
835 "title": "apihub GetAttribute Sample",
836 "description": "GetAttribute get details about the attribute.",
837 "file": "Client/GetAttribute/main.go",
838 "language": "GO",
839 "clientMethod": {
840 "shortName": "GetAttribute",
841 "fullName": "google.cloud.apihub.v1.Client.GetAttribute",
842 "parameters": [
843 {
844 "type": "context.Context",
845 "name": "ctx"
846 },
847 {
848 "type": "apihubpb.GetAttributeRequest",
849 "name": "req"
850 },
851 {
852 "type": "...gax.CallOption",
853 "name": "opts"
854 }
855 ],
856 "resultType": "*apihubpb.Attribute",
857 "client": {
858 "shortName": "Client",
859 "fullName": "google.cloud.apihub.v1.Client"
860 },
861 "method": {
862 "shortName": "GetAttribute",
863 "fullName": "google.cloud.apihub.v1.ApiHub.GetAttribute",
864 "service": {
865 "shortName": "ApiHub",
866 "fullName": "google.cloud.apihub.v1.ApiHub"
867 }
868 }
869 },
870 "origin": "API_DEFINITION",
871 "segments": [
872 {
873 "start": 18,
874 "end": 53,
875 "type": "FULL"
876 }
877 ]
878 },
879 {
880 "regionTag": "apihub_v1_generated_ApiHub_GetDefinition_sync",
881 "title": "apihub GetDefinition Sample",
882 "description": "GetDefinition get details about a definition in an API version.",
883 "file": "Client/GetDefinition/main.go",
884 "language": "GO",
885 "clientMethod": {
886 "shortName": "GetDefinition",
887 "fullName": "google.cloud.apihub.v1.Client.GetDefinition",
888 "parameters": [
889 {
890 "type": "context.Context",
891 "name": "ctx"
892 },
893 {
894 "type": "apihubpb.GetDefinitionRequest",
895 "name": "req"
896 },
897 {
898 "type": "...gax.CallOption",
899 "name": "opts"
900 }
901 ],
902 "resultType": "*apihubpb.Definition",
903 "client": {
904 "shortName": "Client",
905 "fullName": "google.cloud.apihub.v1.Client"
906 },
907 "method": {
908 "shortName": "GetDefinition",
909 "fullName": "google.cloud.apihub.v1.ApiHub.GetDefinition",
910 "service": {
911 "shortName": "ApiHub",
912 "fullName": "google.cloud.apihub.v1.ApiHub"
913 }
914 }
915 },
916 "origin": "API_DEFINITION",
917 "segments": [
918 {
919 "start": 18,
920 "end": 53,
921 "type": "FULL"
922 }
923 ]
924 },
925 {
926 "regionTag": "apihub_v1_generated_ApiHub_GetDeployment_sync",
927 "title": "apihub GetDeployment Sample",
928 "description": "GetDeployment get details about a deployment and the API versions linked to it.",
929 "file": "Client/GetDeployment/main.go",
930 "language": "GO",
931 "clientMethod": {
932 "shortName": "GetDeployment",
933 "fullName": "google.cloud.apihub.v1.Client.GetDeployment",
934 "parameters": [
935 {
936 "type": "context.Context",
937 "name": "ctx"
938 },
939 {
940 "type": "apihubpb.GetDeploymentRequest",
941 "name": "req"
942 },
943 {
944 "type": "...gax.CallOption",
945 "name": "opts"
946 }
947 ],
948 "resultType": "*apihubpb.Deployment",
949 "client": {
950 "shortName": "Client",
951 "fullName": "google.cloud.apihub.v1.Client"
952 },
953 "method": {
954 "shortName": "GetDeployment",
955 "fullName": "google.cloud.apihub.v1.ApiHub.GetDeployment",
956 "service": {
957 "shortName": "ApiHub",
958 "fullName": "google.cloud.apihub.v1.ApiHub"
959 }
960 }
961 },
962 "origin": "API_DEFINITION",
963 "segments": [
964 {
965 "start": 18,
966 "end": 53,
967 "type": "FULL"
968 }
969 ]
970 },
971 {
972 "regionTag": "apihub_v1_generated_ApiHub_GetExternalApi_sync",
973 "title": "apihub GetExternalApi Sample",
974 "description": "GetExternalApi get details about an External API resource in the API hub.",
975 "file": "Client/GetExternalApi/main.go",
976 "language": "GO",
977 "clientMethod": {
978 "shortName": "GetExternalApi",
979 "fullName": "google.cloud.apihub.v1.Client.GetExternalApi",
980 "parameters": [
981 {
982 "type": "context.Context",
983 "name": "ctx"
984 },
985 {
986 "type": "apihubpb.GetExternalApiRequest",
987 "name": "req"
988 },
989 {
990 "type": "...gax.CallOption",
991 "name": "opts"
992 }
993 ],
994 "resultType": "*apihubpb.ExternalApi",
995 "client": {
996 "shortName": "Client",
997 "fullName": "google.cloud.apihub.v1.Client"
998 },
999 "method": {
1000 "shortName": "GetExternalApi",
1001 "fullName": "google.cloud.apihub.v1.ApiHub.GetExternalApi",
1002 "service": {
1003 "shortName": "ApiHub",
1004 "fullName": "google.cloud.apihub.v1.ApiHub"
1005 }
1006 }
1007 },
1008 "origin": "API_DEFINITION",
1009 "segments": [
1010 {
1011 "start": 18,
1012 "end": 53,
1013 "type": "FULL"
1014 }
1015 ]
1016 },
1017 {
1018 "regionTag": "apihub_v1_generated_ApiHub_GetLocation_sync",
1019 "title": "apihub GetLocation Sample",
1020 "description": "GetLocation gets information about a location.",
1021 "file": "Client/GetLocation/main.go",
1022 "language": "GO",
1023 "clientMethod": {
1024 "shortName": "GetLocation",
1025 "fullName": "google.cloud.apihub.v1.Client.GetLocation",
1026 "parameters": [
1027 {
1028 "type": "context.Context",
1029 "name": "ctx"
1030 },
1031 {
1032 "type": "locationpb.GetLocationRequest",
1033 "name": "req"
1034 },
1035 {
1036 "type": "...gax.CallOption",
1037 "name": "opts"
1038 }
1039 ],
1040 "resultType": "*locationpb.Location",
1041 "client": {
1042 "shortName": "Client",
1043 "fullName": "google.cloud.apihub.v1.Client"
1044 },
1045 "method": {
1046 "shortName": "GetLocation",
1047 "fullName": "google.cloud.location.Locations.GetLocation",
1048 "service": {
1049 "shortName": "Locations",
1050 "fullName": "google.cloud.location.Locations"
1051 }
1052 }
1053 },
1054 "origin": "API_DEFINITION",
1055 "segments": [
1056 {
1057 "start": 18,
1058 "end": 53,
1059 "type": "FULL"
1060 }
1061 ]
1062 },
1063 {
1064 "regionTag": "apihub_v1_generated_ApiHub_GetOperation_sync",
1065 "title": "apihub GetOperation Sample",
1066 "description": "GetOperation is a utility method from google.longrunning.Operations.",
1067 "file": "Client/GetOperation/main.go",
1068 "language": "GO",
1069 "clientMethod": {
1070 "shortName": "GetOperation",
1071 "fullName": "google.cloud.apihub.v1.Client.GetOperation",
1072 "parameters": [
1073 {
1074 "type": "context.Context",
1075 "name": "ctx"
1076 },
1077 {
1078 "type": "longrunningpb.GetOperationRequest",
1079 "name": "req"
1080 },
1081 {
1082 "type": "...gax.CallOption",
1083 "name": "opts"
1084 }
1085 ],
1086 "resultType": "*longrunningpb.Operation",
1087 "client": {
1088 "shortName": "Client",
1089 "fullName": "google.cloud.apihub.v1.Client"
1090 },
1091 "method": {
1092 "shortName": "GetOperation",
1093 "fullName": "google.longrunning.Operations.GetOperation",
1094 "service": {
1095 "shortName": "Operations",
1096 "fullName": "google.longrunning.Operations"
1097 }
1098 }
1099 },
1100 "origin": "API_DEFINITION",
1101 "segments": [
1102 {
1103 "start": 18,
1104 "end": 53,
1105 "type": "FULL"
1106 }
1107 ]
1108 },
1109 {
1110 "regionTag": "apihub_v1_generated_ApiHub_GetSpec_sync",
1111 "title": "apihub GetSpec Sample",
1112 "description": "GetSpec get details about the information parsed from a spec.\nNote that this method does not return the raw spec contents.\nUse [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method\nto retrieve the same.",
1113 "file": "Client/GetSpec/main.go",
1114 "language": "GO",
1115 "clientMethod": {
1116 "shortName": "GetSpec",
1117 "fullName": "google.cloud.apihub.v1.Client.GetSpec",
1118 "parameters": [
1119 {
1120 "type": "context.Context",
1121 "name": "ctx"
1122 },
1123 {
1124 "type": "apihubpb.GetSpecRequest",
1125 "name": "req"
1126 },
1127 {
1128 "type": "...gax.CallOption",
1129 "name": "opts"
1130 }
1131 ],
1132 "resultType": "*apihubpb.Spec",
1133 "client": {
1134 "shortName": "Client",
1135 "fullName": "google.cloud.apihub.v1.Client"
1136 },
1137 "method": {
1138 "shortName": "GetSpec",
1139 "fullName": "google.cloud.apihub.v1.ApiHub.GetSpec",
1140 "service": {
1141 "shortName": "ApiHub",
1142 "fullName": "google.cloud.apihub.v1.ApiHub"
1143 }
1144 }
1145 },
1146 "origin": "API_DEFINITION",
1147 "segments": [
1148 {
1149 "start": 18,
1150 "end": 53,
1151 "type": "FULL"
1152 }
1153 ]
1154 },
1155 {
1156 "regionTag": "apihub_v1_generated_ApiHub_GetSpecContents_sync",
1157 "title": "apihub GetSpecContents Sample",
1158 "description": "GetSpecContents get spec contents.",
1159 "file": "Client/GetSpecContents/main.go",
1160 "language": "GO",
1161 "clientMethod": {
1162 "shortName": "GetSpecContents",
1163 "fullName": "google.cloud.apihub.v1.Client.GetSpecContents",
1164 "parameters": [
1165 {
1166 "type": "context.Context",
1167 "name": "ctx"
1168 },
1169 {
1170 "type": "apihubpb.GetSpecContentsRequest",
1171 "name": "req"
1172 },
1173 {
1174 "type": "...gax.CallOption",
1175 "name": "opts"
1176 }
1177 ],
1178 "resultType": "*apihubpb.SpecContents",
1179 "client": {
1180 "shortName": "Client",
1181 "fullName": "google.cloud.apihub.v1.Client"
1182 },
1183 "method": {
1184 "shortName": "GetSpecContents",
1185 "fullName": "google.cloud.apihub.v1.ApiHub.GetSpecContents",
1186 "service": {
1187 "shortName": "ApiHub",
1188 "fullName": "google.cloud.apihub.v1.ApiHub"
1189 }
1190 }
1191 },
1192 "origin": "API_DEFINITION",
1193 "segments": [
1194 {
1195 "start": 18,
1196 "end": 53,
1197 "type": "FULL"
1198 }
1199 ]
1200 },
1201 {
1202 "regionTag": "apihub_v1_generated_ApiHub_GetVersion_sync",
1203 "title": "apihub GetVersion Sample",
1204 "description": "GetVersion get details about the API version of an API resource. This will include\ninformation about the specs and operations present in the API\nversion as well as the deployments linked to it.",
1205 "file": "Client/GetVersion/main.go",
1206 "language": "GO",
1207 "clientMethod": {
1208 "shortName": "GetVersion",
1209 "fullName": "google.cloud.apihub.v1.Client.GetVersion",
1210 "parameters": [
1211 {
1212 "type": "context.Context",
1213 "name": "ctx"
1214 },
1215 {
1216 "type": "apihubpb.GetVersionRequest",
1217 "name": "req"
1218 },
1219 {
1220 "type": "...gax.CallOption",
1221 "name": "opts"
1222 }
1223 ],
1224 "resultType": "*apihubpb.Version",
1225 "client": {
1226 "shortName": "Client",
1227 "fullName": "google.cloud.apihub.v1.Client"
1228 },
1229 "method": {
1230 "shortName": "GetVersion",
1231 "fullName": "google.cloud.apihub.v1.ApiHub.GetVersion",
1232 "service": {
1233 "shortName": "ApiHub",
1234 "fullName": "google.cloud.apihub.v1.ApiHub"
1235 }
1236 }
1237 },
1238 "origin": "API_DEFINITION",
1239 "segments": [
1240 {
1241 "start": 18,
1242 "end": 53,
1243 "type": "FULL"
1244 }
1245 ]
1246 },
1247 {
1248 "regionTag": "apihub_v1_generated_ApiHub_ListApiOperations_sync",
1249 "title": "apihub ListApiOperations Sample",
1250 "description": "ListApiOperations list operations in an API version.",
1251 "file": "Client/ListApiOperations/main.go",
1252 "language": "GO",
1253 "clientMethod": {
1254 "shortName": "ListApiOperations",
1255 "fullName": "google.cloud.apihub.v1.Client.ListApiOperations",
1256 "parameters": [
1257 {
1258 "type": "context.Context",
1259 "name": "ctx"
1260 },
1261 {
1262 "type": "apihubpb.ListApiOperationsRequest",
1263 "name": "req"
1264 },
1265 {
1266 "type": "...gax.CallOption",
1267 "name": "opts"
1268 }
1269 ],
1270 "resultType": "ApiOperationIterator",
1271 "client": {
1272 "shortName": "Client",
1273 "fullName": "google.cloud.apihub.v1.Client"
1274 },
1275 "method": {
1276 "shortName": "ListApiOperations",
1277 "fullName": "google.cloud.apihub.v1.ApiHub.ListApiOperations",
1278 "service": {
1279 "shortName": "ApiHub",
1280 "fullName": "google.cloud.apihub.v1.ApiHub"
1281 }
1282 }
1283 },
1284 "origin": "API_DEFINITION",
1285 "segments": [
1286 {
1287 "start": 18,
1288 "end": 66,
1289 "type": "FULL"
1290 }
1291 ]
1292 },
1293 {
1294 "regionTag": "apihub_v1_generated_ApiHub_ListApis_sync",
1295 "title": "apihub ListApis Sample",
1296 "description": "ListApis list API resources in the API hub.",
1297 "file": "Client/ListApis/main.go",
1298 "language": "GO",
1299 "clientMethod": {
1300 "shortName": "ListApis",
1301 "fullName": "google.cloud.apihub.v1.Client.ListApis",
1302 "parameters": [
1303 {
1304 "type": "context.Context",
1305 "name": "ctx"
1306 },
1307 {
1308 "type": "apihubpb.ListApisRequest",
1309 "name": "req"
1310 },
1311 {
1312 "type": "...gax.CallOption",
1313 "name": "opts"
1314 }
1315 ],
1316 "resultType": "ApiIterator",
1317 "client": {
1318 "shortName": "Client",
1319 "fullName": "google.cloud.apihub.v1.Client"
1320 },
1321 "method": {
1322 "shortName": "ListApis",
1323 "fullName": "google.cloud.apihub.v1.ApiHub.ListApis",
1324 "service": {
1325 "shortName": "ApiHub",
1326 "fullName": "google.cloud.apihub.v1.ApiHub"
1327 }
1328 }
1329 },
1330 "origin": "API_DEFINITION",
1331 "segments": [
1332 {
1333 "start": 18,
1334 "end": 66,
1335 "type": "FULL"
1336 }
1337 ]
1338 },
1339 {
1340 "regionTag": "apihub_v1_generated_ApiHub_ListAttributes_sync",
1341 "title": "apihub ListAttributes Sample",
1342 "description": "ListAttributes list all attributes.",
1343 "file": "Client/ListAttributes/main.go",
1344 "language": "GO",
1345 "clientMethod": {
1346 "shortName": "ListAttributes",
1347 "fullName": "google.cloud.apihub.v1.Client.ListAttributes",
1348 "parameters": [
1349 {
1350 "type": "context.Context",
1351 "name": "ctx"
1352 },
1353 {
1354 "type": "apihubpb.ListAttributesRequest",
1355 "name": "req"
1356 },
1357 {
1358 "type": "...gax.CallOption",
1359 "name": "opts"
1360 }
1361 ],
1362 "resultType": "AttributeIterator",
1363 "client": {
1364 "shortName": "Client",
1365 "fullName": "google.cloud.apihub.v1.Client"
1366 },
1367 "method": {
1368 "shortName": "ListAttributes",
1369 "fullName": "google.cloud.apihub.v1.ApiHub.ListAttributes",
1370 "service": {
1371 "shortName": "ApiHub",
1372 "fullName": "google.cloud.apihub.v1.ApiHub"
1373 }
1374 }
1375 },
1376 "origin": "API_DEFINITION",
1377 "segments": [
1378 {
1379 "start": 18,
1380 "end": 66,
1381 "type": "FULL"
1382 }
1383 ]
1384 },
1385 {
1386 "regionTag": "apihub_v1_generated_ApiHub_ListDeployments_sync",
1387 "title": "apihub ListDeployments Sample",
1388 "description": "ListDeployments list deployment resources in the API hub.",
1389 "file": "Client/ListDeployments/main.go",
1390 "language": "GO",
1391 "clientMethod": {
1392 "shortName": "ListDeployments",
1393 "fullName": "google.cloud.apihub.v1.Client.ListDeployments",
1394 "parameters": [
1395 {
1396 "type": "context.Context",
1397 "name": "ctx"
1398 },
1399 {
1400 "type": "apihubpb.ListDeploymentsRequest",
1401 "name": "req"
1402 },
1403 {
1404 "type": "...gax.CallOption",
1405 "name": "opts"
1406 }
1407 ],
1408 "resultType": "DeploymentIterator",
1409 "client": {
1410 "shortName": "Client",
1411 "fullName": "google.cloud.apihub.v1.Client"
1412 },
1413 "method": {
1414 "shortName": "ListDeployments",
1415 "fullName": "google.cloud.apihub.v1.ApiHub.ListDeployments",
1416 "service": {
1417 "shortName": "ApiHub",
1418 "fullName": "google.cloud.apihub.v1.ApiHub"
1419 }
1420 }
1421 },
1422 "origin": "API_DEFINITION",
1423 "segments": [
1424 {
1425 "start": 18,
1426 "end": 66,
1427 "type": "FULL"
1428 }
1429 ]
1430 },
1431 {
1432 "regionTag": "apihub_v1_generated_ApiHub_ListExternalApis_sync",
1433 "title": "apihub ListExternalApis Sample",
1434 "description": "ListExternalApis list External API resources in the API hub.",
1435 "file": "Client/ListExternalApis/main.go",
1436 "language": "GO",
1437 "clientMethod": {
1438 "shortName": "ListExternalApis",
1439 "fullName": "google.cloud.apihub.v1.Client.ListExternalApis",
1440 "parameters": [
1441 {
1442 "type": "context.Context",
1443 "name": "ctx"
1444 },
1445 {
1446 "type": "apihubpb.ListExternalApisRequest",
1447 "name": "req"
1448 },
1449 {
1450 "type": "...gax.CallOption",
1451 "name": "opts"
1452 }
1453 ],
1454 "resultType": "ExternalApiIterator",
1455 "client": {
1456 "shortName": "Client",
1457 "fullName": "google.cloud.apihub.v1.Client"
1458 },
1459 "method": {
1460 "shortName": "ListExternalApis",
1461 "fullName": "google.cloud.apihub.v1.ApiHub.ListExternalApis",
1462 "service": {
1463 "shortName": "ApiHub",
1464 "fullName": "google.cloud.apihub.v1.ApiHub"
1465 }
1466 }
1467 },
1468 "origin": "API_DEFINITION",
1469 "segments": [
1470 {
1471 "start": 18,
1472 "end": 66,
1473 "type": "FULL"
1474 }
1475 ]
1476 },
1477 {
1478 "regionTag": "apihub_v1_generated_ApiHub_ListLocations_sync",
1479 "title": "apihub ListLocations Sample",
1480 "description": "ListLocations lists information about the supported locations for this service.",
1481 "file": "Client/ListLocations/main.go",
1482 "language": "GO",
1483 "clientMethod": {
1484 "shortName": "ListLocations",
1485 "fullName": "google.cloud.apihub.v1.Client.ListLocations",
1486 "parameters": [
1487 {
1488 "type": "context.Context",
1489 "name": "ctx"
1490 },
1491 {
1492 "type": "locationpb.ListLocationsRequest",
1493 "name": "req"
1494 },
1495 {
1496 "type": "...gax.CallOption",
1497 "name": "opts"
1498 }
1499 ],
1500 "resultType": "LocationIterator",
1501 "client": {
1502 "shortName": "Client",
1503 "fullName": "google.cloud.apihub.v1.Client"
1504 },
1505 "method": {
1506 "shortName": "ListLocations",
1507 "fullName": "google.cloud.location.Locations.ListLocations",
1508 "service": {
1509 "shortName": "Locations",
1510 "fullName": "google.cloud.location.Locations"
1511 }
1512 }
1513 },
1514 "origin": "API_DEFINITION",
1515 "segments": [
1516 {
1517 "start": 18,
1518 "end": 66,
1519 "type": "FULL"
1520 }
1521 ]
1522 },
1523 {
1524 "regionTag": "apihub_v1_generated_ApiHub_ListOperations_sync",
1525 "title": "apihub ListOperations Sample",
1526 "description": "ListOperations is a utility method from google.longrunning.Operations.",
1527 "file": "Client/ListOperations/main.go",
1528 "language": "GO",
1529 "clientMethod": {
1530 "shortName": "ListOperations",
1531 "fullName": "google.cloud.apihub.v1.Client.ListOperations",
1532 "parameters": [
1533 {
1534 "type": "context.Context",
1535 "name": "ctx"
1536 },
1537 {
1538 "type": "longrunningpb.ListOperationsRequest",
1539 "name": "req"
1540 },
1541 {
1542 "type": "...gax.CallOption",
1543 "name": "opts"
1544 }
1545 ],
1546 "resultType": "OperationIterator",
1547 "client": {
1548 "shortName": "Client",
1549 "fullName": "google.cloud.apihub.v1.Client"
1550 },
1551 "method": {
1552 "shortName": "ListOperations",
1553 "fullName": "google.longrunning.Operations.ListOperations",
1554 "service": {
1555 "shortName": "Operations",
1556 "fullName": "google.longrunning.Operations"
1557 }
1558 }
1559 },
1560 "origin": "API_DEFINITION",
1561 "segments": [
1562 {
1563 "start": 18,
1564 "end": 66,
1565 "type": "FULL"
1566 }
1567 ]
1568 },
1569 {
1570 "regionTag": "apihub_v1_generated_ApiHub_ListSpecs_sync",
1571 "title": "apihub ListSpecs Sample",
1572 "description": "ListSpecs list specs corresponding to a particular API resource.",
1573 "file": "Client/ListSpecs/main.go",
1574 "language": "GO",
1575 "clientMethod": {
1576 "shortName": "ListSpecs",
1577 "fullName": "google.cloud.apihub.v1.Client.ListSpecs",
1578 "parameters": [
1579 {
1580 "type": "context.Context",
1581 "name": "ctx"
1582 },
1583 {
1584 "type": "apihubpb.ListSpecsRequest",
1585 "name": "req"
1586 },
1587 {
1588 "type": "...gax.CallOption",
1589 "name": "opts"
1590 }
1591 ],
1592 "resultType": "SpecIterator",
1593 "client": {
1594 "shortName": "Client",
1595 "fullName": "google.cloud.apihub.v1.Client"
1596 },
1597 "method": {
1598 "shortName": "ListSpecs",
1599 "fullName": "google.cloud.apihub.v1.ApiHub.ListSpecs",
1600 "service": {
1601 "shortName": "ApiHub",
1602 "fullName": "google.cloud.apihub.v1.ApiHub"
1603 }
1604 }
1605 },
1606 "origin": "API_DEFINITION",
1607 "segments": [
1608 {
1609 "start": 18,
1610 "end": 66,
1611 "type": "FULL"
1612 }
1613 ]
1614 },
1615 {
1616 "regionTag": "apihub_v1_generated_ApiHub_ListVersions_sync",
1617 "title": "apihub ListVersions Sample",
1618 "description": "ListVersions list API versions of an API resource in the API hub.",
1619 "file": "Client/ListVersions/main.go",
1620 "language": "GO",
1621 "clientMethod": {
1622 "shortName": "ListVersions",
1623 "fullName": "google.cloud.apihub.v1.Client.ListVersions",
1624 "parameters": [
1625 {
1626 "type": "context.Context",
1627 "name": "ctx"
1628 },
1629 {
1630 "type": "apihubpb.ListVersionsRequest",
1631 "name": "req"
1632 },
1633 {
1634 "type": "...gax.CallOption",
1635 "name": "opts"
1636 }
1637 ],
1638 "resultType": "VersionIterator",
1639 "client": {
1640 "shortName": "Client",
1641 "fullName": "google.cloud.apihub.v1.Client"
1642 },
1643 "method": {
1644 "shortName": "ListVersions",
1645 "fullName": "google.cloud.apihub.v1.ApiHub.ListVersions",
1646 "service": {
1647 "shortName": "ApiHub",
1648 "fullName": "google.cloud.apihub.v1.ApiHub"
1649 }
1650 }
1651 },
1652 "origin": "API_DEFINITION",
1653 "segments": [
1654 {
1655 "start": 18,
1656 "end": 66,
1657 "type": "FULL"
1658 }
1659 ]
1660 },
1661 {
1662 "regionTag": "apihub_v1_generated_ApiHub_SearchResources_sync",
1663 "title": "apihub SearchResources Sample",
1664 "description": "SearchResources search across API-Hub resources.",
1665 "file": "Client/SearchResources/main.go",
1666 "language": "GO",
1667 "clientMethod": {
1668 "shortName": "SearchResources",
1669 "fullName": "google.cloud.apihub.v1.Client.SearchResources",
1670 "parameters": [
1671 {
1672 "type": "context.Context",
1673 "name": "ctx"
1674 },
1675 {
1676 "type": "apihubpb.SearchResourcesRequest",
1677 "name": "req"
1678 },
1679 {
1680 "type": "...gax.CallOption",
1681 "name": "opts"
1682 }
1683 ],
1684 "resultType": "SearchResultIterator",
1685 "client": {
1686 "shortName": "Client",
1687 "fullName": "google.cloud.apihub.v1.Client"
1688 },
1689 "method": {
1690 "shortName": "SearchResources",
1691 "fullName": "google.cloud.apihub.v1.ApiHub.SearchResources",
1692 "service": {
1693 "shortName": "ApiHub",
1694 "fullName": "google.cloud.apihub.v1.ApiHub"
1695 }
1696 }
1697 },
1698 "origin": "API_DEFINITION",
1699 "segments": [
1700 {
1701 "start": 18,
1702 "end": 66,
1703 "type": "FULL"
1704 }
1705 ]
1706 },
1707 {
1708 "regionTag": "apihub_v1_generated_ApiHub_UpdateApi_sync",
1709 "title": "apihub UpdateApi Sample",
1710 "description": "UpdateApi update an API resource in the API hub. The following fields in the\n[API][google.cloud.apihub.v1.Api] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Api.display_name]\n* [description][google.cloud.apihub.v1.Api.description]\n* [owner][google.cloud.apihub.v1.Api.owner]\n* [documentation][google.cloud.apihub.v1.Api.documentation]\n* [target_user][google.cloud.apihub.v1.Api.target_user]\n* [team][google.cloud.apihub.v1.Api.team]\n* [business_unit][google.cloud.apihub.v1.Api.business_unit]\n* [maturity_level][google.cloud.apihub.v1.Api.maturity_level]\n* [api_style][google.cloud.apihub.v1.Api.api_style]\n* [attributes][google.cloud.apihub.v1.Api.attributes]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]\nshould be used to specify the fields being updated.\n\nUpdating the owner field requires complete owner message\nand updates both owner and email fields.",
1711 "file": "Client/UpdateApi/main.go",
1712 "language": "GO",
1713 "clientMethod": {
1714 "shortName": "UpdateApi",
1715 "fullName": "google.cloud.apihub.v1.Client.UpdateApi",
1716 "parameters": [
1717 {
1718 "type": "context.Context",
1719 "name": "ctx"
1720 },
1721 {
1722 "type": "apihubpb.UpdateApiRequest",
1723 "name": "req"
1724 },
1725 {
1726 "type": "...gax.CallOption",
1727 "name": "opts"
1728 }
1729 ],
1730 "resultType": "*apihubpb.Api",
1731 "client": {
1732 "shortName": "Client",
1733 "fullName": "google.cloud.apihub.v1.Client"
1734 },
1735 "method": {
1736 "shortName": "UpdateApi",
1737 "fullName": "google.cloud.apihub.v1.ApiHub.UpdateApi",
1738 "service": {
1739 "shortName": "ApiHub",
1740 "fullName": "google.cloud.apihub.v1.ApiHub"
1741 }
1742 }
1743 },
1744 "origin": "API_DEFINITION",
1745 "segments": [
1746 {
1747 "start": 18,
1748 "end": 53,
1749 "type": "FULL"
1750 }
1751 ]
1752 },
1753 {
1754 "regionTag": "apihub_v1_generated_ApiHub_UpdateApiOperation_sync",
1755 "title": "apihub UpdateApiOperation Sample",
1756 "description": "UpdateApiOperation update an operation in an API version. The following fields in the\n[ApiOperation resource][google.cloud.apihub.v1.ApiOperation] can be\nupdated: \n\n* [details.description][ApiOperation.details.description]\n* [details.documentation][ApiOperation.details.documentation]\n* [details.http_operation.path][ApiOperation.details.http_operation.path.path]\n* [details.http_operation.method][ApiOperation.details.http_operation.method]\n* [details.deprecated][ApiOperation.details.deprecated]\n* [attributes][google.cloud.apihub.v1.ApiOperation.attributes]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateApiOperationRequest.update_mask]\nshould be used to specify the fields being updated.\n\nAn operation can be updated only if the operation was created via\n[CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.\nIf the operation was created by parsing the spec, then it can be edited by\nupdating the spec.",
1757 "file": "Client/UpdateApiOperation/main.go",
1758 "language": "GO",
1759 "clientMethod": {
1760 "shortName": "UpdateApiOperation",
1761 "fullName": "google.cloud.apihub.v1.Client.UpdateApiOperation",
1762 "parameters": [
1763 {
1764 "type": "context.Context",
1765 "name": "ctx"
1766 },
1767 {
1768 "type": "apihubpb.UpdateApiOperationRequest",
1769 "name": "req"
1770 },
1771 {
1772 "type": "...gax.CallOption",
1773 "name": "opts"
1774 }
1775 ],
1776 "resultType": "*apihubpb.ApiOperation",
1777 "client": {
1778 "shortName": "Client",
1779 "fullName": "google.cloud.apihub.v1.Client"
1780 },
1781 "method": {
1782 "shortName": "UpdateApiOperation",
1783 "fullName": "google.cloud.apihub.v1.ApiHub.UpdateApiOperation",
1784 "service": {
1785 "shortName": "ApiHub",
1786 "fullName": "google.cloud.apihub.v1.ApiHub"
1787 }
1788 }
1789 },
1790 "origin": "API_DEFINITION",
1791 "segments": [
1792 {
1793 "start": 18,
1794 "end": 53,
1795 "type": "FULL"
1796 }
1797 ]
1798 },
1799 {
1800 "regionTag": "apihub_v1_generated_ApiHub_UpdateAttribute_sync",
1801 "title": "apihub UpdateAttribute Sample",
1802 "description": "UpdateAttribute update the attribute. The following fields in the\n[Attribute resource][google.cloud.apihub.v1.Attribute] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Attribute.display_name]\nThe display name can be updated for user defined attributes only.\n* [description][google.cloud.apihub.v1.Attribute.description]\nThe description can be updated for user defined attributes only.\n* [allowed_values][google.cloud.apihub.v1.Attribute.allowed_values]\nTo update the list of allowed values, clients need to use the fetched list\nof allowed values and add or remove values to or from the same list.\nThe mutable allowed values can be updated for both user defined and System\ndefined attributes. The immutable allowed values cannot be updated or\ndeleted. The updated list of allowed values cannot be empty. If an allowed\nvalue that is already used by some resource's attribute is deleted, then\nthe association between the resource and the attribute value will also be\ndeleted.\n* [cardinality][google.cloud.apihub.v1.Attribute.cardinality]\nThe cardinality can be updated for user defined attributes only.\nCardinality can only be increased during an update.\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateAttributeRequest.update_mask]\nshould be used to specify the fields being updated.",
1803 "file": "Client/UpdateAttribute/main.go",
1804 "language": "GO",
1805 "clientMethod": {
1806 "shortName": "UpdateAttribute",
1807 "fullName": "google.cloud.apihub.v1.Client.UpdateAttribute",
1808 "parameters": [
1809 {
1810 "type": "context.Context",
1811 "name": "ctx"
1812 },
1813 {
1814 "type": "apihubpb.UpdateAttributeRequest",
1815 "name": "req"
1816 },
1817 {
1818 "type": "...gax.CallOption",
1819 "name": "opts"
1820 }
1821 ],
1822 "resultType": "*apihubpb.Attribute",
1823 "client": {
1824 "shortName": "Client",
1825 "fullName": "google.cloud.apihub.v1.Client"
1826 },
1827 "method": {
1828 "shortName": "UpdateAttribute",
1829 "fullName": "google.cloud.apihub.v1.ApiHub.UpdateAttribute",
1830 "service": {
1831 "shortName": "ApiHub",
1832 "fullName": "google.cloud.apihub.v1.ApiHub"
1833 }
1834 }
1835 },
1836 "origin": "API_DEFINITION",
1837 "segments": [
1838 {
1839 "start": 18,
1840 "end": 53,
1841 "type": "FULL"
1842 }
1843 ]
1844 },
1845 {
1846 "regionTag": "apihub_v1_generated_ApiHub_UpdateDeployment_sync",
1847 "title": "apihub UpdateDeployment Sample",
1848 "description": "UpdateDeployment update a deployment resource in the API hub. The following fields in the\n[deployment resource][google.cloud.apihub.v1.Deployment] can be\nupdated: \n\n* [display_name][google.cloud.apihub.v1.Deployment.display_name]\n* [description][google.cloud.apihub.v1.Deployment.description]\n* [documentation][google.cloud.apihub.v1.Deployment.documentation]\n* [deployment_type][google.cloud.apihub.v1.Deployment.deployment_type]\n* [resource_uri][google.cloud.apihub.v1.Deployment.resource_uri]\n* [endpoints][google.cloud.apihub.v1.Deployment.endpoints]\n* [slo][google.cloud.apihub.v1.Deployment.slo]\n* [environment][google.cloud.apihub.v1.Deployment.environment]\n* [attributes][google.cloud.apihub.v1.Deployment.attributes]\n* [source_project] [google.cloud.apihub.v1.Deployment.source_project]\n* [source_environment]\n[google.cloud.apihub.v1.Deployment.source_environment]\n* [management_url][google.cloud.apihub.v1.Deployment.management_url]\n* [source_uri][google.cloud.apihub.v1.Deployment.source_uri]\nThe\n[update_mask][google.cloud.apihub.v1.UpdateDeploymentRequest.update_mask]\nshould be used to specify the fields being updated.",
1849 "file": "Client/UpdateDeployment/main.go",
1850 "language": "GO",
1851 "clientMethod": {
1852 "shortName": "UpdateDeployment",
1853 "fullName": "google.cloud.apihub.v1.Client.UpdateDeployment",
1854 "parameters": [
1855 {
1856 "type": "context.Context",
1857 "name": "ctx"
1858 },
1859 {
1860 "type": "apihubpb.UpdateDeploymentRequest",
1861 "name": "req"
1862 },
1863 {
1864 "type": "...gax.CallOption",
1865 "name": "opts"
1866 }
1867 ],
1868 "resultType": "*apihubpb.Deployment",
1869 "client": {
1870 "shortName": "Client",
1871 "fullName": "google.cloud.apihub.v1.Client"
1872 },
1873 "method": {
1874 "shortName": "UpdateDeployment",
1875 "fullName": "google.cloud.apihub.v1.ApiHub.UpdateDeployment",
1876 "service": {
1877 "shortName": "ApiHub",
1878 "fullName": "google.cloud.apihub.v1.ApiHub"
1879 }
1880 }
1881 },
1882 "origin": "API_DEFINITION",
1883 "segments": [
1884 {
1885 "start": 18,
1886 "end": 53,
1887 "type": "FULL"
1888 }
1889 ]
1890 },
1891 {
1892 "regionTag": "apihub_v1_generated_ApiHub_UpdateExternalApi_sync",
1893 "title": "apihub UpdateExternalApi Sample",
1894 "description": "UpdateExternalApi update an External API resource in the API hub. The following fields can be\nupdated: \n\n* [display_name][google.cloud.apihub.v1.ExternalApi.display_name]\n* [description][google.cloud.apihub.v1.ExternalApi.description]\n* [documentation][google.cloud.apihub.v1.ExternalApi.documentation]\n* [endpoints][google.cloud.apihub.v1.ExternalApi.endpoints]\n* [paths][google.cloud.apihub.v1.ExternalApi.paths]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateExternalApiRequest.update_mask]\nshould be used to specify the fields being updated.",
1895 "file": "Client/UpdateExternalApi/main.go",
1896 "language": "GO",
1897 "clientMethod": {
1898 "shortName": "UpdateExternalApi",
1899 "fullName": "google.cloud.apihub.v1.Client.UpdateExternalApi",
1900 "parameters": [
1901 {
1902 "type": "context.Context",
1903 "name": "ctx"
1904 },
1905 {
1906 "type": "apihubpb.UpdateExternalApiRequest",
1907 "name": "req"
1908 },
1909 {
1910 "type": "...gax.CallOption",
1911 "name": "opts"
1912 }
1913 ],
1914 "resultType": "*apihubpb.ExternalApi",
1915 "client": {
1916 "shortName": "Client",
1917 "fullName": "google.cloud.apihub.v1.Client"
1918 },
1919 "method": {
1920 "shortName": "UpdateExternalApi",
1921 "fullName": "google.cloud.apihub.v1.ApiHub.UpdateExternalApi",
1922 "service": {
1923 "shortName": "ApiHub",
1924 "fullName": "google.cloud.apihub.v1.ApiHub"
1925 }
1926 }
1927 },
1928 "origin": "API_DEFINITION",
1929 "segments": [
1930 {
1931 "start": 18,
1932 "end": 53,
1933 "type": "FULL"
1934 }
1935 ]
1936 },
1937 {
1938 "regionTag": "apihub_v1_generated_ApiHub_UpdateSpec_sync",
1939 "title": "apihub UpdateSpec Sample",
1940 "description": "UpdateSpec update spec. The following fields in the\n[spec][google.cloud.apihub.v1.Spec] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Spec.display_name]\n* [source_uri][google.cloud.apihub.v1.Spec.source_uri]\n* [lint_response][google.cloud.apihub.v1.Spec.lint_response]\n* [attributes][google.cloud.apihub.v1.Spec.attributes]\n* [contents][google.cloud.apihub.v1.Spec.contents]\n* [spec_type][google.cloud.apihub.v1.Spec.spec_type]\n\nIn case of an OAS spec, updating spec contents can lead to: \n1. Creation, deletion and update of operations.\n2. Creation, deletion and update of definitions.\n3. Update of other info parsed out from the new spec.\n\nIn case of contents or source_uri being present in update mask, spec_type\nmust also be present. Also, spec_type can not be present in update mask if\ncontents or source_uri is not present.\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateSpecRequest.update_mask]\nshould be used to specify the fields being updated.",
1941 "file": "Client/UpdateSpec/main.go",
1942 "language": "GO",
1943 "clientMethod": {
1944 "shortName": "UpdateSpec",
1945 "fullName": "google.cloud.apihub.v1.Client.UpdateSpec",
1946 "parameters": [
1947 {
1948 "type": "context.Context",
1949 "name": "ctx"
1950 },
1951 {
1952 "type": "apihubpb.UpdateSpecRequest",
1953 "name": "req"
1954 },
1955 {
1956 "type": "...gax.CallOption",
1957 "name": "opts"
1958 }
1959 ],
1960 "resultType": "*apihubpb.Spec",
1961 "client": {
1962 "shortName": "Client",
1963 "fullName": "google.cloud.apihub.v1.Client"
1964 },
1965 "method": {
1966 "shortName": "UpdateSpec",
1967 "fullName": "google.cloud.apihub.v1.ApiHub.UpdateSpec",
1968 "service": {
1969 "shortName": "ApiHub",
1970 "fullName": "google.cloud.apihub.v1.ApiHub"
1971 }
1972 }
1973 },
1974 "origin": "API_DEFINITION",
1975 "segments": [
1976 {
1977 "start": 18,
1978 "end": 53,
1979 "type": "FULL"
1980 }
1981 ]
1982 },
1983 {
1984 "regionTag": "apihub_v1_generated_ApiHub_UpdateVersion_sync",
1985 "title": "apihub UpdateVersion Sample",
1986 "description": "UpdateVersion update API version. The following fields in the\n[version][google.cloud.apihub.v1.Version] can be updated currently: \n\n* [display_name][google.cloud.apihub.v1.Version.display_name]\n* [description][google.cloud.apihub.v1.Version.description]\n* [documentation][google.cloud.apihub.v1.Version.documentation]\n* [deployments][google.cloud.apihub.v1.Version.deployments]\n* [lifecycle][google.cloud.apihub.v1.Version.lifecycle]\n* [compliance][google.cloud.apihub.v1.Version.compliance]\n* [accreditation][google.cloud.apihub.v1.Version.accreditation]\n* [attributes][google.cloud.apihub.v1.Version.attributes]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateVersionRequest.update_mask]\nshould be used to specify the fields being updated.",
1987 "file": "Client/UpdateVersion/main.go",
1988 "language": "GO",
1989 "clientMethod": {
1990 "shortName": "UpdateVersion",
1991 "fullName": "google.cloud.apihub.v1.Client.UpdateVersion",
1992 "parameters": [
1993 {
1994 "type": "context.Context",
1995 "name": "ctx"
1996 },
1997 {
1998 "type": "apihubpb.UpdateVersionRequest",
1999 "name": "req"
2000 },
2001 {
2002 "type": "...gax.CallOption",
2003 "name": "opts"
2004 }
2005 ],
2006 "resultType": "*apihubpb.Version",
2007 "client": {
2008 "shortName": "Client",
2009 "fullName": "google.cloud.apihub.v1.Client"
2010 },
2011 "method": {
2012 "shortName": "UpdateVersion",
2013 "fullName": "google.cloud.apihub.v1.ApiHub.UpdateVersion",
2014 "service": {
2015 "shortName": "ApiHub",
2016 "fullName": "google.cloud.apihub.v1.ApiHub"
2017 }
2018 }
2019 },
2020 "origin": "API_DEFINITION",
2021 "segments": [
2022 {
2023 "start": 18,
2024 "end": 53,
2025 "type": "FULL"
2026 }
2027 ]
2028 },
2029 {
2030 "regionTag": "apihub_v1_generated_ApiHubCollect_CancelOperation_sync",
2031 "title": "apihub CancelOperation Sample",
2032 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
2033 "file": "ApiHubCollectClient/CancelOperation/main.go",
2034 "language": "GO",
2035 "clientMethod": {
2036 "shortName": "CancelOperation",
2037 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.CancelOperation",
2038 "parameters": [
2039 {
2040 "type": "context.Context",
2041 "name": "ctx"
2042 },
2043 {
2044 "type": "longrunningpb.CancelOperationRequest",
2045 "name": "req"
2046 },
2047 {
2048 "type": "...gax.CallOption",
2049 "name": "opts"
2050 }
2051 ],
2052 "client": {
2053 "shortName": "ApiHubCollectClient",
2054 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient"
2055 },
2056 "method": {
2057 "shortName": "CancelOperation",
2058 "fullName": "google.longrunning.Operations.CancelOperation",
2059 "service": {
2060 "shortName": "Operations",
2061 "fullName": "google.longrunning.Operations"
2062 }
2063 }
2064 },
2065 "origin": "API_DEFINITION",
2066 "segments": [
2067 {
2068 "start": 18,
2069 "end": 51,
2070 "type": "FULL"
2071 }
2072 ]
2073 },
2074 {
2075 "regionTag": "apihub_v1_generated_ApiHubCollect_CollectApiData_sync",
2076 "title": "apihub CollectApiData Sample",
2077 "description": "CollectApiData collect API data from a source and push it to Hub's collect layer.",
2078 "file": "ApiHubCollectClient/CollectApiData/main.go",
2079 "language": "GO",
2080 "clientMethod": {
2081 "shortName": "CollectApiData",
2082 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.CollectApiData",
2083 "parameters": [
2084 {
2085 "type": "context.Context",
2086 "name": "ctx"
2087 },
2088 {
2089 "type": "apihubpb.CollectApiDataRequest",
2090 "name": "req"
2091 },
2092 {
2093 "type": "...gax.CallOption",
2094 "name": "opts"
2095 }
2096 ],
2097 "resultType": "CollectApiDataOperation",
2098 "client": {
2099 "shortName": "ApiHubCollectClient",
2100 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient"
2101 },
2102 "method": {
2103 "shortName": "CollectApiData",
2104 "fullName": "google.cloud.apihub.v1.ApiHubCollect.CollectApiData",
2105 "service": {
2106 "shortName": "ApiHubCollect",
2107 "fullName": "google.cloud.apihub.v1.ApiHubCollect"
2108 }
2109 }
2110 },
2111 "origin": "API_DEFINITION",
2112 "segments": [
2113 {
2114 "start": 18,
2115 "end": 58,
2116 "type": "FULL"
2117 }
2118 ]
2119 },
2120 {
2121 "regionTag": "apihub_v1_generated_ApiHubCollect_DeleteOperation_sync",
2122 "title": "apihub DeleteOperation Sample",
2123 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
2124 "file": "ApiHubCollectClient/DeleteOperation/main.go",
2125 "language": "GO",
2126 "clientMethod": {
2127 "shortName": "DeleteOperation",
2128 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.DeleteOperation",
2129 "parameters": [
2130 {
2131 "type": "context.Context",
2132 "name": "ctx"
2133 },
2134 {
2135 "type": "longrunningpb.DeleteOperationRequest",
2136 "name": "req"
2137 },
2138 {
2139 "type": "...gax.CallOption",
2140 "name": "opts"
2141 }
2142 ],
2143 "client": {
2144 "shortName": "ApiHubCollectClient",
2145 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient"
2146 },
2147 "method": {
2148 "shortName": "DeleteOperation",
2149 "fullName": "google.longrunning.Operations.DeleteOperation",
2150 "service": {
2151 "shortName": "Operations",
2152 "fullName": "google.longrunning.Operations"
2153 }
2154 }
2155 },
2156 "origin": "API_DEFINITION",
2157 "segments": [
2158 {
2159 "start": 18,
2160 "end": 51,
2161 "type": "FULL"
2162 }
2163 ]
2164 },
2165 {
2166 "regionTag": "apihub_v1_generated_ApiHubCollect_GetLocation_sync",
2167 "title": "apihub GetLocation Sample",
2168 "description": "GetLocation gets information about a location.",
2169 "file": "ApiHubCollectClient/GetLocation/main.go",
2170 "language": "GO",
2171 "clientMethod": {
2172 "shortName": "GetLocation",
2173 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.GetLocation",
2174 "parameters": [
2175 {
2176 "type": "context.Context",
2177 "name": "ctx"
2178 },
2179 {
2180 "type": "locationpb.GetLocationRequest",
2181 "name": "req"
2182 },
2183 {
2184 "type": "...gax.CallOption",
2185 "name": "opts"
2186 }
2187 ],
2188 "resultType": "*locationpb.Location",
2189 "client": {
2190 "shortName": "ApiHubCollectClient",
2191 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient"
2192 },
2193 "method": {
2194 "shortName": "GetLocation",
2195 "fullName": "google.cloud.location.Locations.GetLocation",
2196 "service": {
2197 "shortName": "Locations",
2198 "fullName": "google.cloud.location.Locations"
2199 }
2200 }
2201 },
2202 "origin": "API_DEFINITION",
2203 "segments": [
2204 {
2205 "start": 18,
2206 "end": 53,
2207 "type": "FULL"
2208 }
2209 ]
2210 },
2211 {
2212 "regionTag": "apihub_v1_generated_ApiHubCollect_GetOperation_sync",
2213 "title": "apihub GetOperation Sample",
2214 "description": "GetOperation is a utility method from google.longrunning.Operations.",
2215 "file": "ApiHubCollectClient/GetOperation/main.go",
2216 "language": "GO",
2217 "clientMethod": {
2218 "shortName": "GetOperation",
2219 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.GetOperation",
2220 "parameters": [
2221 {
2222 "type": "context.Context",
2223 "name": "ctx"
2224 },
2225 {
2226 "type": "longrunningpb.GetOperationRequest",
2227 "name": "req"
2228 },
2229 {
2230 "type": "...gax.CallOption",
2231 "name": "opts"
2232 }
2233 ],
2234 "resultType": "*longrunningpb.Operation",
2235 "client": {
2236 "shortName": "ApiHubCollectClient",
2237 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient"
2238 },
2239 "method": {
2240 "shortName": "GetOperation",
2241 "fullName": "google.longrunning.Operations.GetOperation",
2242 "service": {
2243 "shortName": "Operations",
2244 "fullName": "google.longrunning.Operations"
2245 }
2246 }
2247 },
2248 "origin": "API_DEFINITION",
2249 "segments": [
2250 {
2251 "start": 18,
2252 "end": 53,
2253 "type": "FULL"
2254 }
2255 ]
2256 },
2257 {
2258 "regionTag": "apihub_v1_generated_ApiHubCollect_ListLocations_sync",
2259 "title": "apihub ListLocations Sample",
2260 "description": "ListLocations lists information about the supported locations for this service.",
2261 "file": "ApiHubCollectClient/ListLocations/main.go",
2262 "language": "GO",
2263 "clientMethod": {
2264 "shortName": "ListLocations",
2265 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.ListLocations",
2266 "parameters": [
2267 {
2268 "type": "context.Context",
2269 "name": "ctx"
2270 },
2271 {
2272 "type": "locationpb.ListLocationsRequest",
2273 "name": "req"
2274 },
2275 {
2276 "type": "...gax.CallOption",
2277 "name": "opts"
2278 }
2279 ],
2280 "resultType": "LocationIterator",
2281 "client": {
2282 "shortName": "ApiHubCollectClient",
2283 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient"
2284 },
2285 "method": {
2286 "shortName": "ListLocations",
2287 "fullName": "google.cloud.location.Locations.ListLocations",
2288 "service": {
2289 "shortName": "Locations",
2290 "fullName": "google.cloud.location.Locations"
2291 }
2292 }
2293 },
2294 "origin": "API_DEFINITION",
2295 "segments": [
2296 {
2297 "start": 18,
2298 "end": 66,
2299 "type": "FULL"
2300 }
2301 ]
2302 },
2303 {
2304 "regionTag": "apihub_v1_generated_ApiHubCollect_ListOperations_sync",
2305 "title": "apihub ListOperations Sample",
2306 "description": "ListOperations is a utility method from google.longrunning.Operations.",
2307 "file": "ApiHubCollectClient/ListOperations/main.go",
2308 "language": "GO",
2309 "clientMethod": {
2310 "shortName": "ListOperations",
2311 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.ListOperations",
2312 "parameters": [
2313 {
2314 "type": "context.Context",
2315 "name": "ctx"
2316 },
2317 {
2318 "type": "longrunningpb.ListOperationsRequest",
2319 "name": "req"
2320 },
2321 {
2322 "type": "...gax.CallOption",
2323 "name": "opts"
2324 }
2325 ],
2326 "resultType": "OperationIterator",
2327 "client": {
2328 "shortName": "ApiHubCollectClient",
2329 "fullName": "google.cloud.apihub.v1.ApiHubCollectClient"
2330 },
2331 "method": {
2332 "shortName": "ListOperations",
2333 "fullName": "google.longrunning.Operations.ListOperations",
2334 "service": {
2335 "shortName": "Operations",
2336 "fullName": "google.longrunning.Operations"
2337 }
2338 }
2339 },
2340 "origin": "API_DEFINITION",
2341 "segments": [
2342 {
2343 "start": 18,
2344 "end": 66,
2345 "type": "FULL"
2346 }
2347 ]
2348 },
2349 {
2350 "regionTag": "apihub_v1_generated_ApiHubCurate_CancelOperation_sync",
2351 "title": "apihub CancelOperation Sample",
2352 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
2353 "file": "ApiHubCurateClient/CancelOperation/main.go",
2354 "language": "GO",
2355 "clientMethod": {
2356 "shortName": "CancelOperation",
2357 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.CancelOperation",
2358 "parameters": [
2359 {
2360 "type": "context.Context",
2361 "name": "ctx"
2362 },
2363 {
2364 "type": "longrunningpb.CancelOperationRequest",
2365 "name": "req"
2366 },
2367 {
2368 "type": "...gax.CallOption",
2369 "name": "opts"
2370 }
2371 ],
2372 "client": {
2373 "shortName": "ApiHubCurateClient",
2374 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2375 },
2376 "method": {
2377 "shortName": "CancelOperation",
2378 "fullName": "google.longrunning.Operations.CancelOperation",
2379 "service": {
2380 "shortName": "Operations",
2381 "fullName": "google.longrunning.Operations"
2382 }
2383 }
2384 },
2385 "origin": "API_DEFINITION",
2386 "segments": [
2387 {
2388 "start": 18,
2389 "end": 51,
2390 "type": "FULL"
2391 }
2392 ]
2393 },
2394 {
2395 "regionTag": "apihub_v1_generated_ApiHubCurate_CreateCuration_sync",
2396 "title": "apihub CreateCuration Sample",
2397 "description": "CreateCuration create a curation resource in the API hub.\nOnce a curation resource is created, plugin instances can start using it.",
2398 "file": "ApiHubCurateClient/CreateCuration/main.go",
2399 "language": "GO",
2400 "clientMethod": {
2401 "shortName": "CreateCuration",
2402 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.CreateCuration",
2403 "parameters": [
2404 {
2405 "type": "context.Context",
2406 "name": "ctx"
2407 },
2408 {
2409 "type": "apihubpb.CreateCurationRequest",
2410 "name": "req"
2411 },
2412 {
2413 "type": "...gax.CallOption",
2414 "name": "opts"
2415 }
2416 ],
2417 "resultType": "*apihubpb.Curation",
2418 "client": {
2419 "shortName": "ApiHubCurateClient",
2420 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2421 },
2422 "method": {
2423 "shortName": "CreateCuration",
2424 "fullName": "google.cloud.apihub.v1.ApiHubCurate.CreateCuration",
2425 "service": {
2426 "shortName": "ApiHubCurate",
2427 "fullName": "google.cloud.apihub.v1.ApiHubCurate"
2428 }
2429 }
2430 },
2431 "origin": "API_DEFINITION",
2432 "segments": [
2433 {
2434 "start": 18,
2435 "end": 53,
2436 "type": "FULL"
2437 }
2438 ]
2439 },
2440 {
2441 "regionTag": "apihub_v1_generated_ApiHubCurate_DeleteCuration_sync",
2442 "title": "apihub DeleteCuration Sample",
2443 "description": "DeleteCuration delete a curation resource in the API hub. A curation can only be deleted\nif it's not being used by any plugin instance.",
2444 "file": "ApiHubCurateClient/DeleteCuration/main.go",
2445 "language": "GO",
2446 "clientMethod": {
2447 "shortName": "DeleteCuration",
2448 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.DeleteCuration",
2449 "parameters": [
2450 {
2451 "type": "context.Context",
2452 "name": "ctx"
2453 },
2454 {
2455 "type": "apihubpb.DeleteCurationRequest",
2456 "name": "req"
2457 },
2458 {
2459 "type": "...gax.CallOption",
2460 "name": "opts"
2461 }
2462 ],
2463 "client": {
2464 "shortName": "ApiHubCurateClient",
2465 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2466 },
2467 "method": {
2468 "shortName": "DeleteCuration",
2469 "fullName": "google.cloud.apihub.v1.ApiHubCurate.DeleteCuration",
2470 "service": {
2471 "shortName": "ApiHubCurate",
2472 "fullName": "google.cloud.apihub.v1.ApiHubCurate"
2473 }
2474 }
2475 },
2476 "origin": "API_DEFINITION",
2477 "segments": [
2478 {
2479 "start": 18,
2480 "end": 51,
2481 "type": "FULL"
2482 }
2483 ]
2484 },
2485 {
2486 "regionTag": "apihub_v1_generated_ApiHubCurate_DeleteOperation_sync",
2487 "title": "apihub DeleteOperation Sample",
2488 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
2489 "file": "ApiHubCurateClient/DeleteOperation/main.go",
2490 "language": "GO",
2491 "clientMethod": {
2492 "shortName": "DeleteOperation",
2493 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.DeleteOperation",
2494 "parameters": [
2495 {
2496 "type": "context.Context",
2497 "name": "ctx"
2498 },
2499 {
2500 "type": "longrunningpb.DeleteOperationRequest",
2501 "name": "req"
2502 },
2503 {
2504 "type": "...gax.CallOption",
2505 "name": "opts"
2506 }
2507 ],
2508 "client": {
2509 "shortName": "ApiHubCurateClient",
2510 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2511 },
2512 "method": {
2513 "shortName": "DeleteOperation",
2514 "fullName": "google.longrunning.Operations.DeleteOperation",
2515 "service": {
2516 "shortName": "Operations",
2517 "fullName": "google.longrunning.Operations"
2518 }
2519 }
2520 },
2521 "origin": "API_DEFINITION",
2522 "segments": [
2523 {
2524 "start": 18,
2525 "end": 51,
2526 "type": "FULL"
2527 }
2528 ]
2529 },
2530 {
2531 "regionTag": "apihub_v1_generated_ApiHubCurate_GetCuration_sync",
2532 "title": "apihub GetCuration Sample",
2533 "description": "GetCuration get curation resource details.",
2534 "file": "ApiHubCurateClient/GetCuration/main.go",
2535 "language": "GO",
2536 "clientMethod": {
2537 "shortName": "GetCuration",
2538 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.GetCuration",
2539 "parameters": [
2540 {
2541 "type": "context.Context",
2542 "name": "ctx"
2543 },
2544 {
2545 "type": "apihubpb.GetCurationRequest",
2546 "name": "req"
2547 },
2548 {
2549 "type": "...gax.CallOption",
2550 "name": "opts"
2551 }
2552 ],
2553 "resultType": "*apihubpb.Curation",
2554 "client": {
2555 "shortName": "ApiHubCurateClient",
2556 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2557 },
2558 "method": {
2559 "shortName": "GetCuration",
2560 "fullName": "google.cloud.apihub.v1.ApiHubCurate.GetCuration",
2561 "service": {
2562 "shortName": "ApiHubCurate",
2563 "fullName": "google.cloud.apihub.v1.ApiHubCurate"
2564 }
2565 }
2566 },
2567 "origin": "API_DEFINITION",
2568 "segments": [
2569 {
2570 "start": 18,
2571 "end": 53,
2572 "type": "FULL"
2573 }
2574 ]
2575 },
2576 {
2577 "regionTag": "apihub_v1_generated_ApiHubCurate_GetLocation_sync",
2578 "title": "apihub GetLocation Sample",
2579 "description": "GetLocation gets information about a location.",
2580 "file": "ApiHubCurateClient/GetLocation/main.go",
2581 "language": "GO",
2582 "clientMethod": {
2583 "shortName": "GetLocation",
2584 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.GetLocation",
2585 "parameters": [
2586 {
2587 "type": "context.Context",
2588 "name": "ctx"
2589 },
2590 {
2591 "type": "locationpb.GetLocationRequest",
2592 "name": "req"
2593 },
2594 {
2595 "type": "...gax.CallOption",
2596 "name": "opts"
2597 }
2598 ],
2599 "resultType": "*locationpb.Location",
2600 "client": {
2601 "shortName": "ApiHubCurateClient",
2602 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2603 },
2604 "method": {
2605 "shortName": "GetLocation",
2606 "fullName": "google.cloud.location.Locations.GetLocation",
2607 "service": {
2608 "shortName": "Locations",
2609 "fullName": "google.cloud.location.Locations"
2610 }
2611 }
2612 },
2613 "origin": "API_DEFINITION",
2614 "segments": [
2615 {
2616 "start": 18,
2617 "end": 53,
2618 "type": "FULL"
2619 }
2620 ]
2621 },
2622 {
2623 "regionTag": "apihub_v1_generated_ApiHubCurate_GetOperation_sync",
2624 "title": "apihub GetOperation Sample",
2625 "description": "GetOperation is a utility method from google.longrunning.Operations.",
2626 "file": "ApiHubCurateClient/GetOperation/main.go",
2627 "language": "GO",
2628 "clientMethod": {
2629 "shortName": "GetOperation",
2630 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.GetOperation",
2631 "parameters": [
2632 {
2633 "type": "context.Context",
2634 "name": "ctx"
2635 },
2636 {
2637 "type": "longrunningpb.GetOperationRequest",
2638 "name": "req"
2639 },
2640 {
2641 "type": "...gax.CallOption",
2642 "name": "opts"
2643 }
2644 ],
2645 "resultType": "*longrunningpb.Operation",
2646 "client": {
2647 "shortName": "ApiHubCurateClient",
2648 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2649 },
2650 "method": {
2651 "shortName": "GetOperation",
2652 "fullName": "google.longrunning.Operations.GetOperation",
2653 "service": {
2654 "shortName": "Operations",
2655 "fullName": "google.longrunning.Operations"
2656 }
2657 }
2658 },
2659 "origin": "API_DEFINITION",
2660 "segments": [
2661 {
2662 "start": 18,
2663 "end": 53,
2664 "type": "FULL"
2665 }
2666 ]
2667 },
2668 {
2669 "regionTag": "apihub_v1_generated_ApiHubCurate_ListCurations_sync",
2670 "title": "apihub ListCurations Sample",
2671 "description": "ListCurations list curation resources in the API hub.",
2672 "file": "ApiHubCurateClient/ListCurations/main.go",
2673 "language": "GO",
2674 "clientMethod": {
2675 "shortName": "ListCurations",
2676 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.ListCurations",
2677 "parameters": [
2678 {
2679 "type": "context.Context",
2680 "name": "ctx"
2681 },
2682 {
2683 "type": "apihubpb.ListCurationsRequest",
2684 "name": "req"
2685 },
2686 {
2687 "type": "...gax.CallOption",
2688 "name": "opts"
2689 }
2690 ],
2691 "resultType": "CurationIterator",
2692 "client": {
2693 "shortName": "ApiHubCurateClient",
2694 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2695 },
2696 "method": {
2697 "shortName": "ListCurations",
2698 "fullName": "google.cloud.apihub.v1.ApiHubCurate.ListCurations",
2699 "service": {
2700 "shortName": "ApiHubCurate",
2701 "fullName": "google.cloud.apihub.v1.ApiHubCurate"
2702 }
2703 }
2704 },
2705 "origin": "API_DEFINITION",
2706 "segments": [
2707 {
2708 "start": 18,
2709 "end": 66,
2710 "type": "FULL"
2711 }
2712 ]
2713 },
2714 {
2715 "regionTag": "apihub_v1_generated_ApiHubCurate_ListLocations_sync",
2716 "title": "apihub ListLocations Sample",
2717 "description": "ListLocations lists information about the supported locations for this service.",
2718 "file": "ApiHubCurateClient/ListLocations/main.go",
2719 "language": "GO",
2720 "clientMethod": {
2721 "shortName": "ListLocations",
2722 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.ListLocations",
2723 "parameters": [
2724 {
2725 "type": "context.Context",
2726 "name": "ctx"
2727 },
2728 {
2729 "type": "locationpb.ListLocationsRequest",
2730 "name": "req"
2731 },
2732 {
2733 "type": "...gax.CallOption",
2734 "name": "opts"
2735 }
2736 ],
2737 "resultType": "LocationIterator",
2738 "client": {
2739 "shortName": "ApiHubCurateClient",
2740 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2741 },
2742 "method": {
2743 "shortName": "ListLocations",
2744 "fullName": "google.cloud.location.Locations.ListLocations",
2745 "service": {
2746 "shortName": "Locations",
2747 "fullName": "google.cloud.location.Locations"
2748 }
2749 }
2750 },
2751 "origin": "API_DEFINITION",
2752 "segments": [
2753 {
2754 "start": 18,
2755 "end": 66,
2756 "type": "FULL"
2757 }
2758 ]
2759 },
2760 {
2761 "regionTag": "apihub_v1_generated_ApiHubCurate_ListOperations_sync",
2762 "title": "apihub ListOperations Sample",
2763 "description": "ListOperations is a utility method from google.longrunning.Operations.",
2764 "file": "ApiHubCurateClient/ListOperations/main.go",
2765 "language": "GO",
2766 "clientMethod": {
2767 "shortName": "ListOperations",
2768 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.ListOperations",
2769 "parameters": [
2770 {
2771 "type": "context.Context",
2772 "name": "ctx"
2773 },
2774 {
2775 "type": "longrunningpb.ListOperationsRequest",
2776 "name": "req"
2777 },
2778 {
2779 "type": "...gax.CallOption",
2780 "name": "opts"
2781 }
2782 ],
2783 "resultType": "OperationIterator",
2784 "client": {
2785 "shortName": "ApiHubCurateClient",
2786 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2787 },
2788 "method": {
2789 "shortName": "ListOperations",
2790 "fullName": "google.longrunning.Operations.ListOperations",
2791 "service": {
2792 "shortName": "Operations",
2793 "fullName": "google.longrunning.Operations"
2794 }
2795 }
2796 },
2797 "origin": "API_DEFINITION",
2798 "segments": [
2799 {
2800 "start": 18,
2801 "end": 66,
2802 "type": "FULL"
2803 }
2804 ]
2805 },
2806 {
2807 "regionTag": "apihub_v1_generated_ApiHubCurate_UpdateCuration_sync",
2808 "title": "apihub UpdateCuration Sample",
2809 "description": "UpdateCuration update a curation resource in the API hub. The following fields in the\n[curation][google.cloud.apihub.v1.Curation] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Curation.display_name]\n* [description][google.cloud.apihub.v1.Curation.description]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]\nshould be used to specify the fields being updated.",
2810 "file": "ApiHubCurateClient/UpdateCuration/main.go",
2811 "language": "GO",
2812 "clientMethod": {
2813 "shortName": "UpdateCuration",
2814 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.UpdateCuration",
2815 "parameters": [
2816 {
2817 "type": "context.Context",
2818 "name": "ctx"
2819 },
2820 {
2821 "type": "apihubpb.UpdateCurationRequest",
2822 "name": "req"
2823 },
2824 {
2825 "type": "...gax.CallOption",
2826 "name": "opts"
2827 }
2828 ],
2829 "resultType": "*apihubpb.Curation",
2830 "client": {
2831 "shortName": "ApiHubCurateClient",
2832 "fullName": "google.cloud.apihub.v1.ApiHubCurateClient"
2833 },
2834 "method": {
2835 "shortName": "UpdateCuration",
2836 "fullName": "google.cloud.apihub.v1.ApiHubCurate.UpdateCuration",
2837 "service": {
2838 "shortName": "ApiHubCurate",
2839 "fullName": "google.cloud.apihub.v1.ApiHubCurate"
2840 }
2841 }
2842 },
2843 "origin": "API_DEFINITION",
2844 "segments": [
2845 {
2846 "start": 18,
2847 "end": 53,
2848 "type": "FULL"
2849 }
2850 ]
2851 },
2852 {
2853 "regionTag": "apihub_v1_generated_ApiHubDependencies_CancelOperation_sync",
2854 "title": "apihub CancelOperation Sample",
2855 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
2856 "file": "ApiHubDependenciesClient/CancelOperation/main.go",
2857 "language": "GO",
2858 "clientMethod": {
2859 "shortName": "CancelOperation",
2860 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.CancelOperation",
2861 "parameters": [
2862 {
2863 "type": "context.Context",
2864 "name": "ctx"
2865 },
2866 {
2867 "type": "longrunningpb.CancelOperationRequest",
2868 "name": "req"
2869 },
2870 {
2871 "type": "...gax.CallOption",
2872 "name": "opts"
2873 }
2874 ],
2875 "client": {
2876 "shortName": "ApiHubDependenciesClient",
2877 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
2878 },
2879 "method": {
2880 "shortName": "CancelOperation",
2881 "fullName": "google.longrunning.Operations.CancelOperation",
2882 "service": {
2883 "shortName": "Operations",
2884 "fullName": "google.longrunning.Operations"
2885 }
2886 }
2887 },
2888 "origin": "API_DEFINITION",
2889 "segments": [
2890 {
2891 "start": 18,
2892 "end": 51,
2893 "type": "FULL"
2894 }
2895 ]
2896 },
2897 {
2898 "regionTag": "apihub_v1_generated_ApiHubDependencies_CreateDependency_sync",
2899 "title": "apihub CreateDependency Sample",
2900 "description": "CreateDependency create a dependency between two entities in the API hub.",
2901 "file": "ApiHubDependenciesClient/CreateDependency/main.go",
2902 "language": "GO",
2903 "clientMethod": {
2904 "shortName": "CreateDependency",
2905 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.CreateDependency",
2906 "parameters": [
2907 {
2908 "type": "context.Context",
2909 "name": "ctx"
2910 },
2911 {
2912 "type": "apihubpb.CreateDependencyRequest",
2913 "name": "req"
2914 },
2915 {
2916 "type": "...gax.CallOption",
2917 "name": "opts"
2918 }
2919 ],
2920 "resultType": "*apihubpb.Dependency",
2921 "client": {
2922 "shortName": "ApiHubDependenciesClient",
2923 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
2924 },
2925 "method": {
2926 "shortName": "CreateDependency",
2927 "fullName": "google.cloud.apihub.v1.ApiHubDependencies.CreateDependency",
2928 "service": {
2929 "shortName": "ApiHubDependencies",
2930 "fullName": "google.cloud.apihub.v1.ApiHubDependencies"
2931 }
2932 }
2933 },
2934 "origin": "API_DEFINITION",
2935 "segments": [
2936 {
2937 "start": 18,
2938 "end": 53,
2939 "type": "FULL"
2940 }
2941 ]
2942 },
2943 {
2944 "regionTag": "apihub_v1_generated_ApiHubDependencies_DeleteDependency_sync",
2945 "title": "apihub DeleteDependency Sample",
2946 "description": "DeleteDependency delete the dependency resource.",
2947 "file": "ApiHubDependenciesClient/DeleteDependency/main.go",
2948 "language": "GO",
2949 "clientMethod": {
2950 "shortName": "DeleteDependency",
2951 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.DeleteDependency",
2952 "parameters": [
2953 {
2954 "type": "context.Context",
2955 "name": "ctx"
2956 },
2957 {
2958 "type": "apihubpb.DeleteDependencyRequest",
2959 "name": "req"
2960 },
2961 {
2962 "type": "...gax.CallOption",
2963 "name": "opts"
2964 }
2965 ],
2966 "client": {
2967 "shortName": "ApiHubDependenciesClient",
2968 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
2969 },
2970 "method": {
2971 "shortName": "DeleteDependency",
2972 "fullName": "google.cloud.apihub.v1.ApiHubDependencies.DeleteDependency",
2973 "service": {
2974 "shortName": "ApiHubDependencies",
2975 "fullName": "google.cloud.apihub.v1.ApiHubDependencies"
2976 }
2977 }
2978 },
2979 "origin": "API_DEFINITION",
2980 "segments": [
2981 {
2982 "start": 18,
2983 "end": 51,
2984 "type": "FULL"
2985 }
2986 ]
2987 },
2988 {
2989 "regionTag": "apihub_v1_generated_ApiHubDependencies_DeleteOperation_sync",
2990 "title": "apihub DeleteOperation Sample",
2991 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
2992 "file": "ApiHubDependenciesClient/DeleteOperation/main.go",
2993 "language": "GO",
2994 "clientMethod": {
2995 "shortName": "DeleteOperation",
2996 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.DeleteOperation",
2997 "parameters": [
2998 {
2999 "type": "context.Context",
3000 "name": "ctx"
3001 },
3002 {
3003 "type": "longrunningpb.DeleteOperationRequest",
3004 "name": "req"
3005 },
3006 {
3007 "type": "...gax.CallOption",
3008 "name": "opts"
3009 }
3010 ],
3011 "client": {
3012 "shortName": "ApiHubDependenciesClient",
3013 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
3014 },
3015 "method": {
3016 "shortName": "DeleteOperation",
3017 "fullName": "google.longrunning.Operations.DeleteOperation",
3018 "service": {
3019 "shortName": "Operations",
3020 "fullName": "google.longrunning.Operations"
3021 }
3022 }
3023 },
3024 "origin": "API_DEFINITION",
3025 "segments": [
3026 {
3027 "start": 18,
3028 "end": 51,
3029 "type": "FULL"
3030 }
3031 ]
3032 },
3033 {
3034 "regionTag": "apihub_v1_generated_ApiHubDependencies_GetDependency_sync",
3035 "title": "apihub GetDependency Sample",
3036 "description": "GetDependency get details about a dependency resource in the API hub.",
3037 "file": "ApiHubDependenciesClient/GetDependency/main.go",
3038 "language": "GO",
3039 "clientMethod": {
3040 "shortName": "GetDependency",
3041 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.GetDependency",
3042 "parameters": [
3043 {
3044 "type": "context.Context",
3045 "name": "ctx"
3046 },
3047 {
3048 "type": "apihubpb.GetDependencyRequest",
3049 "name": "req"
3050 },
3051 {
3052 "type": "...gax.CallOption",
3053 "name": "opts"
3054 }
3055 ],
3056 "resultType": "*apihubpb.Dependency",
3057 "client": {
3058 "shortName": "ApiHubDependenciesClient",
3059 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
3060 },
3061 "method": {
3062 "shortName": "GetDependency",
3063 "fullName": "google.cloud.apihub.v1.ApiHubDependencies.GetDependency",
3064 "service": {
3065 "shortName": "ApiHubDependencies",
3066 "fullName": "google.cloud.apihub.v1.ApiHubDependencies"
3067 }
3068 }
3069 },
3070 "origin": "API_DEFINITION",
3071 "segments": [
3072 {
3073 "start": 18,
3074 "end": 53,
3075 "type": "FULL"
3076 }
3077 ]
3078 },
3079 {
3080 "regionTag": "apihub_v1_generated_ApiHubDependencies_GetLocation_sync",
3081 "title": "apihub GetLocation Sample",
3082 "description": "GetLocation gets information about a location.",
3083 "file": "ApiHubDependenciesClient/GetLocation/main.go",
3084 "language": "GO",
3085 "clientMethod": {
3086 "shortName": "GetLocation",
3087 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.GetLocation",
3088 "parameters": [
3089 {
3090 "type": "context.Context",
3091 "name": "ctx"
3092 },
3093 {
3094 "type": "locationpb.GetLocationRequest",
3095 "name": "req"
3096 },
3097 {
3098 "type": "...gax.CallOption",
3099 "name": "opts"
3100 }
3101 ],
3102 "resultType": "*locationpb.Location",
3103 "client": {
3104 "shortName": "ApiHubDependenciesClient",
3105 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
3106 },
3107 "method": {
3108 "shortName": "GetLocation",
3109 "fullName": "google.cloud.location.Locations.GetLocation",
3110 "service": {
3111 "shortName": "Locations",
3112 "fullName": "google.cloud.location.Locations"
3113 }
3114 }
3115 },
3116 "origin": "API_DEFINITION",
3117 "segments": [
3118 {
3119 "start": 18,
3120 "end": 53,
3121 "type": "FULL"
3122 }
3123 ]
3124 },
3125 {
3126 "regionTag": "apihub_v1_generated_ApiHubDependencies_GetOperation_sync",
3127 "title": "apihub GetOperation Sample",
3128 "description": "GetOperation is a utility method from google.longrunning.Operations.",
3129 "file": "ApiHubDependenciesClient/GetOperation/main.go",
3130 "language": "GO",
3131 "clientMethod": {
3132 "shortName": "GetOperation",
3133 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.GetOperation",
3134 "parameters": [
3135 {
3136 "type": "context.Context",
3137 "name": "ctx"
3138 },
3139 {
3140 "type": "longrunningpb.GetOperationRequest",
3141 "name": "req"
3142 },
3143 {
3144 "type": "...gax.CallOption",
3145 "name": "opts"
3146 }
3147 ],
3148 "resultType": "*longrunningpb.Operation",
3149 "client": {
3150 "shortName": "ApiHubDependenciesClient",
3151 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
3152 },
3153 "method": {
3154 "shortName": "GetOperation",
3155 "fullName": "google.longrunning.Operations.GetOperation",
3156 "service": {
3157 "shortName": "Operations",
3158 "fullName": "google.longrunning.Operations"
3159 }
3160 }
3161 },
3162 "origin": "API_DEFINITION",
3163 "segments": [
3164 {
3165 "start": 18,
3166 "end": 53,
3167 "type": "FULL"
3168 }
3169 ]
3170 },
3171 {
3172 "regionTag": "apihub_v1_generated_ApiHubDependencies_ListDependencies_sync",
3173 "title": "apihub ListDependencies Sample",
3174 "description": "ListDependencies list dependencies based on the provided filter and pagination parameters.",
3175 "file": "ApiHubDependenciesClient/ListDependencies/main.go",
3176 "language": "GO",
3177 "clientMethod": {
3178 "shortName": "ListDependencies",
3179 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.ListDependencies",
3180 "parameters": [
3181 {
3182 "type": "context.Context",
3183 "name": "ctx"
3184 },
3185 {
3186 "type": "apihubpb.ListDependenciesRequest",
3187 "name": "req"
3188 },
3189 {
3190 "type": "...gax.CallOption",
3191 "name": "opts"
3192 }
3193 ],
3194 "resultType": "DependencyIterator",
3195 "client": {
3196 "shortName": "ApiHubDependenciesClient",
3197 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
3198 },
3199 "method": {
3200 "shortName": "ListDependencies",
3201 "fullName": "google.cloud.apihub.v1.ApiHubDependencies.ListDependencies",
3202 "service": {
3203 "shortName": "ApiHubDependencies",
3204 "fullName": "google.cloud.apihub.v1.ApiHubDependencies"
3205 }
3206 }
3207 },
3208 "origin": "API_DEFINITION",
3209 "segments": [
3210 {
3211 "start": 18,
3212 "end": 66,
3213 "type": "FULL"
3214 }
3215 ]
3216 },
3217 {
3218 "regionTag": "apihub_v1_generated_ApiHubDependencies_ListLocations_sync",
3219 "title": "apihub ListLocations Sample",
3220 "description": "ListLocations lists information about the supported locations for this service.",
3221 "file": "ApiHubDependenciesClient/ListLocations/main.go",
3222 "language": "GO",
3223 "clientMethod": {
3224 "shortName": "ListLocations",
3225 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.ListLocations",
3226 "parameters": [
3227 {
3228 "type": "context.Context",
3229 "name": "ctx"
3230 },
3231 {
3232 "type": "locationpb.ListLocationsRequest",
3233 "name": "req"
3234 },
3235 {
3236 "type": "...gax.CallOption",
3237 "name": "opts"
3238 }
3239 ],
3240 "resultType": "LocationIterator",
3241 "client": {
3242 "shortName": "ApiHubDependenciesClient",
3243 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
3244 },
3245 "method": {
3246 "shortName": "ListLocations",
3247 "fullName": "google.cloud.location.Locations.ListLocations",
3248 "service": {
3249 "shortName": "Locations",
3250 "fullName": "google.cloud.location.Locations"
3251 }
3252 }
3253 },
3254 "origin": "API_DEFINITION",
3255 "segments": [
3256 {
3257 "start": 18,
3258 "end": 66,
3259 "type": "FULL"
3260 }
3261 ]
3262 },
3263 {
3264 "regionTag": "apihub_v1_generated_ApiHubDependencies_ListOperations_sync",
3265 "title": "apihub ListOperations Sample",
3266 "description": "ListOperations is a utility method from google.longrunning.Operations.",
3267 "file": "ApiHubDependenciesClient/ListOperations/main.go",
3268 "language": "GO",
3269 "clientMethod": {
3270 "shortName": "ListOperations",
3271 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.ListOperations",
3272 "parameters": [
3273 {
3274 "type": "context.Context",
3275 "name": "ctx"
3276 },
3277 {
3278 "type": "longrunningpb.ListOperationsRequest",
3279 "name": "req"
3280 },
3281 {
3282 "type": "...gax.CallOption",
3283 "name": "opts"
3284 }
3285 ],
3286 "resultType": "OperationIterator",
3287 "client": {
3288 "shortName": "ApiHubDependenciesClient",
3289 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
3290 },
3291 "method": {
3292 "shortName": "ListOperations",
3293 "fullName": "google.longrunning.Operations.ListOperations",
3294 "service": {
3295 "shortName": "Operations",
3296 "fullName": "google.longrunning.Operations"
3297 }
3298 }
3299 },
3300 "origin": "API_DEFINITION",
3301 "segments": [
3302 {
3303 "start": 18,
3304 "end": 66,
3305 "type": "FULL"
3306 }
3307 ]
3308 },
3309 {
3310 "regionTag": "apihub_v1_generated_ApiHubDependencies_UpdateDependency_sync",
3311 "title": "apihub UpdateDependency Sample",
3312 "description": "UpdateDependency update a dependency based on the\n[update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask]\nprovided in the request.\n\nThe following fields in the [dependency][google.cloud.apihub.v1.Dependency]\ncan be updated: \n* [description][google.cloud.apihub.v1.Dependency.description]",
3313 "file": "ApiHubDependenciesClient/UpdateDependency/main.go",
3314 "language": "GO",
3315 "clientMethod": {
3316 "shortName": "UpdateDependency",
3317 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.UpdateDependency",
3318 "parameters": [
3319 {
3320 "type": "context.Context",
3321 "name": "ctx"
3322 },
3323 {
3324 "type": "apihubpb.UpdateDependencyRequest",
3325 "name": "req"
3326 },
3327 {
3328 "type": "...gax.CallOption",
3329 "name": "opts"
3330 }
3331 ],
3332 "resultType": "*apihubpb.Dependency",
3333 "client": {
3334 "shortName": "ApiHubDependenciesClient",
3335 "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient"
3336 },
3337 "method": {
3338 "shortName": "UpdateDependency",
3339 "fullName": "google.cloud.apihub.v1.ApiHubDependencies.UpdateDependency",
3340 "service": {
3341 "shortName": "ApiHubDependencies",
3342 "fullName": "google.cloud.apihub.v1.ApiHubDependencies"
3343 }
3344 }
3345 },
3346 "origin": "API_DEFINITION",
3347 "segments": [
3348 {
3349 "start": 18,
3350 "end": 53,
3351 "type": "FULL"
3352 }
3353 ]
3354 },
3355 {
3356 "regionTag": "apihub_v1_generated_ApiHubDiscovery_CancelOperation_sync",
3357 "title": "apihub CancelOperation Sample",
3358 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
3359 "file": "ApiHubDiscoveryClient/CancelOperation/main.go",
3360 "language": "GO",
3361 "clientMethod": {
3362 "shortName": "CancelOperation",
3363 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.CancelOperation",
3364 "parameters": [
3365 {
3366 "type": "context.Context",
3367 "name": "ctx"
3368 },
3369 {
3370 "type": "longrunningpb.CancelOperationRequest",
3371 "name": "req"
3372 },
3373 {
3374 "type": "...gax.CallOption",
3375 "name": "opts"
3376 }
3377 ],
3378 "client": {
3379 "shortName": "ApiHubDiscoveryClient",
3380 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient"
3381 },
3382 "method": {
3383 "shortName": "CancelOperation",
3384 "fullName": "google.longrunning.Operations.CancelOperation",
3385 "service": {
3386 "shortName": "Operations",
3387 "fullName": "google.longrunning.Operations"
3388 }
3389 }
3390 },
3391 "origin": "API_DEFINITION",
3392 "segments": [
3393 {
3394 "start": 18,
3395 "end": 51,
3396 "type": "FULL"
3397 }
3398 ]
3399 },
3400 {
3401 "regionTag": "apihub_v1_generated_ApiHubDiscovery_DeleteOperation_sync",
3402 "title": "apihub DeleteOperation Sample",
3403 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
3404 "file": "ApiHubDiscoveryClient/DeleteOperation/main.go",
3405 "language": "GO",
3406 "clientMethod": {
3407 "shortName": "DeleteOperation",
3408 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.DeleteOperation",
3409 "parameters": [
3410 {
3411 "type": "context.Context",
3412 "name": "ctx"
3413 },
3414 {
3415 "type": "longrunningpb.DeleteOperationRequest",
3416 "name": "req"
3417 },
3418 {
3419 "type": "...gax.CallOption",
3420 "name": "opts"
3421 }
3422 ],
3423 "client": {
3424 "shortName": "ApiHubDiscoveryClient",
3425 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient"
3426 },
3427 "method": {
3428 "shortName": "DeleteOperation",
3429 "fullName": "google.longrunning.Operations.DeleteOperation",
3430 "service": {
3431 "shortName": "Operations",
3432 "fullName": "google.longrunning.Operations"
3433 }
3434 }
3435 },
3436 "origin": "API_DEFINITION",
3437 "segments": [
3438 {
3439 "start": 18,
3440 "end": 51,
3441 "type": "FULL"
3442 }
3443 ]
3444 },
3445 {
3446 "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetDiscoveredApiObservation_sync",
3447 "title": "apihub GetDiscoveredApiObservation Sample",
3448 "description": "GetDiscoveredApiObservation gets a DiscoveredAPIObservation in a given project, location and\nApiObservation.",
3449 "file": "ApiHubDiscoveryClient/GetDiscoveredApiObservation/main.go",
3450 "language": "GO",
3451 "clientMethod": {
3452 "shortName": "GetDiscoveredApiObservation",
3453 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.GetDiscoveredApiObservation",
3454 "parameters": [
3455 {
3456 "type": "context.Context",
3457 "name": "ctx"
3458 },
3459 {
3460 "type": "apihubpb.GetDiscoveredApiObservationRequest",
3461 "name": "req"
3462 },
3463 {
3464 "type": "...gax.CallOption",
3465 "name": "opts"
3466 }
3467 ],
3468 "resultType": "*apihubpb.DiscoveredApiObservation",
3469 "client": {
3470 "shortName": "ApiHubDiscoveryClient",
3471 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient"
3472 },
3473 "method": {
3474 "shortName": "GetDiscoveredApiObservation",
3475 "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.GetDiscoveredApiObservation",
3476 "service": {
3477 "shortName": "ApiHubDiscovery",
3478 "fullName": "google.cloud.apihub.v1.ApiHubDiscovery"
3479 }
3480 }
3481 },
3482 "origin": "API_DEFINITION",
3483 "segments": [
3484 {
3485 "start": 18,
3486 "end": 53,
3487 "type": "FULL"
3488 }
3489 ]
3490 },
3491 {
3492 "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetDiscoveredApiOperation_sync",
3493 "title": "apihub GetDiscoveredApiOperation Sample",
3494 "description": "GetDiscoveredApiOperation gets a DiscoveredAPIOperation in a given project, location,\nApiObservation and ApiOperation.",
3495 "file": "ApiHubDiscoveryClient/GetDiscoveredApiOperation/main.go",
3496 "language": "GO",
3497 "clientMethod": {
3498 "shortName": "GetDiscoveredApiOperation",
3499 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.GetDiscoveredApiOperation",
3500 "parameters": [
3501 {
3502 "type": "context.Context",
3503 "name": "ctx"
3504 },
3505 {
3506 "type": "apihubpb.GetDiscoveredApiOperationRequest",
3507 "name": "req"
3508 },
3509 {
3510 "type": "...gax.CallOption",
3511 "name": "opts"
3512 }
3513 ],
3514 "resultType": "*apihubpb.DiscoveredApiOperation",
3515 "client": {
3516 "shortName": "ApiHubDiscoveryClient",
3517 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient"
3518 },
3519 "method": {
3520 "shortName": "GetDiscoveredApiOperation",
3521 "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.GetDiscoveredApiOperation",
3522 "service": {
3523 "shortName": "ApiHubDiscovery",
3524 "fullName": "google.cloud.apihub.v1.ApiHubDiscovery"
3525 }
3526 }
3527 },
3528 "origin": "API_DEFINITION",
3529 "segments": [
3530 {
3531 "start": 18,
3532 "end": 53,
3533 "type": "FULL"
3534 }
3535 ]
3536 },
3537 {
3538 "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetLocation_sync",
3539 "title": "apihub GetLocation Sample",
3540 "description": "GetLocation gets information about a location.",
3541 "file": "ApiHubDiscoveryClient/GetLocation/main.go",
3542 "language": "GO",
3543 "clientMethod": {
3544 "shortName": "GetLocation",
3545 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.GetLocation",
3546 "parameters": [
3547 {
3548 "type": "context.Context",
3549 "name": "ctx"
3550 },
3551 {
3552 "type": "locationpb.GetLocationRequest",
3553 "name": "req"
3554 },
3555 {
3556 "type": "...gax.CallOption",
3557 "name": "opts"
3558 }
3559 ],
3560 "resultType": "*locationpb.Location",
3561 "client": {
3562 "shortName": "ApiHubDiscoveryClient",
3563 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient"
3564 },
3565 "method": {
3566 "shortName": "GetLocation",
3567 "fullName": "google.cloud.location.Locations.GetLocation",
3568 "service": {
3569 "shortName": "Locations",
3570 "fullName": "google.cloud.location.Locations"
3571 }
3572 }
3573 },
3574 "origin": "API_DEFINITION",
3575 "segments": [
3576 {
3577 "start": 18,
3578 "end": 53,
3579 "type": "FULL"
3580 }
3581 ]
3582 },
3583 {
3584 "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetOperation_sync",
3585 "title": "apihub GetOperation Sample",
3586 "description": "GetOperation is a utility method from google.longrunning.Operations.",
3587 "file": "ApiHubDiscoveryClient/GetOperation/main.go",
3588 "language": "GO",
3589 "clientMethod": {
3590 "shortName": "GetOperation",
3591 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.GetOperation",
3592 "parameters": [
3593 {
3594 "type": "context.Context",
3595 "name": "ctx"
3596 },
3597 {
3598 "type": "longrunningpb.GetOperationRequest",
3599 "name": "req"
3600 },
3601 {
3602 "type": "...gax.CallOption",
3603 "name": "opts"
3604 }
3605 ],
3606 "resultType": "*longrunningpb.Operation",
3607 "client": {
3608 "shortName": "ApiHubDiscoveryClient",
3609 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient"
3610 },
3611 "method": {
3612 "shortName": "GetOperation",
3613 "fullName": "google.longrunning.Operations.GetOperation",
3614 "service": {
3615 "shortName": "Operations",
3616 "fullName": "google.longrunning.Operations"
3617 }
3618 }
3619 },
3620 "origin": "API_DEFINITION",
3621 "segments": [
3622 {
3623 "start": 18,
3624 "end": 53,
3625 "type": "FULL"
3626 }
3627 ]
3628 },
3629 {
3630 "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListDiscoveredApiObservations_sync",
3631 "title": "apihub ListDiscoveredApiObservations Sample",
3632 "description": "ListDiscoveredApiObservations lists all the DiscoveredAPIObservations in a given project and location.",
3633 "file": "ApiHubDiscoveryClient/ListDiscoveredApiObservations/main.go",
3634 "language": "GO",
3635 "clientMethod": {
3636 "shortName": "ListDiscoveredApiObservations",
3637 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.ListDiscoveredApiObservations",
3638 "parameters": [
3639 {
3640 "type": "context.Context",
3641 "name": "ctx"
3642 },
3643 {
3644 "type": "apihubpb.ListDiscoveredApiObservationsRequest",
3645 "name": "req"
3646 },
3647 {
3648 "type": "...gax.CallOption",
3649 "name": "opts"
3650 }
3651 ],
3652 "resultType": "DiscoveredApiObservationIterator",
3653 "client": {
3654 "shortName": "ApiHubDiscoveryClient",
3655 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient"
3656 },
3657 "method": {
3658 "shortName": "ListDiscoveredApiObservations",
3659 "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.ListDiscoveredApiObservations",
3660 "service": {
3661 "shortName": "ApiHubDiscovery",
3662 "fullName": "google.cloud.apihub.v1.ApiHubDiscovery"
3663 }
3664 }
3665 },
3666 "origin": "API_DEFINITION",
3667 "segments": [
3668 {
3669 "start": 18,
3670 "end": 66,
3671 "type": "FULL"
3672 }
3673 ]
3674 },
3675 {
3676 "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListDiscoveredApiOperations_sync",
3677 "title": "apihub ListDiscoveredApiOperations Sample",
3678 "description": "ListDiscoveredApiOperations lists all the DiscoveredAPIOperations in a given project, location and\nApiObservation.",
3679 "file": "ApiHubDiscoveryClient/ListDiscoveredApiOperations/main.go",
3680 "language": "GO",
3681 "clientMethod": {
3682 "shortName": "ListDiscoveredApiOperations",
3683 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.ListDiscoveredApiOperations",
3684 "parameters": [
3685 {
3686 "type": "context.Context",
3687 "name": "ctx"
3688 },
3689 {
3690 "type": "apihubpb.ListDiscoveredApiOperationsRequest",
3691 "name": "req"
3692 },
3693 {
3694 "type": "...gax.CallOption",
3695 "name": "opts"
3696 }
3697 ],
3698 "resultType": "DiscoveredApiOperationIterator",
3699 "client": {
3700 "shortName": "ApiHubDiscoveryClient",
3701 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient"
3702 },
3703 "method": {
3704 "shortName": "ListDiscoveredApiOperations",
3705 "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.ListDiscoveredApiOperations",
3706 "service": {
3707 "shortName": "ApiHubDiscovery",
3708 "fullName": "google.cloud.apihub.v1.ApiHubDiscovery"
3709 }
3710 }
3711 },
3712 "origin": "API_DEFINITION",
3713 "segments": [
3714 {
3715 "start": 18,
3716 "end": 66,
3717 "type": "FULL"
3718 }
3719 ]
3720 },
3721 {
3722 "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListLocations_sync",
3723 "title": "apihub ListLocations Sample",
3724 "description": "ListLocations lists information about the supported locations for this service.",
3725 "file": "ApiHubDiscoveryClient/ListLocations/main.go",
3726 "language": "GO",
3727 "clientMethod": {
3728 "shortName": "ListLocations",
3729 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.ListLocations",
3730 "parameters": [
3731 {
3732 "type": "context.Context",
3733 "name": "ctx"
3734 },
3735 {
3736 "type": "locationpb.ListLocationsRequest",
3737 "name": "req"
3738 },
3739 {
3740 "type": "...gax.CallOption",
3741 "name": "opts"
3742 }
3743 ],
3744 "resultType": "LocationIterator",
3745 "client": {
3746 "shortName": "ApiHubDiscoveryClient",
3747 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient"
3748 },
3749 "method": {
3750 "shortName": "ListLocations",
3751 "fullName": "google.cloud.location.Locations.ListLocations",
3752 "service": {
3753 "shortName": "Locations",
3754 "fullName": "google.cloud.location.Locations"
3755 }
3756 }
3757 },
3758 "origin": "API_DEFINITION",
3759 "segments": [
3760 {
3761 "start": 18,
3762 "end": 66,
3763 "type": "FULL"
3764 }
3765 ]
3766 },
3767 {
3768 "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListOperations_sync",
3769 "title": "apihub ListOperations Sample",
3770 "description": "ListOperations is a utility method from google.longrunning.Operations.",
3771 "file": "ApiHubDiscoveryClient/ListOperations/main.go",
3772 "language": "GO",
3773 "clientMethod": {
3774 "shortName": "ListOperations",
3775 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.ListOperations",
3776 "parameters": [
3777 {
3778 "type": "context.Context",
3779 "name": "ctx"
3780 },
3781 {
3782 "type": "longrunningpb.ListOperationsRequest",
3783 "name": "req"
3784 },
3785 {
3786 "type": "...gax.CallOption",
3787 "name": "opts"
3788 }
3789 ],
3790 "resultType": "OperationIterator",
3791 "client": {
3792 "shortName": "ApiHubDiscoveryClient",
3793 "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient"
3794 },
3795 "method": {
3796 "shortName": "ListOperations",
3797 "fullName": "google.longrunning.Operations.ListOperations",
3798 "service": {
3799 "shortName": "Operations",
3800 "fullName": "google.longrunning.Operations"
3801 }
3802 }
3803 },
3804 "origin": "API_DEFINITION",
3805 "segments": [
3806 {
3807 "start": 18,
3808 "end": 66,
3809 "type": "FULL"
3810 }
3811 ]
3812 },
3813 {
3814 "regionTag": "apihub_v1_generated_ApiHubPlugin_CancelOperation_sync",
3815 "title": "apihub CancelOperation Sample",
3816 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
3817 "file": "ApiHubPluginClient/CancelOperation/main.go",
3818 "language": "GO",
3819 "clientMethod": {
3820 "shortName": "CancelOperation",
3821 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.CancelOperation",
3822 "parameters": [
3823 {
3824 "type": "context.Context",
3825 "name": "ctx"
3826 },
3827 {
3828 "type": "longrunningpb.CancelOperationRequest",
3829 "name": "req"
3830 },
3831 {
3832 "type": "...gax.CallOption",
3833 "name": "opts"
3834 }
3835 ],
3836 "client": {
3837 "shortName": "ApiHubPluginClient",
3838 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
3839 },
3840 "method": {
3841 "shortName": "CancelOperation",
3842 "fullName": "google.longrunning.Operations.CancelOperation",
3843 "service": {
3844 "shortName": "Operations",
3845 "fullName": "google.longrunning.Operations"
3846 }
3847 }
3848 },
3849 "origin": "API_DEFINITION",
3850 "segments": [
3851 {
3852 "start": 18,
3853 "end": 51,
3854 "type": "FULL"
3855 }
3856 ]
3857 },
3858 {
3859 "regionTag": "apihub_v1_generated_ApiHubPlugin_CreatePlugin_sync",
3860 "title": "apihub CreatePlugin Sample",
3861 "description": "CreatePlugin create an API Hub plugin resource in the API hub.\nOnce a plugin is created, it can be used to create plugin instances.",
3862 "file": "ApiHubPluginClient/CreatePlugin/main.go",
3863 "language": "GO",
3864 "clientMethod": {
3865 "shortName": "CreatePlugin",
3866 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.CreatePlugin",
3867 "parameters": [
3868 {
3869 "type": "context.Context",
3870 "name": "ctx"
3871 },
3872 {
3873 "type": "apihubpb.CreatePluginRequest",
3874 "name": "req"
3875 },
3876 {
3877 "type": "...gax.CallOption",
3878 "name": "opts"
3879 }
3880 ],
3881 "resultType": "*apihubpb.Plugin",
3882 "client": {
3883 "shortName": "ApiHubPluginClient",
3884 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
3885 },
3886 "method": {
3887 "shortName": "CreatePlugin",
3888 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.CreatePlugin",
3889 "service": {
3890 "shortName": "ApiHubPlugin",
3891 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
3892 }
3893 }
3894 },
3895 "origin": "API_DEFINITION",
3896 "segments": [
3897 {
3898 "start": 18,
3899 "end": 53,
3900 "type": "FULL"
3901 }
3902 ]
3903 },
3904 {
3905 "regionTag": "apihub_v1_generated_ApiHubPlugin_CreatePluginInstance_sync",
3906 "title": "apihub CreatePluginInstance Sample",
3907 "description": "CreatePluginInstance creates a Plugin instance in the API hub.",
3908 "file": "ApiHubPluginClient/CreatePluginInstance/main.go",
3909 "language": "GO",
3910 "clientMethod": {
3911 "shortName": "CreatePluginInstance",
3912 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.CreatePluginInstance",
3913 "parameters": [
3914 {
3915 "type": "context.Context",
3916 "name": "ctx"
3917 },
3918 {
3919 "type": "apihubpb.CreatePluginInstanceRequest",
3920 "name": "req"
3921 },
3922 {
3923 "type": "...gax.CallOption",
3924 "name": "opts"
3925 }
3926 ],
3927 "resultType": "CreatePluginInstanceOperation",
3928 "client": {
3929 "shortName": "ApiHubPluginClient",
3930 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
3931 },
3932 "method": {
3933 "shortName": "CreatePluginInstance",
3934 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.CreatePluginInstance",
3935 "service": {
3936 "shortName": "ApiHubPlugin",
3937 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
3938 }
3939 }
3940 },
3941 "origin": "API_DEFINITION",
3942 "segments": [
3943 {
3944 "start": 18,
3945 "end": 58,
3946 "type": "FULL"
3947 }
3948 ]
3949 },
3950 {
3951 "regionTag": "apihub_v1_generated_ApiHubPlugin_DeleteOperation_sync",
3952 "title": "apihub DeleteOperation Sample",
3953 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
3954 "file": "ApiHubPluginClient/DeleteOperation/main.go",
3955 "language": "GO",
3956 "clientMethod": {
3957 "shortName": "DeleteOperation",
3958 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.DeleteOperation",
3959 "parameters": [
3960 {
3961 "type": "context.Context",
3962 "name": "ctx"
3963 },
3964 {
3965 "type": "longrunningpb.DeleteOperationRequest",
3966 "name": "req"
3967 },
3968 {
3969 "type": "...gax.CallOption",
3970 "name": "opts"
3971 }
3972 ],
3973 "client": {
3974 "shortName": "ApiHubPluginClient",
3975 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
3976 },
3977 "method": {
3978 "shortName": "DeleteOperation",
3979 "fullName": "google.longrunning.Operations.DeleteOperation",
3980 "service": {
3981 "shortName": "Operations",
3982 "fullName": "google.longrunning.Operations"
3983 }
3984 }
3985 },
3986 "origin": "API_DEFINITION",
3987 "segments": [
3988 {
3989 "start": 18,
3990 "end": 51,
3991 "type": "FULL"
3992 }
3993 ]
3994 },
3995 {
3996 "regionTag": "apihub_v1_generated_ApiHubPlugin_DeletePlugin_sync",
3997 "title": "apihub DeletePlugin Sample",
3998 "description": "DeletePlugin delete a Plugin in API hub.\nNote, only user owned plugins can be deleted via this method.",
3999 "file": "ApiHubPluginClient/DeletePlugin/main.go",
4000 "language": "GO",
4001 "clientMethod": {
4002 "shortName": "DeletePlugin",
4003 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.DeletePlugin",
4004 "parameters": [
4005 {
4006 "type": "context.Context",
4007 "name": "ctx"
4008 },
4009 {
4010 "type": "apihubpb.DeletePluginRequest",
4011 "name": "req"
4012 },
4013 {
4014 "type": "...gax.CallOption",
4015 "name": "opts"
4016 }
4017 ],
4018 "resultType": "DeletePluginOperation",
4019 "client": {
4020 "shortName": "ApiHubPluginClient",
4021 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4022 },
4023 "method": {
4024 "shortName": "DeletePlugin",
4025 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DeletePlugin",
4026 "service": {
4027 "shortName": "ApiHubPlugin",
4028 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4029 }
4030 }
4031 },
4032 "origin": "API_DEFINITION",
4033 "segments": [
4034 {
4035 "start": 18,
4036 "end": 56,
4037 "type": "FULL"
4038 }
4039 ]
4040 },
4041 {
4042 "regionTag": "apihub_v1_generated_ApiHubPlugin_DeletePluginInstance_sync",
4043 "title": "apihub DeletePluginInstance Sample",
4044 "description": "DeletePluginInstance deletes a plugin instance in the API hub.",
4045 "file": "ApiHubPluginClient/DeletePluginInstance/main.go",
4046 "language": "GO",
4047 "clientMethod": {
4048 "shortName": "DeletePluginInstance",
4049 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.DeletePluginInstance",
4050 "parameters": [
4051 {
4052 "type": "context.Context",
4053 "name": "ctx"
4054 },
4055 {
4056 "type": "apihubpb.DeletePluginInstanceRequest",
4057 "name": "req"
4058 },
4059 {
4060 "type": "...gax.CallOption",
4061 "name": "opts"
4062 }
4063 ],
4064 "resultType": "DeletePluginInstanceOperation",
4065 "client": {
4066 "shortName": "ApiHubPluginClient",
4067 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4068 },
4069 "method": {
4070 "shortName": "DeletePluginInstance",
4071 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DeletePluginInstance",
4072 "service": {
4073 "shortName": "ApiHubPlugin",
4074 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4075 }
4076 }
4077 },
4078 "origin": "API_DEFINITION",
4079 "segments": [
4080 {
4081 "start": 18,
4082 "end": 56,
4083 "type": "FULL"
4084 }
4085 ]
4086 },
4087 {
4088 "regionTag": "apihub_v1_generated_ApiHubPlugin_DisablePlugin_sync",
4089 "title": "apihub DisablePlugin Sample",
4090 "description": "DisablePlugin disables a plugin.\nThe `state` of the plugin after disabling is `DISABLED`",
4091 "file": "ApiHubPluginClient/DisablePlugin/main.go",
4092 "language": "GO",
4093 "clientMethod": {
4094 "shortName": "DisablePlugin",
4095 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.DisablePlugin",
4096 "parameters": [
4097 {
4098 "type": "context.Context",
4099 "name": "ctx"
4100 },
4101 {
4102 "type": "apihubpb.DisablePluginRequest",
4103 "name": "req"
4104 },
4105 {
4106 "type": "...gax.CallOption",
4107 "name": "opts"
4108 }
4109 ],
4110 "resultType": "*apihubpb.Plugin",
4111 "client": {
4112 "shortName": "ApiHubPluginClient",
4113 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4114 },
4115 "method": {
4116 "shortName": "DisablePlugin",
4117 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DisablePlugin",
4118 "service": {
4119 "shortName": "ApiHubPlugin",
4120 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4121 }
4122 }
4123 },
4124 "origin": "API_DEFINITION",
4125 "segments": [
4126 {
4127 "start": 18,
4128 "end": 53,
4129 "type": "FULL"
4130 }
4131 ]
4132 },
4133 {
4134 "regionTag": "apihub_v1_generated_ApiHubPlugin_DisablePluginInstanceAction_sync",
4135 "title": "apihub DisablePluginInstanceAction Sample",
4136 "description": "DisablePluginInstanceAction disables a plugin instance in the API hub.",
4137 "file": "ApiHubPluginClient/DisablePluginInstanceAction/main.go",
4138 "language": "GO",
4139 "clientMethod": {
4140 "shortName": "DisablePluginInstanceAction",
4141 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.DisablePluginInstanceAction",
4142 "parameters": [
4143 {
4144 "type": "context.Context",
4145 "name": "ctx"
4146 },
4147 {
4148 "type": "apihubpb.DisablePluginInstanceActionRequest",
4149 "name": "req"
4150 },
4151 {
4152 "type": "...gax.CallOption",
4153 "name": "opts"
4154 }
4155 ],
4156 "resultType": "DisablePluginInstanceActionOperation",
4157 "client": {
4158 "shortName": "ApiHubPluginClient",
4159 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4160 },
4161 "method": {
4162 "shortName": "DisablePluginInstanceAction",
4163 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DisablePluginInstanceAction",
4164 "service": {
4165 "shortName": "ApiHubPlugin",
4166 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4167 }
4168 }
4169 },
4170 "origin": "API_DEFINITION",
4171 "segments": [
4172 {
4173 "start": 18,
4174 "end": 58,
4175 "type": "FULL"
4176 }
4177 ]
4178 },
4179 {
4180 "regionTag": "apihub_v1_generated_ApiHubPlugin_EnablePlugin_sync",
4181 "title": "apihub EnablePlugin Sample",
4182 "description": "EnablePlugin enables a plugin.\nThe `state` of the plugin after enabling is `ENABLED`",
4183 "file": "ApiHubPluginClient/EnablePlugin/main.go",
4184 "language": "GO",
4185 "clientMethod": {
4186 "shortName": "EnablePlugin",
4187 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.EnablePlugin",
4188 "parameters": [
4189 {
4190 "type": "context.Context",
4191 "name": "ctx"
4192 },
4193 {
4194 "type": "apihubpb.EnablePluginRequest",
4195 "name": "req"
4196 },
4197 {
4198 "type": "...gax.CallOption",
4199 "name": "opts"
4200 }
4201 ],
4202 "resultType": "*apihubpb.Plugin",
4203 "client": {
4204 "shortName": "ApiHubPluginClient",
4205 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4206 },
4207 "method": {
4208 "shortName": "EnablePlugin",
4209 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.EnablePlugin",
4210 "service": {
4211 "shortName": "ApiHubPlugin",
4212 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4213 }
4214 }
4215 },
4216 "origin": "API_DEFINITION",
4217 "segments": [
4218 {
4219 "start": 18,
4220 "end": 53,
4221 "type": "FULL"
4222 }
4223 ]
4224 },
4225 {
4226 "regionTag": "apihub_v1_generated_ApiHubPlugin_EnablePluginInstanceAction_sync",
4227 "title": "apihub EnablePluginInstanceAction Sample",
4228 "description": "EnablePluginInstanceAction enables a plugin instance in the API hub.",
4229 "file": "ApiHubPluginClient/EnablePluginInstanceAction/main.go",
4230 "language": "GO",
4231 "clientMethod": {
4232 "shortName": "EnablePluginInstanceAction",
4233 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.EnablePluginInstanceAction",
4234 "parameters": [
4235 {
4236 "type": "context.Context",
4237 "name": "ctx"
4238 },
4239 {
4240 "type": "apihubpb.EnablePluginInstanceActionRequest",
4241 "name": "req"
4242 },
4243 {
4244 "type": "...gax.CallOption",
4245 "name": "opts"
4246 }
4247 ],
4248 "resultType": "EnablePluginInstanceActionOperation",
4249 "client": {
4250 "shortName": "ApiHubPluginClient",
4251 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4252 },
4253 "method": {
4254 "shortName": "EnablePluginInstanceAction",
4255 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.EnablePluginInstanceAction",
4256 "service": {
4257 "shortName": "ApiHubPlugin",
4258 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4259 }
4260 }
4261 },
4262 "origin": "API_DEFINITION",
4263 "segments": [
4264 {
4265 "start": 18,
4266 "end": 58,
4267 "type": "FULL"
4268 }
4269 ]
4270 },
4271 {
4272 "regionTag": "apihub_v1_generated_ApiHubPlugin_ExecutePluginInstanceAction_sync",
4273 "title": "apihub ExecutePluginInstanceAction Sample",
4274 "description": "ExecutePluginInstanceAction executes a plugin instance in the API hub.",
4275 "file": "ApiHubPluginClient/ExecutePluginInstanceAction/main.go",
4276 "language": "GO",
4277 "clientMethod": {
4278 "shortName": "ExecutePluginInstanceAction",
4279 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ExecutePluginInstanceAction",
4280 "parameters": [
4281 {
4282 "type": "context.Context",
4283 "name": "ctx"
4284 },
4285 {
4286 "type": "apihubpb.ExecutePluginInstanceActionRequest",
4287 "name": "req"
4288 },
4289 {
4290 "type": "...gax.CallOption",
4291 "name": "opts"
4292 }
4293 ],
4294 "resultType": "ExecutePluginInstanceActionOperation",
4295 "client": {
4296 "shortName": "ApiHubPluginClient",
4297 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4298 },
4299 "method": {
4300 "shortName": "ExecutePluginInstanceAction",
4301 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction",
4302 "service": {
4303 "shortName": "ApiHubPlugin",
4304 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4305 }
4306 }
4307 },
4308 "origin": "API_DEFINITION",
4309 "segments": [
4310 {
4311 "start": 18,
4312 "end": 58,
4313 "type": "FULL"
4314 }
4315 ]
4316 },
4317 {
4318 "regionTag": "apihub_v1_generated_ApiHubPlugin_GetLocation_sync",
4319 "title": "apihub GetLocation Sample",
4320 "description": "GetLocation gets information about a location.",
4321 "file": "ApiHubPluginClient/GetLocation/main.go",
4322 "language": "GO",
4323 "clientMethod": {
4324 "shortName": "GetLocation",
4325 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.GetLocation",
4326 "parameters": [
4327 {
4328 "type": "context.Context",
4329 "name": "ctx"
4330 },
4331 {
4332 "type": "locationpb.GetLocationRequest",
4333 "name": "req"
4334 },
4335 {
4336 "type": "...gax.CallOption",
4337 "name": "opts"
4338 }
4339 ],
4340 "resultType": "*locationpb.Location",
4341 "client": {
4342 "shortName": "ApiHubPluginClient",
4343 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4344 },
4345 "method": {
4346 "shortName": "GetLocation",
4347 "fullName": "google.cloud.location.Locations.GetLocation",
4348 "service": {
4349 "shortName": "Locations",
4350 "fullName": "google.cloud.location.Locations"
4351 }
4352 }
4353 },
4354 "origin": "API_DEFINITION",
4355 "segments": [
4356 {
4357 "start": 18,
4358 "end": 53,
4359 "type": "FULL"
4360 }
4361 ]
4362 },
4363 {
4364 "regionTag": "apihub_v1_generated_ApiHubPlugin_GetOperation_sync",
4365 "title": "apihub GetOperation Sample",
4366 "description": "GetOperation is a utility method from google.longrunning.Operations.",
4367 "file": "ApiHubPluginClient/GetOperation/main.go",
4368 "language": "GO",
4369 "clientMethod": {
4370 "shortName": "GetOperation",
4371 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.GetOperation",
4372 "parameters": [
4373 {
4374 "type": "context.Context",
4375 "name": "ctx"
4376 },
4377 {
4378 "type": "longrunningpb.GetOperationRequest",
4379 "name": "req"
4380 },
4381 {
4382 "type": "...gax.CallOption",
4383 "name": "opts"
4384 }
4385 ],
4386 "resultType": "*longrunningpb.Operation",
4387 "client": {
4388 "shortName": "ApiHubPluginClient",
4389 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4390 },
4391 "method": {
4392 "shortName": "GetOperation",
4393 "fullName": "google.longrunning.Operations.GetOperation",
4394 "service": {
4395 "shortName": "Operations",
4396 "fullName": "google.longrunning.Operations"
4397 }
4398 }
4399 },
4400 "origin": "API_DEFINITION",
4401 "segments": [
4402 {
4403 "start": 18,
4404 "end": 53,
4405 "type": "FULL"
4406 }
4407 ]
4408 },
4409 {
4410 "regionTag": "apihub_v1_generated_ApiHubPlugin_GetPlugin_sync",
4411 "title": "apihub GetPlugin Sample",
4412 "description": "GetPlugin get an API Hub plugin.",
4413 "file": "ApiHubPluginClient/GetPlugin/main.go",
4414 "language": "GO",
4415 "clientMethod": {
4416 "shortName": "GetPlugin",
4417 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.GetPlugin",
4418 "parameters": [
4419 {
4420 "type": "context.Context",
4421 "name": "ctx"
4422 },
4423 {
4424 "type": "apihubpb.GetPluginRequest",
4425 "name": "req"
4426 },
4427 {
4428 "type": "...gax.CallOption",
4429 "name": "opts"
4430 }
4431 ],
4432 "resultType": "*apihubpb.Plugin",
4433 "client": {
4434 "shortName": "ApiHubPluginClient",
4435 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4436 },
4437 "method": {
4438 "shortName": "GetPlugin",
4439 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.GetPlugin",
4440 "service": {
4441 "shortName": "ApiHubPlugin",
4442 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4443 }
4444 }
4445 },
4446 "origin": "API_DEFINITION",
4447 "segments": [
4448 {
4449 "start": 18,
4450 "end": 53,
4451 "type": "FULL"
4452 }
4453 ]
4454 },
4455 {
4456 "regionTag": "apihub_v1_generated_ApiHubPlugin_GetPluginInstance_sync",
4457 "title": "apihub GetPluginInstance Sample",
4458 "description": "GetPluginInstance get an API Hub plugin instance.",
4459 "file": "ApiHubPluginClient/GetPluginInstance/main.go",
4460 "language": "GO",
4461 "clientMethod": {
4462 "shortName": "GetPluginInstance",
4463 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.GetPluginInstance",
4464 "parameters": [
4465 {
4466 "type": "context.Context",
4467 "name": "ctx"
4468 },
4469 {
4470 "type": "apihubpb.GetPluginInstanceRequest",
4471 "name": "req"
4472 },
4473 {
4474 "type": "...gax.CallOption",
4475 "name": "opts"
4476 }
4477 ],
4478 "resultType": "*apihubpb.PluginInstance",
4479 "client": {
4480 "shortName": "ApiHubPluginClient",
4481 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4482 },
4483 "method": {
4484 "shortName": "GetPluginInstance",
4485 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.GetPluginInstance",
4486 "service": {
4487 "shortName": "ApiHubPlugin",
4488 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4489 }
4490 }
4491 },
4492 "origin": "API_DEFINITION",
4493 "segments": [
4494 {
4495 "start": 18,
4496 "end": 53,
4497 "type": "FULL"
4498 }
4499 ]
4500 },
4501 {
4502 "regionTag": "apihub_v1_generated_ApiHubPlugin_ListLocations_sync",
4503 "title": "apihub ListLocations Sample",
4504 "description": "ListLocations lists information about the supported locations for this service.",
4505 "file": "ApiHubPluginClient/ListLocations/main.go",
4506 "language": "GO",
4507 "clientMethod": {
4508 "shortName": "ListLocations",
4509 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ListLocations",
4510 "parameters": [
4511 {
4512 "type": "context.Context",
4513 "name": "ctx"
4514 },
4515 {
4516 "type": "locationpb.ListLocationsRequest",
4517 "name": "req"
4518 },
4519 {
4520 "type": "...gax.CallOption",
4521 "name": "opts"
4522 }
4523 ],
4524 "resultType": "LocationIterator",
4525 "client": {
4526 "shortName": "ApiHubPluginClient",
4527 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4528 },
4529 "method": {
4530 "shortName": "ListLocations",
4531 "fullName": "google.cloud.location.Locations.ListLocations",
4532 "service": {
4533 "shortName": "Locations",
4534 "fullName": "google.cloud.location.Locations"
4535 }
4536 }
4537 },
4538 "origin": "API_DEFINITION",
4539 "segments": [
4540 {
4541 "start": 18,
4542 "end": 66,
4543 "type": "FULL"
4544 }
4545 ]
4546 },
4547 {
4548 "regionTag": "apihub_v1_generated_ApiHubPlugin_ListOperations_sync",
4549 "title": "apihub ListOperations Sample",
4550 "description": "ListOperations is a utility method from google.longrunning.Operations.",
4551 "file": "ApiHubPluginClient/ListOperations/main.go",
4552 "language": "GO",
4553 "clientMethod": {
4554 "shortName": "ListOperations",
4555 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ListOperations",
4556 "parameters": [
4557 {
4558 "type": "context.Context",
4559 "name": "ctx"
4560 },
4561 {
4562 "type": "longrunningpb.ListOperationsRequest",
4563 "name": "req"
4564 },
4565 {
4566 "type": "...gax.CallOption",
4567 "name": "opts"
4568 }
4569 ],
4570 "resultType": "OperationIterator",
4571 "client": {
4572 "shortName": "ApiHubPluginClient",
4573 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4574 },
4575 "method": {
4576 "shortName": "ListOperations",
4577 "fullName": "google.longrunning.Operations.ListOperations",
4578 "service": {
4579 "shortName": "Operations",
4580 "fullName": "google.longrunning.Operations"
4581 }
4582 }
4583 },
4584 "origin": "API_DEFINITION",
4585 "segments": [
4586 {
4587 "start": 18,
4588 "end": 66,
4589 "type": "FULL"
4590 }
4591 ]
4592 },
4593 {
4594 "regionTag": "apihub_v1_generated_ApiHubPlugin_ListPluginInstances_sync",
4595 "title": "apihub ListPluginInstances Sample",
4596 "description": "ListPluginInstances list all the plugins in a given project and location.\n`-` can be used as wildcard value for {plugin_id}",
4597 "file": "ApiHubPluginClient/ListPluginInstances/main.go",
4598 "language": "GO",
4599 "clientMethod": {
4600 "shortName": "ListPluginInstances",
4601 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ListPluginInstances",
4602 "parameters": [
4603 {
4604 "type": "context.Context",
4605 "name": "ctx"
4606 },
4607 {
4608 "type": "apihubpb.ListPluginInstancesRequest",
4609 "name": "req"
4610 },
4611 {
4612 "type": "...gax.CallOption",
4613 "name": "opts"
4614 }
4615 ],
4616 "resultType": "PluginInstanceIterator",
4617 "client": {
4618 "shortName": "ApiHubPluginClient",
4619 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4620 },
4621 "method": {
4622 "shortName": "ListPluginInstances",
4623 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.ListPluginInstances",
4624 "service": {
4625 "shortName": "ApiHubPlugin",
4626 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4627 }
4628 }
4629 },
4630 "origin": "API_DEFINITION",
4631 "segments": [
4632 {
4633 "start": 18,
4634 "end": 66,
4635 "type": "FULL"
4636 }
4637 ]
4638 },
4639 {
4640 "regionTag": "apihub_v1_generated_ApiHubPlugin_ListPlugins_sync",
4641 "title": "apihub ListPlugins Sample",
4642 "description": "ListPlugins list all the plugins in a given project and location.",
4643 "file": "ApiHubPluginClient/ListPlugins/main.go",
4644 "language": "GO",
4645 "clientMethod": {
4646 "shortName": "ListPlugins",
4647 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ListPlugins",
4648 "parameters": [
4649 {
4650 "type": "context.Context",
4651 "name": "ctx"
4652 },
4653 {
4654 "type": "apihubpb.ListPluginsRequest",
4655 "name": "req"
4656 },
4657 {
4658 "type": "...gax.CallOption",
4659 "name": "opts"
4660 }
4661 ],
4662 "resultType": "PluginIterator",
4663 "client": {
4664 "shortName": "ApiHubPluginClient",
4665 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4666 },
4667 "method": {
4668 "shortName": "ListPlugins",
4669 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.ListPlugins",
4670 "service": {
4671 "shortName": "ApiHubPlugin",
4672 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4673 }
4674 }
4675 },
4676 "origin": "API_DEFINITION",
4677 "segments": [
4678 {
4679 "start": 18,
4680 "end": 66,
4681 "type": "FULL"
4682 }
4683 ]
4684 },
4685 {
4686 "regionTag": "apihub_v1_generated_ApiHubPlugin_UpdatePluginInstance_sync",
4687 "title": "apihub UpdatePluginInstance Sample",
4688 "description": "UpdatePluginInstance updates a plugin instance in the API hub.\nThe following fields in the\n[plugin_instance][google.cloud.apihub.v1.PluginInstance] can be updated\ncurrently: \n\n* [display_name][google.cloud.apihub.v1.PluginInstance.display_name]\n* [schedule_cron_expression][PluginInstance.actions.schedule_cron_expression]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdatePluginInstanceRequest.update_mask]\nshould be used to specify the fields being updated.\n\nTo update the\n[auth_config][google.cloud.apihub.v1.PluginInstance.auth_config] and\n[additional_config][google.cloud.apihub.v1.PluginInstance.additional_config]\nof the plugin instance, use the\n[ApplyPluginInstanceConfig][google.cloud.apihub.v1.ApiHubPlugin.ApplyPluginInstanceConfig]\nmethod.",
4689 "file": "ApiHubPluginClient/UpdatePluginInstance/main.go",
4690 "language": "GO",
4691 "clientMethod": {
4692 "shortName": "UpdatePluginInstance",
4693 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.UpdatePluginInstance",
4694 "parameters": [
4695 {
4696 "type": "context.Context",
4697 "name": "ctx"
4698 },
4699 {
4700 "type": "apihubpb.UpdatePluginInstanceRequest",
4701 "name": "req"
4702 },
4703 {
4704 "type": "...gax.CallOption",
4705 "name": "opts"
4706 }
4707 ],
4708 "resultType": "*apihubpb.PluginInstance",
4709 "client": {
4710 "shortName": "ApiHubPluginClient",
4711 "fullName": "google.cloud.apihub.v1.ApiHubPluginClient"
4712 },
4713 "method": {
4714 "shortName": "UpdatePluginInstance",
4715 "fullName": "google.cloud.apihub.v1.ApiHubPlugin.UpdatePluginInstance",
4716 "service": {
4717 "shortName": "ApiHubPlugin",
4718 "fullName": "google.cloud.apihub.v1.ApiHubPlugin"
4719 }
4720 }
4721 },
4722 "origin": "API_DEFINITION",
4723 "segments": [
4724 {
4725 "start": 18,
4726 "end": 53,
4727 "type": "FULL"
4728 }
4729 ]
4730 },
4731 {
4732 "regionTag": "apihub_v1_generated_HostProjectRegistrationService_CancelOperation_sync",
4733 "title": "apihub CancelOperation Sample",
4734 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
4735 "file": "HostProjectRegistrationClient/CancelOperation/main.go",
4736 "language": "GO",
4737 "clientMethod": {
4738 "shortName": "CancelOperation",
4739 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.CancelOperation",
4740 "parameters": [
4741 {
4742 "type": "context.Context",
4743 "name": "ctx"
4744 },
4745 {
4746 "type": "longrunningpb.CancelOperationRequest",
4747 "name": "req"
4748 },
4749 {
4750 "type": "...gax.CallOption",
4751 "name": "opts"
4752 }
4753 ],
4754 "client": {
4755 "shortName": "HostProjectRegistrationClient",
4756 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient"
4757 },
4758 "method": {
4759 "shortName": "CancelOperation",
4760 "fullName": "google.longrunning.Operations.CancelOperation",
4761 "service": {
4762 "shortName": "Operations",
4763 "fullName": "google.longrunning.Operations"
4764 }
4765 }
4766 },
4767 "origin": "API_DEFINITION",
4768 "segments": [
4769 {
4770 "start": 18,
4771 "end": 51,
4772 "type": "FULL"
4773 }
4774 ]
4775 },
4776 {
4777 "regionTag": "apihub_v1_generated_HostProjectRegistrationService_CreateHostProjectRegistration_sync",
4778 "title": "apihub CreateHostProjectRegistration Sample",
4779 "description": "CreateHostProjectRegistration create a host project registration.\nA Google cloud project can be registered as a host project if it is not\nattached as a runtime project to another host project.\nA project can be registered as a host project only once. Subsequent\nregister calls for the same project will fail.",
4780 "file": "HostProjectRegistrationClient/CreateHostProjectRegistration/main.go",
4781 "language": "GO",
4782 "clientMethod": {
4783 "shortName": "CreateHostProjectRegistration",
4784 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.CreateHostProjectRegistration",
4785 "parameters": [
4786 {
4787 "type": "context.Context",
4788 "name": "ctx"
4789 },
4790 {
4791 "type": "apihubpb.CreateHostProjectRegistrationRequest",
4792 "name": "req"
4793 },
4794 {
4795 "type": "...gax.CallOption",
4796 "name": "opts"
4797 }
4798 ],
4799 "resultType": "*apihubpb.HostProjectRegistration",
4800 "client": {
4801 "shortName": "HostProjectRegistrationClient",
4802 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient"
4803 },
4804 "method": {
4805 "shortName": "CreateHostProjectRegistration",
4806 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService.CreateHostProjectRegistration",
4807 "service": {
4808 "shortName": "HostProjectRegistrationService",
4809 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService"
4810 }
4811 }
4812 },
4813 "origin": "API_DEFINITION",
4814 "segments": [
4815 {
4816 "start": 18,
4817 "end": 53,
4818 "type": "FULL"
4819 }
4820 ]
4821 },
4822 {
4823 "regionTag": "apihub_v1_generated_HostProjectRegistrationService_DeleteOperation_sync",
4824 "title": "apihub DeleteOperation Sample",
4825 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
4826 "file": "HostProjectRegistrationClient/DeleteOperation/main.go",
4827 "language": "GO",
4828 "clientMethod": {
4829 "shortName": "DeleteOperation",
4830 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.DeleteOperation",
4831 "parameters": [
4832 {
4833 "type": "context.Context",
4834 "name": "ctx"
4835 },
4836 {
4837 "type": "longrunningpb.DeleteOperationRequest",
4838 "name": "req"
4839 },
4840 {
4841 "type": "...gax.CallOption",
4842 "name": "opts"
4843 }
4844 ],
4845 "client": {
4846 "shortName": "HostProjectRegistrationClient",
4847 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient"
4848 },
4849 "method": {
4850 "shortName": "DeleteOperation",
4851 "fullName": "google.longrunning.Operations.DeleteOperation",
4852 "service": {
4853 "shortName": "Operations",
4854 "fullName": "google.longrunning.Operations"
4855 }
4856 }
4857 },
4858 "origin": "API_DEFINITION",
4859 "segments": [
4860 {
4861 "start": 18,
4862 "end": 51,
4863 "type": "FULL"
4864 }
4865 ]
4866 },
4867 {
4868 "regionTag": "apihub_v1_generated_HostProjectRegistrationService_GetHostProjectRegistration_sync",
4869 "title": "apihub GetHostProjectRegistration Sample",
4870 "description": "GetHostProjectRegistration get a host project registration.",
4871 "file": "HostProjectRegistrationClient/GetHostProjectRegistration/main.go",
4872 "language": "GO",
4873 "clientMethod": {
4874 "shortName": "GetHostProjectRegistration",
4875 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.GetHostProjectRegistration",
4876 "parameters": [
4877 {
4878 "type": "context.Context",
4879 "name": "ctx"
4880 },
4881 {
4882 "type": "apihubpb.GetHostProjectRegistrationRequest",
4883 "name": "req"
4884 },
4885 {
4886 "type": "...gax.CallOption",
4887 "name": "opts"
4888 }
4889 ],
4890 "resultType": "*apihubpb.HostProjectRegistration",
4891 "client": {
4892 "shortName": "HostProjectRegistrationClient",
4893 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient"
4894 },
4895 "method": {
4896 "shortName": "GetHostProjectRegistration",
4897 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService.GetHostProjectRegistration",
4898 "service": {
4899 "shortName": "HostProjectRegistrationService",
4900 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService"
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": "apihub_v1_generated_HostProjectRegistrationService_GetLocation_sync",
4915 "title": "apihub GetLocation Sample",
4916 "description": "GetLocation gets information about a location.",
4917 "file": "HostProjectRegistrationClient/GetLocation/main.go",
4918 "language": "GO",
4919 "clientMethod": {
4920 "shortName": "GetLocation",
4921 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.GetLocation",
4922 "parameters": [
4923 {
4924 "type": "context.Context",
4925 "name": "ctx"
4926 },
4927 {
4928 "type": "locationpb.GetLocationRequest",
4929 "name": "req"
4930 },
4931 {
4932 "type": "...gax.CallOption",
4933 "name": "opts"
4934 }
4935 ],
4936 "resultType": "*locationpb.Location",
4937 "client": {
4938 "shortName": "HostProjectRegistrationClient",
4939 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient"
4940 },
4941 "method": {
4942 "shortName": "GetLocation",
4943 "fullName": "google.cloud.location.Locations.GetLocation",
4944 "service": {
4945 "shortName": "Locations",
4946 "fullName": "google.cloud.location.Locations"
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": "apihub_v1_generated_HostProjectRegistrationService_GetOperation_sync",
4961 "title": "apihub GetOperation Sample",
4962 "description": "GetOperation is a utility method from google.longrunning.Operations.",
4963 "file": "HostProjectRegistrationClient/GetOperation/main.go",
4964 "language": "GO",
4965 "clientMethod": {
4966 "shortName": "GetOperation",
4967 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.GetOperation",
4968 "parameters": [
4969 {
4970 "type": "context.Context",
4971 "name": "ctx"
4972 },
4973 {
4974 "type": "longrunningpb.GetOperationRequest",
4975 "name": "req"
4976 },
4977 {
4978 "type": "...gax.CallOption",
4979 "name": "opts"
4980 }
4981 ],
4982 "resultType": "*longrunningpb.Operation",
4983 "client": {
4984 "shortName": "HostProjectRegistrationClient",
4985 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient"
4986 },
4987 "method": {
4988 "shortName": "GetOperation",
4989 "fullName": "google.longrunning.Operations.GetOperation",
4990 "service": {
4991 "shortName": "Operations",
4992 "fullName": "google.longrunning.Operations"
4993 }
4994 }
4995 },
4996 "origin": "API_DEFINITION",
4997 "segments": [
4998 {
4999 "start": 18,
5000 "end": 53,
5001 "type": "FULL"
5002 }
5003 ]
5004 },
5005 {
5006 "regionTag": "apihub_v1_generated_HostProjectRegistrationService_ListHostProjectRegistrations_sync",
5007 "title": "apihub ListHostProjectRegistrations Sample",
5008 "description": "ListHostProjectRegistrations lists host project registrations.",
5009 "file": "HostProjectRegistrationClient/ListHostProjectRegistrations/main.go",
5010 "language": "GO",
5011 "clientMethod": {
5012 "shortName": "ListHostProjectRegistrations",
5013 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.ListHostProjectRegistrations",
5014 "parameters": [
5015 {
5016 "type": "context.Context",
5017 "name": "ctx"
5018 },
5019 {
5020 "type": "apihubpb.ListHostProjectRegistrationsRequest",
5021 "name": "req"
5022 },
5023 {
5024 "type": "...gax.CallOption",
5025 "name": "opts"
5026 }
5027 ],
5028 "resultType": "HostProjectRegistrationIterator",
5029 "client": {
5030 "shortName": "HostProjectRegistrationClient",
5031 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient"
5032 },
5033 "method": {
5034 "shortName": "ListHostProjectRegistrations",
5035 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService.ListHostProjectRegistrations",
5036 "service": {
5037 "shortName": "HostProjectRegistrationService",
5038 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService"
5039 }
5040 }
5041 },
5042 "origin": "API_DEFINITION",
5043 "segments": [
5044 {
5045 "start": 18,
5046 "end": 66,
5047 "type": "FULL"
5048 }
5049 ]
5050 },
5051 {
5052 "regionTag": "apihub_v1_generated_HostProjectRegistrationService_ListLocations_sync",
5053 "title": "apihub ListLocations Sample",
5054 "description": "ListLocations lists information about the supported locations for this service.",
5055 "file": "HostProjectRegistrationClient/ListLocations/main.go",
5056 "language": "GO",
5057 "clientMethod": {
5058 "shortName": "ListLocations",
5059 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.ListLocations",
5060 "parameters": [
5061 {
5062 "type": "context.Context",
5063 "name": "ctx"
5064 },
5065 {
5066 "type": "locationpb.ListLocationsRequest",
5067 "name": "req"
5068 },
5069 {
5070 "type": "...gax.CallOption",
5071 "name": "opts"
5072 }
5073 ],
5074 "resultType": "LocationIterator",
5075 "client": {
5076 "shortName": "HostProjectRegistrationClient",
5077 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient"
5078 },
5079 "method": {
5080 "shortName": "ListLocations",
5081 "fullName": "google.cloud.location.Locations.ListLocations",
5082 "service": {
5083 "shortName": "Locations",
5084 "fullName": "google.cloud.location.Locations"
5085 }
5086 }
5087 },
5088 "origin": "API_DEFINITION",
5089 "segments": [
5090 {
5091 "start": 18,
5092 "end": 66,
5093 "type": "FULL"
5094 }
5095 ]
5096 },
5097 {
5098 "regionTag": "apihub_v1_generated_HostProjectRegistrationService_ListOperations_sync",
5099 "title": "apihub ListOperations Sample",
5100 "description": "ListOperations is a utility method from google.longrunning.Operations.",
5101 "file": "HostProjectRegistrationClient/ListOperations/main.go",
5102 "language": "GO",
5103 "clientMethod": {
5104 "shortName": "ListOperations",
5105 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.ListOperations",
5106 "parameters": [
5107 {
5108 "type": "context.Context",
5109 "name": "ctx"
5110 },
5111 {
5112 "type": "longrunningpb.ListOperationsRequest",
5113 "name": "req"
5114 },
5115 {
5116 "type": "...gax.CallOption",
5117 "name": "opts"
5118 }
5119 ],
5120 "resultType": "OperationIterator",
5121 "client": {
5122 "shortName": "HostProjectRegistrationClient",
5123 "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient"
5124 },
5125 "method": {
5126 "shortName": "ListOperations",
5127 "fullName": "google.longrunning.Operations.ListOperations",
5128 "service": {
5129 "shortName": "Operations",
5130 "fullName": "google.longrunning.Operations"
5131 }
5132 }
5133 },
5134 "origin": "API_DEFINITION",
5135 "segments": [
5136 {
5137 "start": 18,
5138 "end": 66,
5139 "type": "FULL"
5140 }
5141 ]
5142 },
5143 {
5144 "regionTag": "apihub_v1_generated_LintingService_CancelOperation_sync",
5145 "title": "apihub CancelOperation Sample",
5146 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
5147 "file": "LintingClient/CancelOperation/main.go",
5148 "language": "GO",
5149 "clientMethod": {
5150 "shortName": "CancelOperation",
5151 "fullName": "google.cloud.apihub.v1.LintingClient.CancelOperation",
5152 "parameters": [
5153 {
5154 "type": "context.Context",
5155 "name": "ctx"
5156 },
5157 {
5158 "type": "longrunningpb.CancelOperationRequest",
5159 "name": "req"
5160 },
5161 {
5162 "type": "...gax.CallOption",
5163 "name": "opts"
5164 }
5165 ],
5166 "client": {
5167 "shortName": "LintingClient",
5168 "fullName": "google.cloud.apihub.v1.LintingClient"
5169 },
5170 "method": {
5171 "shortName": "CancelOperation",
5172 "fullName": "google.longrunning.Operations.CancelOperation",
5173 "service": {
5174 "shortName": "Operations",
5175 "fullName": "google.longrunning.Operations"
5176 }
5177 }
5178 },
5179 "origin": "API_DEFINITION",
5180 "segments": [
5181 {
5182 "start": 18,
5183 "end": 51,
5184 "type": "FULL"
5185 }
5186 ]
5187 },
5188 {
5189 "regionTag": "apihub_v1_generated_LintingService_DeleteOperation_sync",
5190 "title": "apihub DeleteOperation Sample",
5191 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
5192 "file": "LintingClient/DeleteOperation/main.go",
5193 "language": "GO",
5194 "clientMethod": {
5195 "shortName": "DeleteOperation",
5196 "fullName": "google.cloud.apihub.v1.LintingClient.DeleteOperation",
5197 "parameters": [
5198 {
5199 "type": "context.Context",
5200 "name": "ctx"
5201 },
5202 {
5203 "type": "longrunningpb.DeleteOperationRequest",
5204 "name": "req"
5205 },
5206 {
5207 "type": "...gax.CallOption",
5208 "name": "opts"
5209 }
5210 ],
5211 "client": {
5212 "shortName": "LintingClient",
5213 "fullName": "google.cloud.apihub.v1.LintingClient"
5214 },
5215 "method": {
5216 "shortName": "DeleteOperation",
5217 "fullName": "google.longrunning.Operations.DeleteOperation",
5218 "service": {
5219 "shortName": "Operations",
5220 "fullName": "google.longrunning.Operations"
5221 }
5222 }
5223 },
5224 "origin": "API_DEFINITION",
5225 "segments": [
5226 {
5227 "start": 18,
5228 "end": 51,
5229 "type": "FULL"
5230 }
5231 ]
5232 },
5233 {
5234 "regionTag": "apihub_v1_generated_LintingService_GetLocation_sync",
5235 "title": "apihub GetLocation Sample",
5236 "description": "GetLocation gets information about a location.",
5237 "file": "LintingClient/GetLocation/main.go",
5238 "language": "GO",
5239 "clientMethod": {
5240 "shortName": "GetLocation",
5241 "fullName": "google.cloud.apihub.v1.LintingClient.GetLocation",
5242 "parameters": [
5243 {
5244 "type": "context.Context",
5245 "name": "ctx"
5246 },
5247 {
5248 "type": "locationpb.GetLocationRequest",
5249 "name": "req"
5250 },
5251 {
5252 "type": "...gax.CallOption",
5253 "name": "opts"
5254 }
5255 ],
5256 "resultType": "*locationpb.Location",
5257 "client": {
5258 "shortName": "LintingClient",
5259 "fullName": "google.cloud.apihub.v1.LintingClient"
5260 },
5261 "method": {
5262 "shortName": "GetLocation",
5263 "fullName": "google.cloud.location.Locations.GetLocation",
5264 "service": {
5265 "shortName": "Locations",
5266 "fullName": "google.cloud.location.Locations"
5267 }
5268 }
5269 },
5270 "origin": "API_DEFINITION",
5271 "segments": [
5272 {
5273 "start": 18,
5274 "end": 53,
5275 "type": "FULL"
5276 }
5277 ]
5278 },
5279 {
5280 "regionTag": "apihub_v1_generated_LintingService_GetOperation_sync",
5281 "title": "apihub GetOperation Sample",
5282 "description": "GetOperation is a utility method from google.longrunning.Operations.",
5283 "file": "LintingClient/GetOperation/main.go",
5284 "language": "GO",
5285 "clientMethod": {
5286 "shortName": "GetOperation",
5287 "fullName": "google.cloud.apihub.v1.LintingClient.GetOperation",
5288 "parameters": [
5289 {
5290 "type": "context.Context",
5291 "name": "ctx"
5292 },
5293 {
5294 "type": "longrunningpb.GetOperationRequest",
5295 "name": "req"
5296 },
5297 {
5298 "type": "...gax.CallOption",
5299 "name": "opts"
5300 }
5301 ],
5302 "resultType": "*longrunningpb.Operation",
5303 "client": {
5304 "shortName": "LintingClient",
5305 "fullName": "google.cloud.apihub.v1.LintingClient"
5306 },
5307 "method": {
5308 "shortName": "GetOperation",
5309 "fullName": "google.longrunning.Operations.GetOperation",
5310 "service": {
5311 "shortName": "Operations",
5312 "fullName": "google.longrunning.Operations"
5313 }
5314 }
5315 },
5316 "origin": "API_DEFINITION",
5317 "segments": [
5318 {
5319 "start": 18,
5320 "end": 53,
5321 "type": "FULL"
5322 }
5323 ]
5324 },
5325 {
5326 "regionTag": "apihub_v1_generated_LintingService_GetStyleGuide_sync",
5327 "title": "apihub GetStyleGuide Sample",
5328 "description": "GetStyleGuide get the style guide being used for linting.",
5329 "file": "LintingClient/GetStyleGuide/main.go",
5330 "language": "GO",
5331 "clientMethod": {
5332 "shortName": "GetStyleGuide",
5333 "fullName": "google.cloud.apihub.v1.LintingClient.GetStyleGuide",
5334 "parameters": [
5335 {
5336 "type": "context.Context",
5337 "name": "ctx"
5338 },
5339 {
5340 "type": "apihubpb.GetStyleGuideRequest",
5341 "name": "req"
5342 },
5343 {
5344 "type": "...gax.CallOption",
5345 "name": "opts"
5346 }
5347 ],
5348 "resultType": "*apihubpb.StyleGuide",
5349 "client": {
5350 "shortName": "LintingClient",
5351 "fullName": "google.cloud.apihub.v1.LintingClient"
5352 },
5353 "method": {
5354 "shortName": "GetStyleGuide",
5355 "fullName": "google.cloud.apihub.v1.LintingService.GetStyleGuide",
5356 "service": {
5357 "shortName": "LintingService",
5358 "fullName": "google.cloud.apihub.v1.LintingService"
5359 }
5360 }
5361 },
5362 "origin": "API_DEFINITION",
5363 "segments": [
5364 {
5365 "start": 18,
5366 "end": 53,
5367 "type": "FULL"
5368 }
5369 ]
5370 },
5371 {
5372 "regionTag": "apihub_v1_generated_LintingService_GetStyleGuideContents_sync",
5373 "title": "apihub GetStyleGuideContents Sample",
5374 "description": "GetStyleGuideContents get the contents of the style guide.",
5375 "file": "LintingClient/GetStyleGuideContents/main.go",
5376 "language": "GO",
5377 "clientMethod": {
5378 "shortName": "GetStyleGuideContents",
5379 "fullName": "google.cloud.apihub.v1.LintingClient.GetStyleGuideContents",
5380 "parameters": [
5381 {
5382 "type": "context.Context",
5383 "name": "ctx"
5384 },
5385 {
5386 "type": "apihubpb.GetStyleGuideContentsRequest",
5387 "name": "req"
5388 },
5389 {
5390 "type": "...gax.CallOption",
5391 "name": "opts"
5392 }
5393 ],
5394 "resultType": "*apihubpb.StyleGuideContents",
5395 "client": {
5396 "shortName": "LintingClient",
5397 "fullName": "google.cloud.apihub.v1.LintingClient"
5398 },
5399 "method": {
5400 "shortName": "GetStyleGuideContents",
5401 "fullName": "google.cloud.apihub.v1.LintingService.GetStyleGuideContents",
5402 "service": {
5403 "shortName": "LintingService",
5404 "fullName": "google.cloud.apihub.v1.LintingService"
5405 }
5406 }
5407 },
5408 "origin": "API_DEFINITION",
5409 "segments": [
5410 {
5411 "start": 18,
5412 "end": 53,
5413 "type": "FULL"
5414 }
5415 ]
5416 },
5417 {
5418 "regionTag": "apihub_v1_generated_LintingService_LintSpec_sync",
5419 "title": "apihub LintSpec Sample",
5420 "description": "LintSpec lints the requested spec and updates the corresponding API Spec with the\nlint response. This lint response will be available in all subsequent\nGet and List Spec calls to Core service.",
5421 "file": "LintingClient/LintSpec/main.go",
5422 "language": "GO",
5423 "clientMethod": {
5424 "shortName": "LintSpec",
5425 "fullName": "google.cloud.apihub.v1.LintingClient.LintSpec",
5426 "parameters": [
5427 {
5428 "type": "context.Context",
5429 "name": "ctx"
5430 },
5431 {
5432 "type": "apihubpb.LintSpecRequest",
5433 "name": "req"
5434 },
5435 {
5436 "type": "...gax.CallOption",
5437 "name": "opts"
5438 }
5439 ],
5440 "client": {
5441 "shortName": "LintingClient",
5442 "fullName": "google.cloud.apihub.v1.LintingClient"
5443 },
5444 "method": {
5445 "shortName": "LintSpec",
5446 "fullName": "google.cloud.apihub.v1.LintingService.LintSpec",
5447 "service": {
5448 "shortName": "LintingService",
5449 "fullName": "google.cloud.apihub.v1.LintingService"
5450 }
5451 }
5452 },
5453 "origin": "API_DEFINITION",
5454 "segments": [
5455 {
5456 "start": 18,
5457 "end": 51,
5458 "type": "FULL"
5459 }
5460 ]
5461 },
5462 {
5463 "regionTag": "apihub_v1_generated_LintingService_ListLocations_sync",
5464 "title": "apihub ListLocations Sample",
5465 "description": "ListLocations lists information about the supported locations for this service.",
5466 "file": "LintingClient/ListLocations/main.go",
5467 "language": "GO",
5468 "clientMethod": {
5469 "shortName": "ListLocations",
5470 "fullName": "google.cloud.apihub.v1.LintingClient.ListLocations",
5471 "parameters": [
5472 {
5473 "type": "context.Context",
5474 "name": "ctx"
5475 },
5476 {
5477 "type": "locationpb.ListLocationsRequest",
5478 "name": "req"
5479 },
5480 {
5481 "type": "...gax.CallOption",
5482 "name": "opts"
5483 }
5484 ],
5485 "resultType": "LocationIterator",
5486 "client": {
5487 "shortName": "LintingClient",
5488 "fullName": "google.cloud.apihub.v1.LintingClient"
5489 },
5490 "method": {
5491 "shortName": "ListLocations",
5492 "fullName": "google.cloud.location.Locations.ListLocations",
5493 "service": {
5494 "shortName": "Locations",
5495 "fullName": "google.cloud.location.Locations"
5496 }
5497 }
5498 },
5499 "origin": "API_DEFINITION",
5500 "segments": [
5501 {
5502 "start": 18,
5503 "end": 66,
5504 "type": "FULL"
5505 }
5506 ]
5507 },
5508 {
5509 "regionTag": "apihub_v1_generated_LintingService_ListOperations_sync",
5510 "title": "apihub ListOperations Sample",
5511 "description": "ListOperations is a utility method from google.longrunning.Operations.",
5512 "file": "LintingClient/ListOperations/main.go",
5513 "language": "GO",
5514 "clientMethod": {
5515 "shortName": "ListOperations",
5516 "fullName": "google.cloud.apihub.v1.LintingClient.ListOperations",
5517 "parameters": [
5518 {
5519 "type": "context.Context",
5520 "name": "ctx"
5521 },
5522 {
5523 "type": "longrunningpb.ListOperationsRequest",
5524 "name": "req"
5525 },
5526 {
5527 "type": "...gax.CallOption",
5528 "name": "opts"
5529 }
5530 ],
5531 "resultType": "OperationIterator",
5532 "client": {
5533 "shortName": "LintingClient",
5534 "fullName": "google.cloud.apihub.v1.LintingClient"
5535 },
5536 "method": {
5537 "shortName": "ListOperations",
5538 "fullName": "google.longrunning.Operations.ListOperations",
5539 "service": {
5540 "shortName": "Operations",
5541 "fullName": "google.longrunning.Operations"
5542 }
5543 }
5544 },
5545 "origin": "API_DEFINITION",
5546 "segments": [
5547 {
5548 "start": 18,
5549 "end": 66,
5550 "type": "FULL"
5551 }
5552 ]
5553 },
5554 {
5555 "regionTag": "apihub_v1_generated_LintingService_UpdateStyleGuide_sync",
5556 "title": "apihub UpdateStyleGuide Sample",
5557 "description": "UpdateStyleGuide update the styleGuide to be used for liniting in by API hub.",
5558 "file": "LintingClient/UpdateStyleGuide/main.go",
5559 "language": "GO",
5560 "clientMethod": {
5561 "shortName": "UpdateStyleGuide",
5562 "fullName": "google.cloud.apihub.v1.LintingClient.UpdateStyleGuide",
5563 "parameters": [
5564 {
5565 "type": "context.Context",
5566 "name": "ctx"
5567 },
5568 {
5569 "type": "apihubpb.UpdateStyleGuideRequest",
5570 "name": "req"
5571 },
5572 {
5573 "type": "...gax.CallOption",
5574 "name": "opts"
5575 }
5576 ],
5577 "resultType": "*apihubpb.StyleGuide",
5578 "client": {
5579 "shortName": "LintingClient",
5580 "fullName": "google.cloud.apihub.v1.LintingClient"
5581 },
5582 "method": {
5583 "shortName": "UpdateStyleGuide",
5584 "fullName": "google.cloud.apihub.v1.LintingService.UpdateStyleGuide",
5585 "service": {
5586 "shortName": "LintingService",
5587 "fullName": "google.cloud.apihub.v1.LintingService"
5588 }
5589 }
5590 },
5591 "origin": "API_DEFINITION",
5592 "segments": [
5593 {
5594 "start": 18,
5595 "end": 53,
5596 "type": "FULL"
5597 }
5598 ]
5599 },
5600 {
5601 "regionTag": "apihub_v1_generated_Provisioning_CancelOperation_sync",
5602 "title": "apihub CancelOperation Sample",
5603 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
5604 "file": "ProvisioningClient/CancelOperation/main.go",
5605 "language": "GO",
5606 "clientMethod": {
5607 "shortName": "CancelOperation",
5608 "fullName": "google.cloud.apihub.v1.ProvisioningClient.CancelOperation",
5609 "parameters": [
5610 {
5611 "type": "context.Context",
5612 "name": "ctx"
5613 },
5614 {
5615 "type": "longrunningpb.CancelOperationRequest",
5616 "name": "req"
5617 },
5618 {
5619 "type": "...gax.CallOption",
5620 "name": "opts"
5621 }
5622 ],
5623 "client": {
5624 "shortName": "ProvisioningClient",
5625 "fullName": "google.cloud.apihub.v1.ProvisioningClient"
5626 },
5627 "method": {
5628 "shortName": "CancelOperation",
5629 "fullName": "google.longrunning.Operations.CancelOperation",
5630 "service": {
5631 "shortName": "Operations",
5632 "fullName": "google.longrunning.Operations"
5633 }
5634 }
5635 },
5636 "origin": "API_DEFINITION",
5637 "segments": [
5638 {
5639 "start": 18,
5640 "end": 51,
5641 "type": "FULL"
5642 }
5643 ]
5644 },
5645 {
5646 "regionTag": "apihub_v1_generated_Provisioning_CreateApiHubInstance_sync",
5647 "title": "apihub CreateApiHubInstance Sample",
5648 "description": "CreateApiHubInstance provisions instance resources for the API Hub.",
5649 "file": "ProvisioningClient/CreateApiHubInstance/main.go",
5650 "language": "GO",
5651 "clientMethod": {
5652 "shortName": "CreateApiHubInstance",
5653 "fullName": "google.cloud.apihub.v1.ProvisioningClient.CreateApiHubInstance",
5654 "parameters": [
5655 {
5656 "type": "context.Context",
5657 "name": "ctx"
5658 },
5659 {
5660 "type": "apihubpb.CreateApiHubInstanceRequest",
5661 "name": "req"
5662 },
5663 {
5664 "type": "...gax.CallOption",
5665 "name": "opts"
5666 }
5667 ],
5668 "resultType": "CreateApiHubInstanceOperation",
5669 "client": {
5670 "shortName": "ProvisioningClient",
5671 "fullName": "google.cloud.apihub.v1.ProvisioningClient"
5672 },
5673 "method": {
5674 "shortName": "CreateApiHubInstance",
5675 "fullName": "google.cloud.apihub.v1.Provisioning.CreateApiHubInstance",
5676 "service": {
5677 "shortName": "Provisioning",
5678 "fullName": "google.cloud.apihub.v1.Provisioning"
5679 }
5680 }
5681 },
5682 "origin": "API_DEFINITION",
5683 "segments": [
5684 {
5685 "start": 18,
5686 "end": 58,
5687 "type": "FULL"
5688 }
5689 ]
5690 },
5691 {
5692 "regionTag": "apihub_v1_generated_Provisioning_DeleteApiHubInstance_sync",
5693 "title": "apihub DeleteApiHubInstance Sample",
5694 "description": "DeleteApiHubInstance deletes the API hub instance.",
5695 "file": "ProvisioningClient/DeleteApiHubInstance/main.go",
5696 "language": "GO",
5697 "clientMethod": {
5698 "shortName": "DeleteApiHubInstance",
5699 "fullName": "google.cloud.apihub.v1.ProvisioningClient.DeleteApiHubInstance",
5700 "parameters": [
5701 {
5702 "type": "context.Context",
5703 "name": "ctx"
5704 },
5705 {
5706 "type": "apihubpb.DeleteApiHubInstanceRequest",
5707 "name": "req"
5708 },
5709 {
5710 "type": "...gax.CallOption",
5711 "name": "opts"
5712 }
5713 ],
5714 "resultType": "DeleteApiHubInstanceOperation",
5715 "client": {
5716 "shortName": "ProvisioningClient",
5717 "fullName": "google.cloud.apihub.v1.ProvisioningClient"
5718 },
5719 "method": {
5720 "shortName": "DeleteApiHubInstance",
5721 "fullName": "google.cloud.apihub.v1.Provisioning.DeleteApiHubInstance",
5722 "service": {
5723 "shortName": "Provisioning",
5724 "fullName": "google.cloud.apihub.v1.Provisioning"
5725 }
5726 }
5727 },
5728 "origin": "API_DEFINITION",
5729 "segments": [
5730 {
5731 "start": 18,
5732 "end": 56,
5733 "type": "FULL"
5734 }
5735 ]
5736 },
5737 {
5738 "regionTag": "apihub_v1_generated_Provisioning_DeleteOperation_sync",
5739 "title": "apihub DeleteOperation Sample",
5740 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
5741 "file": "ProvisioningClient/DeleteOperation/main.go",
5742 "language": "GO",
5743 "clientMethod": {
5744 "shortName": "DeleteOperation",
5745 "fullName": "google.cloud.apihub.v1.ProvisioningClient.DeleteOperation",
5746 "parameters": [
5747 {
5748 "type": "context.Context",
5749 "name": "ctx"
5750 },
5751 {
5752 "type": "longrunningpb.DeleteOperationRequest",
5753 "name": "req"
5754 },
5755 {
5756 "type": "...gax.CallOption",
5757 "name": "opts"
5758 }
5759 ],
5760 "client": {
5761 "shortName": "ProvisioningClient",
5762 "fullName": "google.cloud.apihub.v1.ProvisioningClient"
5763 },
5764 "method": {
5765 "shortName": "DeleteOperation",
5766 "fullName": "google.longrunning.Operations.DeleteOperation",
5767 "service": {
5768 "shortName": "Operations",
5769 "fullName": "google.longrunning.Operations"
5770 }
5771 }
5772 },
5773 "origin": "API_DEFINITION",
5774 "segments": [
5775 {
5776 "start": 18,
5777 "end": 51,
5778 "type": "FULL"
5779 }
5780 ]
5781 },
5782 {
5783 "regionTag": "apihub_v1_generated_Provisioning_GetApiHubInstance_sync",
5784 "title": "apihub GetApiHubInstance Sample",
5785 "description": "GetApiHubInstance gets details of a single API Hub instance.",
5786 "file": "ProvisioningClient/GetApiHubInstance/main.go",
5787 "language": "GO",
5788 "clientMethod": {
5789 "shortName": "GetApiHubInstance",
5790 "fullName": "google.cloud.apihub.v1.ProvisioningClient.GetApiHubInstance",
5791 "parameters": [
5792 {
5793 "type": "context.Context",
5794 "name": "ctx"
5795 },
5796 {
5797 "type": "apihubpb.GetApiHubInstanceRequest",
5798 "name": "req"
5799 },
5800 {
5801 "type": "...gax.CallOption",
5802 "name": "opts"
5803 }
5804 ],
5805 "resultType": "*apihubpb.ApiHubInstance",
5806 "client": {
5807 "shortName": "ProvisioningClient",
5808 "fullName": "google.cloud.apihub.v1.ProvisioningClient"
5809 },
5810 "method": {
5811 "shortName": "GetApiHubInstance",
5812 "fullName": "google.cloud.apihub.v1.Provisioning.GetApiHubInstance",
5813 "service": {
5814 "shortName": "Provisioning",
5815 "fullName": "google.cloud.apihub.v1.Provisioning"
5816 }
5817 }
5818 },
5819 "origin": "API_DEFINITION",
5820 "segments": [
5821 {
5822 "start": 18,
5823 "end": 53,
5824 "type": "FULL"
5825 }
5826 ]
5827 },
5828 {
5829 "regionTag": "apihub_v1_generated_Provisioning_GetLocation_sync",
5830 "title": "apihub GetLocation Sample",
5831 "description": "GetLocation gets information about a location.",
5832 "file": "ProvisioningClient/GetLocation/main.go",
5833 "language": "GO",
5834 "clientMethod": {
5835 "shortName": "GetLocation",
5836 "fullName": "google.cloud.apihub.v1.ProvisioningClient.GetLocation",
5837 "parameters": [
5838 {
5839 "type": "context.Context",
5840 "name": "ctx"
5841 },
5842 {
5843 "type": "locationpb.GetLocationRequest",
5844 "name": "req"
5845 },
5846 {
5847 "type": "...gax.CallOption",
5848 "name": "opts"
5849 }
5850 ],
5851 "resultType": "*locationpb.Location",
5852 "client": {
5853 "shortName": "ProvisioningClient",
5854 "fullName": "google.cloud.apihub.v1.ProvisioningClient"
5855 },
5856 "method": {
5857 "shortName": "GetLocation",
5858 "fullName": "google.cloud.location.Locations.GetLocation",
5859 "service": {
5860 "shortName": "Locations",
5861 "fullName": "google.cloud.location.Locations"
5862 }
5863 }
5864 },
5865 "origin": "API_DEFINITION",
5866 "segments": [
5867 {
5868 "start": 18,
5869 "end": 53,
5870 "type": "FULL"
5871 }
5872 ]
5873 },
5874 {
5875 "regionTag": "apihub_v1_generated_Provisioning_GetOperation_sync",
5876 "title": "apihub GetOperation Sample",
5877 "description": "GetOperation is a utility method from google.longrunning.Operations.",
5878 "file": "ProvisioningClient/GetOperation/main.go",
5879 "language": "GO",
5880 "clientMethod": {
5881 "shortName": "GetOperation",
5882 "fullName": "google.cloud.apihub.v1.ProvisioningClient.GetOperation",
5883 "parameters": [
5884 {
5885 "type": "context.Context",
5886 "name": "ctx"
5887 },
5888 {
5889 "type": "longrunningpb.GetOperationRequest",
5890 "name": "req"
5891 },
5892 {
5893 "type": "...gax.CallOption",
5894 "name": "opts"
5895 }
5896 ],
5897 "resultType": "*longrunningpb.Operation",
5898 "client": {
5899 "shortName": "ProvisioningClient",
5900 "fullName": "google.cloud.apihub.v1.ProvisioningClient"
5901 },
5902 "method": {
5903 "shortName": "GetOperation",
5904 "fullName": "google.longrunning.Operations.GetOperation",
5905 "service": {
5906 "shortName": "Operations",
5907 "fullName": "google.longrunning.Operations"
5908 }
5909 }
5910 },
5911 "origin": "API_DEFINITION",
5912 "segments": [
5913 {
5914 "start": 18,
5915 "end": 53,
5916 "type": "FULL"
5917 }
5918 ]
5919 },
5920 {
5921 "regionTag": "apihub_v1_generated_Provisioning_ListLocations_sync",
5922 "title": "apihub ListLocations Sample",
5923 "description": "ListLocations lists information about the supported locations for this service.",
5924 "file": "ProvisioningClient/ListLocations/main.go",
5925 "language": "GO",
5926 "clientMethod": {
5927 "shortName": "ListLocations",
5928 "fullName": "google.cloud.apihub.v1.ProvisioningClient.ListLocations",
5929 "parameters": [
5930 {
5931 "type": "context.Context",
5932 "name": "ctx"
5933 },
5934 {
5935 "type": "locationpb.ListLocationsRequest",
5936 "name": "req"
5937 },
5938 {
5939 "type": "...gax.CallOption",
5940 "name": "opts"
5941 }
5942 ],
5943 "resultType": "LocationIterator",
5944 "client": {
5945 "shortName": "ProvisioningClient",
5946 "fullName": "google.cloud.apihub.v1.ProvisioningClient"
5947 },
5948 "method": {
5949 "shortName": "ListLocations",
5950 "fullName": "google.cloud.location.Locations.ListLocations",
5951 "service": {
5952 "shortName": "Locations",
5953 "fullName": "google.cloud.location.Locations"
5954 }
5955 }
5956 },
5957 "origin": "API_DEFINITION",
5958 "segments": [
5959 {
5960 "start": 18,
5961 "end": 66,
5962 "type": "FULL"
5963 }
5964 ]
5965 },
5966 {
5967 "regionTag": "apihub_v1_generated_Provisioning_ListOperations_sync",
5968 "title": "apihub ListOperations Sample",
5969 "description": "ListOperations is a utility method from google.longrunning.Operations.",
5970 "file": "ProvisioningClient/ListOperations/main.go",
5971 "language": "GO",
5972 "clientMethod": {
5973 "shortName": "ListOperations",
5974 "fullName": "google.cloud.apihub.v1.ProvisioningClient.ListOperations",
5975 "parameters": [
5976 {
5977 "type": "context.Context",
5978 "name": "ctx"
5979 },
5980 {
5981 "type": "longrunningpb.ListOperationsRequest",
5982 "name": "req"
5983 },
5984 {
5985 "type": "...gax.CallOption",
5986 "name": "opts"
5987 }
5988 ],
5989 "resultType": "OperationIterator",
5990 "client": {
5991 "shortName": "ProvisioningClient",
5992 "fullName": "google.cloud.apihub.v1.ProvisioningClient"
5993 },
5994 "method": {
5995 "shortName": "ListOperations",
5996 "fullName": "google.longrunning.Operations.ListOperations",
5997 "service": {
5998 "shortName": "Operations",
5999 "fullName": "google.longrunning.Operations"
6000 }
6001 }
6002 },
6003 "origin": "API_DEFINITION",
6004 "segments": [
6005 {
6006 "start": 18,
6007 "end": 66,
6008 "type": "FULL"
6009 }
6010 ]
6011 },
6012 {
6013 "regionTag": "apihub_v1_generated_Provisioning_LookupApiHubInstance_sync",
6014 "title": "apihub LookupApiHubInstance Sample",
6015 "description": "LookupApiHubInstance looks up an Api Hub instance in a given GCP project. There will always be\nonly one Api Hub instance for a GCP project across all locations.",
6016 "file": "ProvisioningClient/LookupApiHubInstance/main.go",
6017 "language": "GO",
6018 "clientMethod": {
6019 "shortName": "LookupApiHubInstance",
6020 "fullName": "google.cloud.apihub.v1.ProvisioningClient.LookupApiHubInstance",
6021 "parameters": [
6022 {
6023 "type": "context.Context",
6024 "name": "ctx"
6025 },
6026 {
6027 "type": "apihubpb.LookupApiHubInstanceRequest",
6028 "name": "req"
6029 },
6030 {
6031 "type": "...gax.CallOption",
6032 "name": "opts"
6033 }
6034 ],
6035 "resultType": "*apihubpb.LookupApiHubInstanceResponse",
6036 "client": {
6037 "shortName": "ProvisioningClient",
6038 "fullName": "google.cloud.apihub.v1.ProvisioningClient"
6039 },
6040 "method": {
6041 "shortName": "LookupApiHubInstance",
6042 "fullName": "google.cloud.apihub.v1.Provisioning.LookupApiHubInstance",
6043 "service": {
6044 "shortName": "Provisioning",
6045 "fullName": "google.cloud.apihub.v1.Provisioning"
6046 }
6047 }
6048 },
6049 "origin": "API_DEFINITION",
6050 "segments": [
6051 {
6052 "start": 18,
6053 "end": 53,
6054 "type": "FULL"
6055 }
6056 ]
6057 },
6058 {
6059 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_CancelOperation_sync",
6060 "title": "apihub CancelOperation Sample",
6061 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
6062 "file": "RuntimeProjectAttachmentClient/CancelOperation/main.go",
6063 "language": "GO",
6064 "clientMethod": {
6065 "shortName": "CancelOperation",
6066 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.CancelOperation",
6067 "parameters": [
6068 {
6069 "type": "context.Context",
6070 "name": "ctx"
6071 },
6072 {
6073 "type": "longrunningpb.CancelOperationRequest",
6074 "name": "req"
6075 },
6076 {
6077 "type": "...gax.CallOption",
6078 "name": "opts"
6079 }
6080 ],
6081 "client": {
6082 "shortName": "RuntimeProjectAttachmentClient",
6083 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6084 },
6085 "method": {
6086 "shortName": "CancelOperation",
6087 "fullName": "google.longrunning.Operations.CancelOperation",
6088 "service": {
6089 "shortName": "Operations",
6090 "fullName": "google.longrunning.Operations"
6091 }
6092 }
6093 },
6094 "origin": "API_DEFINITION",
6095 "segments": [
6096 {
6097 "start": 18,
6098 "end": 51,
6099 "type": "FULL"
6100 }
6101 ]
6102 },
6103 {
6104 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_CreateRuntimeProjectAttachment_sync",
6105 "title": "apihub CreateRuntimeProjectAttachment Sample",
6106 "description": "CreateRuntimeProjectAttachment attaches a runtime project to the host project.",
6107 "file": "RuntimeProjectAttachmentClient/CreateRuntimeProjectAttachment/main.go",
6108 "language": "GO",
6109 "clientMethod": {
6110 "shortName": "CreateRuntimeProjectAttachment",
6111 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.CreateRuntimeProjectAttachment",
6112 "parameters": [
6113 {
6114 "type": "context.Context",
6115 "name": "ctx"
6116 },
6117 {
6118 "type": "apihubpb.CreateRuntimeProjectAttachmentRequest",
6119 "name": "req"
6120 },
6121 {
6122 "type": "...gax.CallOption",
6123 "name": "opts"
6124 }
6125 ],
6126 "resultType": "*apihubpb.RuntimeProjectAttachment",
6127 "client": {
6128 "shortName": "RuntimeProjectAttachmentClient",
6129 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6130 },
6131 "method": {
6132 "shortName": "CreateRuntimeProjectAttachment",
6133 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.CreateRuntimeProjectAttachment",
6134 "service": {
6135 "shortName": "RuntimeProjectAttachmentService",
6136 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService"
6137 }
6138 }
6139 },
6140 "origin": "API_DEFINITION",
6141 "segments": [
6142 {
6143 "start": 18,
6144 "end": 53,
6145 "type": "FULL"
6146 }
6147 ]
6148 },
6149 {
6150 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_DeleteOperation_sync",
6151 "title": "apihub DeleteOperation Sample",
6152 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
6153 "file": "RuntimeProjectAttachmentClient/DeleteOperation/main.go",
6154 "language": "GO",
6155 "clientMethod": {
6156 "shortName": "DeleteOperation",
6157 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.DeleteOperation",
6158 "parameters": [
6159 {
6160 "type": "context.Context",
6161 "name": "ctx"
6162 },
6163 {
6164 "type": "longrunningpb.DeleteOperationRequest",
6165 "name": "req"
6166 },
6167 {
6168 "type": "...gax.CallOption",
6169 "name": "opts"
6170 }
6171 ],
6172 "client": {
6173 "shortName": "RuntimeProjectAttachmentClient",
6174 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6175 },
6176 "method": {
6177 "shortName": "DeleteOperation",
6178 "fullName": "google.longrunning.Operations.DeleteOperation",
6179 "service": {
6180 "shortName": "Operations",
6181 "fullName": "google.longrunning.Operations"
6182 }
6183 }
6184 },
6185 "origin": "API_DEFINITION",
6186 "segments": [
6187 {
6188 "start": 18,
6189 "end": 51,
6190 "type": "FULL"
6191 }
6192 ]
6193 },
6194 {
6195 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_DeleteRuntimeProjectAttachment_sync",
6196 "title": "apihub DeleteRuntimeProjectAttachment Sample",
6197 "description": "DeleteRuntimeProjectAttachment delete a runtime project attachment in the API Hub. This call will detach\nthe runtime project from the host project.",
6198 "file": "RuntimeProjectAttachmentClient/DeleteRuntimeProjectAttachment/main.go",
6199 "language": "GO",
6200 "clientMethod": {
6201 "shortName": "DeleteRuntimeProjectAttachment",
6202 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.DeleteRuntimeProjectAttachment",
6203 "parameters": [
6204 {
6205 "type": "context.Context",
6206 "name": "ctx"
6207 },
6208 {
6209 "type": "apihubpb.DeleteRuntimeProjectAttachmentRequest",
6210 "name": "req"
6211 },
6212 {
6213 "type": "...gax.CallOption",
6214 "name": "opts"
6215 }
6216 ],
6217 "client": {
6218 "shortName": "RuntimeProjectAttachmentClient",
6219 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6220 },
6221 "method": {
6222 "shortName": "DeleteRuntimeProjectAttachment",
6223 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.DeleteRuntimeProjectAttachment",
6224 "service": {
6225 "shortName": "RuntimeProjectAttachmentService",
6226 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService"
6227 }
6228 }
6229 },
6230 "origin": "API_DEFINITION",
6231 "segments": [
6232 {
6233 "start": 18,
6234 "end": 51,
6235 "type": "FULL"
6236 }
6237 ]
6238 },
6239 {
6240 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_GetLocation_sync",
6241 "title": "apihub GetLocation Sample",
6242 "description": "GetLocation gets information about a location.",
6243 "file": "RuntimeProjectAttachmentClient/GetLocation/main.go",
6244 "language": "GO",
6245 "clientMethod": {
6246 "shortName": "GetLocation",
6247 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.GetLocation",
6248 "parameters": [
6249 {
6250 "type": "context.Context",
6251 "name": "ctx"
6252 },
6253 {
6254 "type": "locationpb.GetLocationRequest",
6255 "name": "req"
6256 },
6257 {
6258 "type": "...gax.CallOption",
6259 "name": "opts"
6260 }
6261 ],
6262 "resultType": "*locationpb.Location",
6263 "client": {
6264 "shortName": "RuntimeProjectAttachmentClient",
6265 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6266 },
6267 "method": {
6268 "shortName": "GetLocation",
6269 "fullName": "google.cloud.location.Locations.GetLocation",
6270 "service": {
6271 "shortName": "Locations",
6272 "fullName": "google.cloud.location.Locations"
6273 }
6274 }
6275 },
6276 "origin": "API_DEFINITION",
6277 "segments": [
6278 {
6279 "start": 18,
6280 "end": 53,
6281 "type": "FULL"
6282 }
6283 ]
6284 },
6285 {
6286 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_GetOperation_sync",
6287 "title": "apihub GetOperation Sample",
6288 "description": "GetOperation is a utility method from google.longrunning.Operations.",
6289 "file": "RuntimeProjectAttachmentClient/GetOperation/main.go",
6290 "language": "GO",
6291 "clientMethod": {
6292 "shortName": "GetOperation",
6293 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.GetOperation",
6294 "parameters": [
6295 {
6296 "type": "context.Context",
6297 "name": "ctx"
6298 },
6299 {
6300 "type": "longrunningpb.GetOperationRequest",
6301 "name": "req"
6302 },
6303 {
6304 "type": "...gax.CallOption",
6305 "name": "opts"
6306 }
6307 ],
6308 "resultType": "*longrunningpb.Operation",
6309 "client": {
6310 "shortName": "RuntimeProjectAttachmentClient",
6311 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6312 },
6313 "method": {
6314 "shortName": "GetOperation",
6315 "fullName": "google.longrunning.Operations.GetOperation",
6316 "service": {
6317 "shortName": "Operations",
6318 "fullName": "google.longrunning.Operations"
6319 }
6320 }
6321 },
6322 "origin": "API_DEFINITION",
6323 "segments": [
6324 {
6325 "start": 18,
6326 "end": 53,
6327 "type": "FULL"
6328 }
6329 ]
6330 },
6331 {
6332 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_GetRuntimeProjectAttachment_sync",
6333 "title": "apihub GetRuntimeProjectAttachment Sample",
6334 "description": "GetRuntimeProjectAttachment gets a runtime project attachment.",
6335 "file": "RuntimeProjectAttachmentClient/GetRuntimeProjectAttachment/main.go",
6336 "language": "GO",
6337 "clientMethod": {
6338 "shortName": "GetRuntimeProjectAttachment",
6339 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.GetRuntimeProjectAttachment",
6340 "parameters": [
6341 {
6342 "type": "context.Context",
6343 "name": "ctx"
6344 },
6345 {
6346 "type": "apihubpb.GetRuntimeProjectAttachmentRequest",
6347 "name": "req"
6348 },
6349 {
6350 "type": "...gax.CallOption",
6351 "name": "opts"
6352 }
6353 ],
6354 "resultType": "*apihubpb.RuntimeProjectAttachment",
6355 "client": {
6356 "shortName": "RuntimeProjectAttachmentClient",
6357 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6358 },
6359 "method": {
6360 "shortName": "GetRuntimeProjectAttachment",
6361 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.GetRuntimeProjectAttachment",
6362 "service": {
6363 "shortName": "RuntimeProjectAttachmentService",
6364 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService"
6365 }
6366 }
6367 },
6368 "origin": "API_DEFINITION",
6369 "segments": [
6370 {
6371 "start": 18,
6372 "end": 53,
6373 "type": "FULL"
6374 }
6375 ]
6376 },
6377 {
6378 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_ListLocations_sync",
6379 "title": "apihub ListLocations Sample",
6380 "description": "ListLocations lists information about the supported locations for this service.",
6381 "file": "RuntimeProjectAttachmentClient/ListLocations/main.go",
6382 "language": "GO",
6383 "clientMethod": {
6384 "shortName": "ListLocations",
6385 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.ListLocations",
6386 "parameters": [
6387 {
6388 "type": "context.Context",
6389 "name": "ctx"
6390 },
6391 {
6392 "type": "locationpb.ListLocationsRequest",
6393 "name": "req"
6394 },
6395 {
6396 "type": "...gax.CallOption",
6397 "name": "opts"
6398 }
6399 ],
6400 "resultType": "LocationIterator",
6401 "client": {
6402 "shortName": "RuntimeProjectAttachmentClient",
6403 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6404 },
6405 "method": {
6406 "shortName": "ListLocations",
6407 "fullName": "google.cloud.location.Locations.ListLocations",
6408 "service": {
6409 "shortName": "Locations",
6410 "fullName": "google.cloud.location.Locations"
6411 }
6412 }
6413 },
6414 "origin": "API_DEFINITION",
6415 "segments": [
6416 {
6417 "start": 18,
6418 "end": 66,
6419 "type": "FULL"
6420 }
6421 ]
6422 },
6423 {
6424 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_ListOperations_sync",
6425 "title": "apihub ListOperations Sample",
6426 "description": "ListOperations is a utility method from google.longrunning.Operations.",
6427 "file": "RuntimeProjectAttachmentClient/ListOperations/main.go",
6428 "language": "GO",
6429 "clientMethod": {
6430 "shortName": "ListOperations",
6431 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.ListOperations",
6432 "parameters": [
6433 {
6434 "type": "context.Context",
6435 "name": "ctx"
6436 },
6437 {
6438 "type": "longrunningpb.ListOperationsRequest",
6439 "name": "req"
6440 },
6441 {
6442 "type": "...gax.CallOption",
6443 "name": "opts"
6444 }
6445 ],
6446 "resultType": "OperationIterator",
6447 "client": {
6448 "shortName": "RuntimeProjectAttachmentClient",
6449 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6450 },
6451 "method": {
6452 "shortName": "ListOperations",
6453 "fullName": "google.longrunning.Operations.ListOperations",
6454 "service": {
6455 "shortName": "Operations",
6456 "fullName": "google.longrunning.Operations"
6457 }
6458 }
6459 },
6460 "origin": "API_DEFINITION",
6461 "segments": [
6462 {
6463 "start": 18,
6464 "end": 66,
6465 "type": "FULL"
6466 }
6467 ]
6468 },
6469 {
6470 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_ListRuntimeProjectAttachments_sync",
6471 "title": "apihub ListRuntimeProjectAttachments Sample",
6472 "description": "ListRuntimeProjectAttachments list runtime projects attached to the host project.",
6473 "file": "RuntimeProjectAttachmentClient/ListRuntimeProjectAttachments/main.go",
6474 "language": "GO",
6475 "clientMethod": {
6476 "shortName": "ListRuntimeProjectAttachments",
6477 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.ListRuntimeProjectAttachments",
6478 "parameters": [
6479 {
6480 "type": "context.Context",
6481 "name": "ctx"
6482 },
6483 {
6484 "type": "apihubpb.ListRuntimeProjectAttachmentsRequest",
6485 "name": "req"
6486 },
6487 {
6488 "type": "...gax.CallOption",
6489 "name": "opts"
6490 }
6491 ],
6492 "resultType": "RuntimeProjectAttachmentIterator",
6493 "client": {
6494 "shortName": "RuntimeProjectAttachmentClient",
6495 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6496 },
6497 "method": {
6498 "shortName": "ListRuntimeProjectAttachments",
6499 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.ListRuntimeProjectAttachments",
6500 "service": {
6501 "shortName": "RuntimeProjectAttachmentService",
6502 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService"
6503 }
6504 }
6505 },
6506 "origin": "API_DEFINITION",
6507 "segments": [
6508 {
6509 "start": 18,
6510 "end": 66,
6511 "type": "FULL"
6512 }
6513 ]
6514 },
6515 {
6516 "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_LookupRuntimeProjectAttachment_sync",
6517 "title": "apihub LookupRuntimeProjectAttachment Sample",
6518 "description": "LookupRuntimeProjectAttachment look up a runtime project attachment. This API can be called in the context\nof any project.",
6519 "file": "RuntimeProjectAttachmentClient/LookupRuntimeProjectAttachment/main.go",
6520 "language": "GO",
6521 "clientMethod": {
6522 "shortName": "LookupRuntimeProjectAttachment",
6523 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.LookupRuntimeProjectAttachment",
6524 "parameters": [
6525 {
6526 "type": "context.Context",
6527 "name": "ctx"
6528 },
6529 {
6530 "type": "apihubpb.LookupRuntimeProjectAttachmentRequest",
6531 "name": "req"
6532 },
6533 {
6534 "type": "...gax.CallOption",
6535 "name": "opts"
6536 }
6537 ],
6538 "resultType": "*apihubpb.LookupRuntimeProjectAttachmentResponse",
6539 "client": {
6540 "shortName": "RuntimeProjectAttachmentClient",
6541 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient"
6542 },
6543 "method": {
6544 "shortName": "LookupRuntimeProjectAttachment",
6545 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.LookupRuntimeProjectAttachment",
6546 "service": {
6547 "shortName": "RuntimeProjectAttachmentService",
6548 "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService"
6549 }
6550 }
6551 },
6552 "origin": "API_DEFINITION",
6553 "segments": [
6554 {
6555 "start": 18,
6556 "end": 53,
6557 "type": "FULL"
6558 }
6559 ]
6560 }
6561 ]
6562 }