Debian Codegraph @

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

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/apigeeregistry/apiv1",
4 "version": "0.9.6",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.apigeeregistry.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "apigeeregistry_v1_generated_Provisioning_CancelOperation_sync",
16 "title": "apigeeregistry CancelOperation Sample",
17 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
18 "file": "ProvisioningClient/CancelOperation/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CancelOperation",
22 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.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": "ProvisioningClient",
39 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
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": "apigeeregistry_v1_generated_Provisioning_CreateInstance_sync",
61 "title": "apigeeregistry CreateInstance Sample",
62 "description": "CreateInstance provisions instance resources for the Registry.",
63 "file": "ProvisioningClient/CreateInstance/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "CreateInstance",
67 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.CreateInstance",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "apigeeregistrypb.CreateInstanceRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "CreateInstanceOperation",
83 "client": {
84 "shortName": "ProvisioningClient",
85 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
86 },
87 "method": {
88 "shortName": "CreateInstance",
89 "fullName": "google.cloud.apigeeregistry.v1.Provisioning.CreateInstance",
90 "service": {
91 "shortName": "Provisioning",
92 "fullName": "google.cloud.apigeeregistry.v1.Provisioning"
93 }
94 }
95 },
96 "origin": "API_DEFINITION",
97 "segments": [
98 {
99 "start": 18,
100 "end": 58,
101 "type": "FULL"
102 }
103 ]
104 },
105 {
106 "regionTag": "apigeeregistry_v1_generated_Provisioning_DeleteInstance_sync",
107 "title": "apigeeregistry DeleteInstance Sample",
108 "description": "DeleteInstance deletes the Registry instance.",
109 "file": "ProvisioningClient/DeleteInstance/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "DeleteInstance",
113 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.DeleteInstance",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "apigeeregistrypb.DeleteInstanceRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "DeleteInstanceOperation",
129 "client": {
130 "shortName": "ProvisioningClient",
131 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
132 },
133 "method": {
134 "shortName": "DeleteInstance",
135 "fullName": "google.cloud.apigeeregistry.v1.Provisioning.DeleteInstance",
136 "service": {
137 "shortName": "Provisioning",
138 "fullName": "google.cloud.apigeeregistry.v1.Provisioning"
139 }
140 }
141 },
142 "origin": "API_DEFINITION",
143 "segments": [
144 {
145 "start": 18,
146 "end": 56,
147 "type": "FULL"
148 }
149 ]
150 },
151 {
152 "regionTag": "apigeeregistry_v1_generated_Provisioning_DeleteOperation_sync",
153 "title": "apigeeregistry DeleteOperation Sample",
154 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
155 "file": "ProvisioningClient/DeleteOperation/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "DeleteOperation",
159 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.DeleteOperation",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "longrunningpb.DeleteOperationRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "client": {
175 "shortName": "ProvisioningClient",
176 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
177 },
178 "method": {
179 "shortName": "DeleteOperation",
180 "fullName": "google.longrunning.Operations.DeleteOperation",
181 "service": {
182 "shortName": "Operations",
183 "fullName": "google.longrunning.Operations"
184 }
185 }
186 },
187 "origin": "API_DEFINITION",
188 "segments": [
189 {
190 "start": 18,
191 "end": 51,
192 "type": "FULL"
193 }
194 ]
195 },
196 {
197 "regionTag": "apigeeregistry_v1_generated_Provisioning_GetIamPolicy_sync",
198 "title": "apigeeregistry GetIamPolicy Sample",
199 "description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
200 "file": "ProvisioningClient/GetIamPolicy/main.go",
201 "language": "GO",
202 "clientMethod": {
203 "shortName": "GetIamPolicy",
204 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.GetIamPolicy",
205 "parameters": [
206 {
207 "type": "context.Context",
208 "name": "ctx"
209 },
210 {
211 "type": "iampb.GetIamPolicyRequest",
212 "name": "req"
213 },
214 {
215 "type": "...gax.CallOption",
216 "name": "opts"
217 }
218 ],
219 "resultType": "*iampb.Policy",
220 "client": {
221 "shortName": "ProvisioningClient",
222 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
223 },
224 "method": {
225 "shortName": "GetIamPolicy",
226 "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
227 "service": {
228 "shortName": "IAMPolicy",
229 "fullName": "google.iam.v1.IAMPolicy"
230 }
231 }
232 },
233 "origin": "API_DEFINITION",
234 "segments": [
235 {
236 "start": 18,
237 "end": 53,
238 "type": "FULL"
239 }
240 ]
241 },
242 {
243 "regionTag": "apigeeregistry_v1_generated_Provisioning_GetInstance_sync",
244 "title": "apigeeregistry GetInstance Sample",
245 "description": "GetInstance gets details of a single Instance.",
246 "file": "ProvisioningClient/GetInstance/main.go",
247 "language": "GO",
248 "clientMethod": {
249 "shortName": "GetInstance",
250 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.GetInstance",
251 "parameters": [
252 {
253 "type": "context.Context",
254 "name": "ctx"
255 },
256 {
257 "type": "apigeeregistrypb.GetInstanceRequest",
258 "name": "req"
259 },
260 {
261 "type": "...gax.CallOption",
262 "name": "opts"
263 }
264 ],
265 "resultType": "*apigeeregistrypb.Instance",
266 "client": {
267 "shortName": "ProvisioningClient",
268 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
269 },
270 "method": {
271 "shortName": "GetInstance",
272 "fullName": "google.cloud.apigeeregistry.v1.Provisioning.GetInstance",
273 "service": {
274 "shortName": "Provisioning",
275 "fullName": "google.cloud.apigeeregistry.v1.Provisioning"
276 }
277 }
278 },
279 "origin": "API_DEFINITION",
280 "segments": [
281 {
282 "start": 18,
283 "end": 53,
284 "type": "FULL"
285 }
286 ]
287 },
288 {
289 "regionTag": "apigeeregistry_v1_generated_Provisioning_GetLocation_sync",
290 "title": "apigeeregistry GetLocation Sample",
291 "description": "GetLocation gets information about a location.",
292 "file": "ProvisioningClient/GetLocation/main.go",
293 "language": "GO",
294 "clientMethod": {
295 "shortName": "GetLocation",
296 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.GetLocation",
297 "parameters": [
298 {
299 "type": "context.Context",
300 "name": "ctx"
301 },
302 {
303 "type": "locationpb.GetLocationRequest",
304 "name": "req"
305 },
306 {
307 "type": "...gax.CallOption",
308 "name": "opts"
309 }
310 ],
311 "resultType": "*locationpb.Location",
312 "client": {
313 "shortName": "ProvisioningClient",
314 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
315 },
316 "method": {
317 "shortName": "GetLocation",
318 "fullName": "google.cloud.location.Locations.GetLocation",
319 "service": {
320 "shortName": "Locations",
321 "fullName": "google.cloud.location.Locations"
322 }
323 }
324 },
325 "origin": "API_DEFINITION",
326 "segments": [
327 {
328 "start": 18,
329 "end": 53,
330 "type": "FULL"
331 }
332 ]
333 },
334 {
335 "regionTag": "apigeeregistry_v1_generated_Provisioning_GetOperation_sync",
336 "title": "apigeeregistry GetOperation Sample",
337 "description": "GetOperation is a utility method from google.longrunning.Operations.",
338 "file": "ProvisioningClient/GetOperation/main.go",
339 "language": "GO",
340 "clientMethod": {
341 "shortName": "GetOperation",
342 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.GetOperation",
343 "parameters": [
344 {
345 "type": "context.Context",
346 "name": "ctx"
347 },
348 {
349 "type": "longrunningpb.GetOperationRequest",
350 "name": "req"
351 },
352 {
353 "type": "...gax.CallOption",
354 "name": "opts"
355 }
356 ],
357 "resultType": "*longrunningpb.Operation",
358 "client": {
359 "shortName": "ProvisioningClient",
360 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
361 },
362 "method": {
363 "shortName": "GetOperation",
364 "fullName": "google.longrunning.Operations.GetOperation",
365 "service": {
366 "shortName": "Operations",
367 "fullName": "google.longrunning.Operations"
368 }
369 }
370 },
371 "origin": "API_DEFINITION",
372 "segments": [
373 {
374 "start": 18,
375 "end": 53,
376 "type": "FULL"
377 }
378 ]
379 },
380 {
381 "regionTag": "apigeeregistry_v1_generated_Provisioning_ListLocations_sync",
382 "title": "apigeeregistry ListLocations Sample",
383 "description": "ListLocations lists information about the supported locations for this service.",
384 "file": "ProvisioningClient/ListLocations/main.go",
385 "language": "GO",
386 "clientMethod": {
387 "shortName": "ListLocations",
388 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.ListLocations",
389 "parameters": [
390 {
391 "type": "context.Context",
392 "name": "ctx"
393 },
394 {
395 "type": "locationpb.ListLocationsRequest",
396 "name": "req"
397 },
398 {
399 "type": "...gax.CallOption",
400 "name": "opts"
401 }
402 ],
403 "resultType": "LocationIterator",
404 "client": {
405 "shortName": "ProvisioningClient",
406 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
407 },
408 "method": {
409 "shortName": "ListLocations",
410 "fullName": "google.cloud.location.Locations.ListLocations",
411 "service": {
412 "shortName": "Locations",
413 "fullName": "google.cloud.location.Locations"
414 }
415 }
416 },
417 "origin": "API_DEFINITION",
418 "segments": [
419 {
420 "start": 18,
421 "end": 66,
422 "type": "FULL"
423 }
424 ]
425 },
426 {
427 "regionTag": "apigeeregistry_v1_generated_Provisioning_ListOperations_sync",
428 "title": "apigeeregistry ListOperations Sample",
429 "description": "ListOperations is a utility method from google.longrunning.Operations.",
430 "file": "ProvisioningClient/ListOperations/main.go",
431 "language": "GO",
432 "clientMethod": {
433 "shortName": "ListOperations",
434 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.ListOperations",
435 "parameters": [
436 {
437 "type": "context.Context",
438 "name": "ctx"
439 },
440 {
441 "type": "longrunningpb.ListOperationsRequest",
442 "name": "req"
443 },
444 {
445 "type": "...gax.CallOption",
446 "name": "opts"
447 }
448 ],
449 "resultType": "OperationIterator",
450 "client": {
451 "shortName": "ProvisioningClient",
452 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
453 },
454 "method": {
455 "shortName": "ListOperations",
456 "fullName": "google.longrunning.Operations.ListOperations",
457 "service": {
458 "shortName": "Operations",
459 "fullName": "google.longrunning.Operations"
460 }
461 }
462 },
463 "origin": "API_DEFINITION",
464 "segments": [
465 {
466 "start": 18,
467 "end": 66,
468 "type": "FULL"
469 }
470 ]
471 },
472 {
473 "regionTag": "apigeeregistry_v1_generated_Provisioning_SetIamPolicy_sync",
474 "title": "apigeeregistry SetIamPolicy Sample",
475 "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
476 "file": "ProvisioningClient/SetIamPolicy/main.go",
477 "language": "GO",
478 "clientMethod": {
479 "shortName": "SetIamPolicy",
480 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.SetIamPolicy",
481 "parameters": [
482 {
483 "type": "context.Context",
484 "name": "ctx"
485 },
486 {
487 "type": "iampb.SetIamPolicyRequest",
488 "name": "req"
489 },
490 {
491 "type": "...gax.CallOption",
492 "name": "opts"
493 }
494 ],
495 "resultType": "*iampb.Policy",
496 "client": {
497 "shortName": "ProvisioningClient",
498 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
499 },
500 "method": {
501 "shortName": "SetIamPolicy",
502 "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
503 "service": {
504 "shortName": "IAMPolicy",
505 "fullName": "google.iam.v1.IAMPolicy"
506 }
507 }
508 },
509 "origin": "API_DEFINITION",
510 "segments": [
511 {
512 "start": 18,
513 "end": 53,
514 "type": "FULL"
515 }
516 ]
517 },
518 {
519 "regionTag": "apigeeregistry_v1_generated_Provisioning_TestIamPermissions_sync",
520 "title": "apigeeregistry TestIamPermissions Sample",
521 "description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
522 "file": "ProvisioningClient/TestIamPermissions/main.go",
523 "language": "GO",
524 "clientMethod": {
525 "shortName": "TestIamPermissions",
526 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.TestIamPermissions",
527 "parameters": [
528 {
529 "type": "context.Context",
530 "name": "ctx"
531 },
532 {
533 "type": "iampb.TestIamPermissionsRequest",
534 "name": "req"
535 },
536 {
537 "type": "...gax.CallOption",
538 "name": "opts"
539 }
540 ],
541 "resultType": "*iampb.TestIamPermissionsResponse",
542 "client": {
543 "shortName": "ProvisioningClient",
544 "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient"
545 },
546 "method": {
547 "shortName": "TestIamPermissions",
548 "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
549 "service": {
550 "shortName": "IAMPolicy",
551 "fullName": "google.iam.v1.IAMPolicy"
552 }
553 }
554 },
555 "origin": "API_DEFINITION",
556 "segments": [
557 {
558 "start": 18,
559 "end": 53,
560 "type": "FULL"
561 }
562 ]
563 },
564 {
565 "regionTag": "apigeeregistry_v1_generated_Registry_CancelOperation_sync",
566 "title": "apigeeregistry CancelOperation Sample",
567 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
568 "file": "RegistryClient/CancelOperation/main.go",
569 "language": "GO",
570 "clientMethod": {
571 "shortName": "CancelOperation",
572 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CancelOperation",
573 "parameters": [
574 {
575 "type": "context.Context",
576 "name": "ctx"
577 },
578 {
579 "type": "longrunningpb.CancelOperationRequest",
580 "name": "req"
581 },
582 {
583 "type": "...gax.CallOption",
584 "name": "opts"
585 }
586 ],
587 "client": {
588 "shortName": "RegistryClient",
589 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
590 },
591 "method": {
592 "shortName": "CancelOperation",
593 "fullName": "google.longrunning.Operations.CancelOperation",
594 "service": {
595 "shortName": "Operations",
596 "fullName": "google.longrunning.Operations"
597 }
598 }
599 },
600 "origin": "API_DEFINITION",
601 "segments": [
602 {
603 "start": 18,
604 "end": 51,
605 "type": "FULL"
606 }
607 ]
608 },
609 {
610 "regionTag": "apigeeregistry_v1_generated_Registry_CreateApi_sync",
611 "title": "apigeeregistry CreateApi Sample",
612 "description": "CreateApi creates a specified API.",
613 "file": "RegistryClient/CreateApi/main.go",
614 "language": "GO",
615 "clientMethod": {
616 "shortName": "CreateApi",
617 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CreateApi",
618 "parameters": [
619 {
620 "type": "context.Context",
621 "name": "ctx"
622 },
623 {
624 "type": "apigeeregistrypb.CreateApiRequest",
625 "name": "req"
626 },
627 {
628 "type": "...gax.CallOption",
629 "name": "opts"
630 }
631 ],
632 "resultType": "*apigeeregistrypb.Api",
633 "client": {
634 "shortName": "RegistryClient",
635 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
636 },
637 "method": {
638 "shortName": "CreateApi",
639 "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApi",
640 "service": {
641 "shortName": "Registry",
642 "fullName": "google.cloud.apigeeregistry.v1.Registry"
643 }
644 }
645 },
646 "origin": "API_DEFINITION",
647 "segments": [
648 {
649 "start": 18,
650 "end": 53,
651 "type": "FULL"
652 }
653 ]
654 },
655 {
656 "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiDeployment_sync",
657 "title": "apigeeregistry CreateApiDeployment Sample",
658 "description": "CreateApiDeployment creates a specified deployment.",
659 "file": "RegistryClient/CreateApiDeployment/main.go",
660 "language": "GO",
661 "clientMethod": {
662 "shortName": "CreateApiDeployment",
663 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CreateApiDeployment",
664 "parameters": [
665 {
666 "type": "context.Context",
667 "name": "ctx"
668 },
669 {
670 "type": "apigeeregistrypb.CreateApiDeploymentRequest",
671 "name": "req"
672 },
673 {
674 "type": "...gax.CallOption",
675 "name": "opts"
676 }
677 ],
678 "resultType": "*apigeeregistrypb.ApiDeployment",
679 "client": {
680 "shortName": "RegistryClient",
681 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
682 },
683 "method": {
684 "shortName": "CreateApiDeployment",
685 "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiDeployment",
686 "service": {
687 "shortName": "Registry",
688 "fullName": "google.cloud.apigeeregistry.v1.Registry"
689 }
690 }
691 },
692 "origin": "API_DEFINITION",
693 "segments": [
694 {
695 "start": 18,
696 "end": 53,
697 "type": "FULL"
698 }
699 ]
700 },
701 {
702 "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiSpec_sync",
703 "title": "apigeeregistry CreateApiSpec Sample",
704 "description": "CreateApiSpec creates a specified spec.",
705 "file": "RegistryClient/CreateApiSpec/main.go",
706 "language": "GO",
707 "clientMethod": {
708 "shortName": "CreateApiSpec",
709 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CreateApiSpec",
710 "parameters": [
711 {
712 "type": "context.Context",
713 "name": "ctx"
714 },
715 {
716 "type": "apigeeregistrypb.CreateApiSpecRequest",
717 "name": "req"
718 },
719 {
720 "type": "...gax.CallOption",
721 "name": "opts"
722 }
723 ],
724 "resultType": "*apigeeregistrypb.ApiSpec",
725 "client": {
726 "shortName": "RegistryClient",
727 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
728 },
729 "method": {
730 "shortName": "CreateApiSpec",
731 "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiSpec",
732 "service": {
733 "shortName": "Registry",
734 "fullName": "google.cloud.apigeeregistry.v1.Registry"
735 }
736 }
737 },
738 "origin": "API_DEFINITION",
739 "segments": [
740 {
741 "start": 18,
742 "end": 53,
743 "type": "FULL"
744 }
745 ]
746 },
747 {
748 "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiVersion_sync",
749 "title": "apigeeregistry CreateApiVersion Sample",
750 "description": "CreateApiVersion creates a specified version.",
751 "file": "RegistryClient/CreateApiVersion/main.go",
752 "language": "GO",
753 "clientMethod": {
754 "shortName": "CreateApiVersion",
755 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CreateApiVersion",
756 "parameters": [
757 {
758 "type": "context.Context",
759 "name": "ctx"
760 },
761 {
762 "type": "apigeeregistrypb.CreateApiVersionRequest",
763 "name": "req"
764 },
765 {
766 "type": "...gax.CallOption",
767 "name": "opts"
768 }
769 ],
770 "resultType": "*apigeeregistrypb.ApiVersion",
771 "client": {
772 "shortName": "RegistryClient",
773 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
774 },
775 "method": {
776 "shortName": "CreateApiVersion",
777 "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiVersion",
778 "service": {
779 "shortName": "Registry",
780 "fullName": "google.cloud.apigeeregistry.v1.Registry"
781 }
782 }
783 },
784 "origin": "API_DEFINITION",
785 "segments": [
786 {
787 "start": 18,
788 "end": 53,
789 "type": "FULL"
790 }
791 ]
792 },
793 {
794 "regionTag": "apigeeregistry_v1_generated_Registry_CreateArtifact_sync",
795 "title": "apigeeregistry CreateArtifact Sample",
796 "description": "CreateArtifact creates a specified artifact.",
797 "file": "RegistryClient/CreateArtifact/main.go",
798 "language": "GO",
799 "clientMethod": {
800 "shortName": "CreateArtifact",
801 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CreateArtifact",
802 "parameters": [
803 {
804 "type": "context.Context",
805 "name": "ctx"
806 },
807 {
808 "type": "apigeeregistrypb.CreateArtifactRequest",
809 "name": "req"
810 },
811 {
812 "type": "...gax.CallOption",
813 "name": "opts"
814 }
815 ],
816 "resultType": "*apigeeregistrypb.Artifact",
817 "client": {
818 "shortName": "RegistryClient",
819 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
820 },
821 "method": {
822 "shortName": "CreateArtifact",
823 "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateArtifact",
824 "service": {
825 "shortName": "Registry",
826 "fullName": "google.cloud.apigeeregistry.v1.Registry"
827 }
828 }
829 },
830 "origin": "API_DEFINITION",
831 "segments": [
832 {
833 "start": 18,
834 "end": 53,
835 "type": "FULL"
836 }
837 ]
838 },
839 {
840 "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApi_sync",
841 "title": "apigeeregistry DeleteApi Sample",
842 "description": "DeleteApi removes a specified API and all of the resources that it\nowns.",
843 "file": "RegistryClient/DeleteApi/main.go",
844 "language": "GO",
845 "clientMethod": {
846 "shortName": "DeleteApi",
847 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApi",
848 "parameters": [
849 {
850 "type": "context.Context",
851 "name": "ctx"
852 },
853 {
854 "type": "apigeeregistrypb.DeleteApiRequest",
855 "name": "req"
856 },
857 {
858 "type": "...gax.CallOption",
859 "name": "opts"
860 }
861 ],
862 "client": {
863 "shortName": "RegistryClient",
864 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
865 },
866 "method": {
867 "shortName": "DeleteApi",
868 "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApi",
869 "service": {
870 "shortName": "Registry",
871 "fullName": "google.cloud.apigeeregistry.v1.Registry"
872 }
873 }
874 },
875 "origin": "API_DEFINITION",
876 "segments": [
877 {
878 "start": 18,
879 "end": 51,
880 "type": "FULL"
881 }
882 ]
883 },
884 {
885 "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeployment_sync",
886 "title": "apigeeregistry DeleteApiDeployment Sample",
887 "description": "DeleteApiDeployment removes a specified deployment, all revisions, and all\nchild resources (e.g., artifacts).",
888 "file": "RegistryClient/DeleteApiDeployment/main.go",
889 "language": "GO",
890 "clientMethod": {
891 "shortName": "DeleteApiDeployment",
892 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApiDeployment",
893 "parameters": [
894 {
895 "type": "context.Context",
896 "name": "ctx"
897 },
898 {
899 "type": "apigeeregistrypb.DeleteApiDeploymentRequest",
900 "name": "req"
901 },
902 {
903 "type": "...gax.CallOption",
904 "name": "opts"
905 }
906 ],
907 "client": {
908 "shortName": "RegistryClient",
909 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
910 },
911 "method": {
912 "shortName": "DeleteApiDeployment",
913 "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeployment",
914 "service": {
915 "shortName": "Registry",
916 "fullName": "google.cloud.apigeeregistry.v1.Registry"
917 }
918 }
919 },
920 "origin": "API_DEFINITION",
921 "segments": [
922 {
923 "start": 18,
924 "end": 51,
925 "type": "FULL"
926 }
927 ]
928 },
929 {
930 "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_sync",
931 "title": "apigeeregistry DeleteApiDeploymentRevision Sample",
932 "description": "DeleteApiDeploymentRevision deletes a revision of a deployment.",
933 "file": "RegistryClient/DeleteApiDeploymentRevision/main.go",
934 "language": "GO",
935 "clientMethod": {
936 "shortName": "DeleteApiDeploymentRevision",
937 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApiDeploymentRevision",
938 "parameters": [
939 {
940 "type": "context.Context",
941 "name": "ctx"
942 },
943 {
944 "type": "apigeeregistrypb.DeleteApiDeploymentRevisionRequest",
945 "name": "req"
946 },
947 {
948 "type": "...gax.CallOption",
949 "name": "opts"
950 }
951 ],
952 "resultType": "*apigeeregistrypb.ApiDeployment",
953 "client": {
954 "shortName": "RegistryClient",
955 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
956 },
957 "method": {
958 "shortName": "DeleteApiDeploymentRevision",
959 "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeploymentRevision",
960 "service": {
961 "shortName": "Registry",
962 "fullName": "google.cloud.apigeeregistry.v1.Registry"
963 }
964 }
965 },
966 "origin": "API_DEFINITION",
967 "segments": [
968 {
969 "start": 18,
970 "end": 53,
971 "type": "FULL"
972 }
973 ]
974 },
975 {
976 "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpec_sync",
977 "title": "apigeeregistry DeleteApiSpec Sample",
978 "description": "DeleteApiSpec removes a specified spec, all revisions, and all child\nresources (e.g., artifacts).",
979 "file": "RegistryClient/DeleteApiSpec/main.go",
980 "language": "GO",
981 "clientMethod": {
982 "shortName": "DeleteApiSpec",
983 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApiSpec",
984 "parameters": [
985 {
986 "type": "context.Context",
987 "name": "ctx"
988 },
989 {
990 "type": "apigeeregistrypb.DeleteApiSpecRequest",
991 "name": "req"
992 },
993 {
994 "type": "...gax.CallOption",
995 "name": "opts"
996 }
997 ],
998 "client": {
999 "shortName": "RegistryClient",
1000 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1001 },
1002 "method": {
1003 "shortName": "DeleteApiSpec",
1004 "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpec",
1005 "service": {
1006 "shortName": "Registry",
1007 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1008 }
1009 }
1010 },
1011 "origin": "API_DEFINITION",
1012 "segments": [
1013 {
1014 "start": 18,
1015 "end": 51,
1016 "type": "FULL"
1017 }
1018 ]
1019 },
1020 {
1021 "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_sync",
1022 "title": "apigeeregistry DeleteApiSpecRevision Sample",
1023 "description": "DeleteApiSpecRevision deletes a revision of a spec.",
1024 "file": "RegistryClient/DeleteApiSpecRevision/main.go",
1025 "language": "GO",
1026 "clientMethod": {
1027 "shortName": "DeleteApiSpecRevision",
1028 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApiSpecRevision",
1029 "parameters": [
1030 {
1031 "type": "context.Context",
1032 "name": "ctx"
1033 },
1034 {
1035 "type": "apigeeregistrypb.DeleteApiSpecRevisionRequest",
1036 "name": "req"
1037 },
1038 {
1039 "type": "...gax.CallOption",
1040 "name": "opts"
1041 }
1042 ],
1043 "resultType": "*apigeeregistrypb.ApiSpec",
1044 "client": {
1045 "shortName": "RegistryClient",
1046 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1047 },
1048 "method": {
1049 "shortName": "DeleteApiSpecRevision",
1050 "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpecRevision",
1051 "service": {
1052 "shortName": "Registry",
1053 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1054 }
1055 }
1056 },
1057 "origin": "API_DEFINITION",
1058 "segments": [
1059 {
1060 "start": 18,
1061 "end": 53,
1062 "type": "FULL"
1063 }
1064 ]
1065 },
1066 {
1067 "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiVersion_sync",
1068 "title": "apigeeregistry DeleteApiVersion Sample",
1069 "description": "DeleteApiVersion removes a specified version and all of the resources that\nit owns.",
1070 "file": "RegistryClient/DeleteApiVersion/main.go",
1071 "language": "GO",
1072 "clientMethod": {
1073 "shortName": "DeleteApiVersion",
1074 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApiVersion",
1075 "parameters": [
1076 {
1077 "type": "context.Context",
1078 "name": "ctx"
1079 },
1080 {
1081 "type": "apigeeregistrypb.DeleteApiVersionRequest",
1082 "name": "req"
1083 },
1084 {
1085 "type": "...gax.CallOption",
1086 "name": "opts"
1087 }
1088 ],
1089 "client": {
1090 "shortName": "RegistryClient",
1091 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1092 },
1093 "method": {
1094 "shortName": "DeleteApiVersion",
1095 "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiVersion",
1096 "service": {
1097 "shortName": "Registry",
1098 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1099 }
1100 }
1101 },
1102 "origin": "API_DEFINITION",
1103 "segments": [
1104 {
1105 "start": 18,
1106 "end": 51,
1107 "type": "FULL"
1108 }
1109 ]
1110 },
1111 {
1112 "regionTag": "apigeeregistry_v1_generated_Registry_DeleteArtifact_sync",
1113 "title": "apigeeregistry DeleteArtifact Sample",
1114 "description": "DeleteArtifact removes a specified artifact.",
1115 "file": "RegistryClient/DeleteArtifact/main.go",
1116 "language": "GO",
1117 "clientMethod": {
1118 "shortName": "DeleteArtifact",
1119 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteArtifact",
1120 "parameters": [
1121 {
1122 "type": "context.Context",
1123 "name": "ctx"
1124 },
1125 {
1126 "type": "apigeeregistrypb.DeleteArtifactRequest",
1127 "name": "req"
1128 },
1129 {
1130 "type": "...gax.CallOption",
1131 "name": "opts"
1132 }
1133 ],
1134 "client": {
1135 "shortName": "RegistryClient",
1136 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1137 },
1138 "method": {
1139 "shortName": "DeleteArtifact",
1140 "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteArtifact",
1141 "service": {
1142 "shortName": "Registry",
1143 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1144 }
1145 }
1146 },
1147 "origin": "API_DEFINITION",
1148 "segments": [
1149 {
1150 "start": 18,
1151 "end": 51,
1152 "type": "FULL"
1153 }
1154 ]
1155 },
1156 {
1157 "regionTag": "apigeeregistry_v1_generated_Registry_DeleteOperation_sync",
1158 "title": "apigeeregistry DeleteOperation Sample",
1159 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
1160 "file": "RegistryClient/DeleteOperation/main.go",
1161 "language": "GO",
1162 "clientMethod": {
1163 "shortName": "DeleteOperation",
1164 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteOperation",
1165 "parameters": [
1166 {
1167 "type": "context.Context",
1168 "name": "ctx"
1169 },
1170 {
1171 "type": "longrunningpb.DeleteOperationRequest",
1172 "name": "req"
1173 },
1174 {
1175 "type": "...gax.CallOption",
1176 "name": "opts"
1177 }
1178 ],
1179 "client": {
1180 "shortName": "RegistryClient",
1181 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1182 },
1183 "method": {
1184 "shortName": "DeleteOperation",
1185 "fullName": "google.longrunning.Operations.DeleteOperation",
1186 "service": {
1187 "shortName": "Operations",
1188 "fullName": "google.longrunning.Operations"
1189 }
1190 }
1191 },
1192 "origin": "API_DEFINITION",
1193 "segments": [
1194 {
1195 "start": 18,
1196 "end": 51,
1197 "type": "FULL"
1198 }
1199 ]
1200 },
1201 {
1202 "regionTag": "apigeeregistry_v1_generated_Registry_GetApi_sync",
1203 "title": "apigeeregistry GetApi Sample",
1204 "description": "GetApi returns a specified API.",
1205 "file": "RegistryClient/GetApi/main.go",
1206 "language": "GO",
1207 "clientMethod": {
1208 "shortName": "GetApi",
1209 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetApi",
1210 "parameters": [
1211 {
1212 "type": "context.Context",
1213 "name": "ctx"
1214 },
1215 {
1216 "type": "apigeeregistrypb.GetApiRequest",
1217 "name": "req"
1218 },
1219 {
1220 "type": "...gax.CallOption",
1221 "name": "opts"
1222 }
1223 ],
1224 "resultType": "*apigeeregistrypb.Api",
1225 "client": {
1226 "shortName": "RegistryClient",
1227 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1228 },
1229 "method": {
1230 "shortName": "GetApi",
1231 "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApi",
1232 "service": {
1233 "shortName": "Registry",
1234 "fullName": "google.cloud.apigeeregistry.v1.Registry"
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": "apigeeregistry_v1_generated_Registry_GetApiDeployment_sync",
1249 "title": "apigeeregistry GetApiDeployment Sample",
1250 "description": "GetApiDeployment returns a specified deployment.",
1251 "file": "RegistryClient/GetApiDeployment/main.go",
1252 "language": "GO",
1253 "clientMethod": {
1254 "shortName": "GetApiDeployment",
1255 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetApiDeployment",
1256 "parameters": [
1257 {
1258 "type": "context.Context",
1259 "name": "ctx"
1260 },
1261 {
1262 "type": "apigeeregistrypb.GetApiDeploymentRequest",
1263 "name": "req"
1264 },
1265 {
1266 "type": "...gax.CallOption",
1267 "name": "opts"
1268 }
1269 ],
1270 "resultType": "*apigeeregistrypb.ApiDeployment",
1271 "client": {
1272 "shortName": "RegistryClient",
1273 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1274 },
1275 "method": {
1276 "shortName": "GetApiDeployment",
1277 "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiDeployment",
1278 "service": {
1279 "shortName": "Registry",
1280 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1281 }
1282 }
1283 },
1284 "origin": "API_DEFINITION",
1285 "segments": [
1286 {
1287 "start": 18,
1288 "end": 53,
1289 "type": "FULL"
1290 }
1291 ]
1292 },
1293 {
1294 "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpec_sync",
1295 "title": "apigeeregistry GetApiSpec Sample",
1296 "description": "GetApiSpec returns a specified spec.",
1297 "file": "RegistryClient/GetApiSpec/main.go",
1298 "language": "GO",
1299 "clientMethod": {
1300 "shortName": "GetApiSpec",
1301 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetApiSpec",
1302 "parameters": [
1303 {
1304 "type": "context.Context",
1305 "name": "ctx"
1306 },
1307 {
1308 "type": "apigeeregistrypb.GetApiSpecRequest",
1309 "name": "req"
1310 },
1311 {
1312 "type": "...gax.CallOption",
1313 "name": "opts"
1314 }
1315 ],
1316 "resultType": "*apigeeregistrypb.ApiSpec",
1317 "client": {
1318 "shortName": "RegistryClient",
1319 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1320 },
1321 "method": {
1322 "shortName": "GetApiSpec",
1323 "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpec",
1324 "service": {
1325 "shortName": "Registry",
1326 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1327 }
1328 }
1329 },
1330 "origin": "API_DEFINITION",
1331 "segments": [
1332 {
1333 "start": 18,
1334 "end": 53,
1335 "type": "FULL"
1336 }
1337 ]
1338 },
1339 {
1340 "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpecContents_sync",
1341 "title": "apigeeregistry GetApiSpecContents Sample",
1342 "description": "GetApiSpecContents returns the contents of a specified spec.\nIf specs are stored with GZip compression, the default behavior\nis to return the spec uncompressed (the mime_type response field\nindicates the exact format returned).",
1343 "file": "RegistryClient/GetApiSpecContents/main.go",
1344 "language": "GO",
1345 "clientMethod": {
1346 "shortName": "GetApiSpecContents",
1347 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetApiSpecContents",
1348 "parameters": [
1349 {
1350 "type": "context.Context",
1351 "name": "ctx"
1352 },
1353 {
1354 "type": "apigeeregistrypb.GetApiSpecContentsRequest",
1355 "name": "req"
1356 },
1357 {
1358 "type": "...gax.CallOption",
1359 "name": "opts"
1360 }
1361 ],
1362 "resultType": "*httpbodypb.HttpBody",
1363 "client": {
1364 "shortName": "RegistryClient",
1365 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1366 },
1367 "method": {
1368 "shortName": "GetApiSpecContents",
1369 "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpecContents",
1370 "service": {
1371 "shortName": "Registry",
1372 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1373 }
1374 }
1375 },
1376 "origin": "API_DEFINITION",
1377 "segments": [
1378 {
1379 "start": 18,
1380 "end": 53,
1381 "type": "FULL"
1382 }
1383 ]
1384 },
1385 {
1386 "regionTag": "apigeeregistry_v1_generated_Registry_GetApiVersion_sync",
1387 "title": "apigeeregistry GetApiVersion Sample",
1388 "description": "GetApiVersion returns a specified version.",
1389 "file": "RegistryClient/GetApiVersion/main.go",
1390 "language": "GO",
1391 "clientMethod": {
1392 "shortName": "GetApiVersion",
1393 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetApiVersion",
1394 "parameters": [
1395 {
1396 "type": "context.Context",
1397 "name": "ctx"
1398 },
1399 {
1400 "type": "apigeeregistrypb.GetApiVersionRequest",
1401 "name": "req"
1402 },
1403 {
1404 "type": "...gax.CallOption",
1405 "name": "opts"
1406 }
1407 ],
1408 "resultType": "*apigeeregistrypb.ApiVersion",
1409 "client": {
1410 "shortName": "RegistryClient",
1411 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1412 },
1413 "method": {
1414 "shortName": "GetApiVersion",
1415 "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiVersion",
1416 "service": {
1417 "shortName": "Registry",
1418 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1419 }
1420 }
1421 },
1422 "origin": "API_DEFINITION",
1423 "segments": [
1424 {
1425 "start": 18,
1426 "end": 53,
1427 "type": "FULL"
1428 }
1429 ]
1430 },
1431 {
1432 "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifact_sync",
1433 "title": "apigeeregistry GetArtifact Sample",
1434 "description": "GetArtifact returns a specified artifact.",
1435 "file": "RegistryClient/GetArtifact/main.go",
1436 "language": "GO",
1437 "clientMethod": {
1438 "shortName": "GetArtifact",
1439 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetArtifact",
1440 "parameters": [
1441 {
1442 "type": "context.Context",
1443 "name": "ctx"
1444 },
1445 {
1446 "type": "apigeeregistrypb.GetArtifactRequest",
1447 "name": "req"
1448 },
1449 {
1450 "type": "...gax.CallOption",
1451 "name": "opts"
1452 }
1453 ],
1454 "resultType": "*apigeeregistrypb.Artifact",
1455 "client": {
1456 "shortName": "RegistryClient",
1457 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1458 },
1459 "method": {
1460 "shortName": "GetArtifact",
1461 "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifact",
1462 "service": {
1463 "shortName": "Registry",
1464 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1465 }
1466 }
1467 },
1468 "origin": "API_DEFINITION",
1469 "segments": [
1470 {
1471 "start": 18,
1472 "end": 53,
1473 "type": "FULL"
1474 }
1475 ]
1476 },
1477 {
1478 "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifactContents_sync",
1479 "title": "apigeeregistry GetArtifactContents Sample",
1480 "description": "GetArtifactContents returns the contents of a specified artifact.\nIf artifacts are stored with GZip compression, the default behavior\nis to return the artifact uncompressed (the mime_type response field\nindicates the exact format returned).",
1481 "file": "RegistryClient/GetArtifactContents/main.go",
1482 "language": "GO",
1483 "clientMethod": {
1484 "shortName": "GetArtifactContents",
1485 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetArtifactContents",
1486 "parameters": [
1487 {
1488 "type": "context.Context",
1489 "name": "ctx"
1490 },
1491 {
1492 "type": "apigeeregistrypb.GetArtifactContentsRequest",
1493 "name": "req"
1494 },
1495 {
1496 "type": "...gax.CallOption",
1497 "name": "opts"
1498 }
1499 ],
1500 "resultType": "*httpbodypb.HttpBody",
1501 "client": {
1502 "shortName": "RegistryClient",
1503 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1504 },
1505 "method": {
1506 "shortName": "GetArtifactContents",
1507 "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifactContents",
1508 "service": {
1509 "shortName": "Registry",
1510 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1511 }
1512 }
1513 },
1514 "origin": "API_DEFINITION",
1515 "segments": [
1516 {
1517 "start": 18,
1518 "end": 53,
1519 "type": "FULL"
1520 }
1521 ]
1522 },
1523 {
1524 "regionTag": "apigeeregistry_v1_generated_Registry_GetIamPolicy_sync",
1525 "title": "apigeeregistry GetIamPolicy Sample",
1526 "description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
1527 "file": "RegistryClient/GetIamPolicy/main.go",
1528 "language": "GO",
1529 "clientMethod": {
1530 "shortName": "GetIamPolicy",
1531 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetIamPolicy",
1532 "parameters": [
1533 {
1534 "type": "context.Context",
1535 "name": "ctx"
1536 },
1537 {
1538 "type": "iampb.GetIamPolicyRequest",
1539 "name": "req"
1540 },
1541 {
1542 "type": "...gax.CallOption",
1543 "name": "opts"
1544 }
1545 ],
1546 "resultType": "*iampb.Policy",
1547 "client": {
1548 "shortName": "RegistryClient",
1549 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1550 },
1551 "method": {
1552 "shortName": "GetIamPolicy",
1553 "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
1554 "service": {
1555 "shortName": "IAMPolicy",
1556 "fullName": "google.iam.v1.IAMPolicy"
1557 }
1558 }
1559 },
1560 "origin": "API_DEFINITION",
1561 "segments": [
1562 {
1563 "start": 18,
1564 "end": 53,
1565 "type": "FULL"
1566 }
1567 ]
1568 },
1569 {
1570 "regionTag": "apigeeregistry_v1_generated_Registry_GetLocation_sync",
1571 "title": "apigeeregistry GetLocation Sample",
1572 "description": "GetLocation gets information about a location.",
1573 "file": "RegistryClient/GetLocation/main.go",
1574 "language": "GO",
1575 "clientMethod": {
1576 "shortName": "GetLocation",
1577 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetLocation",
1578 "parameters": [
1579 {
1580 "type": "context.Context",
1581 "name": "ctx"
1582 },
1583 {
1584 "type": "locationpb.GetLocationRequest",
1585 "name": "req"
1586 },
1587 {
1588 "type": "...gax.CallOption",
1589 "name": "opts"
1590 }
1591 ],
1592 "resultType": "*locationpb.Location",
1593 "client": {
1594 "shortName": "RegistryClient",
1595 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1596 },
1597 "method": {
1598 "shortName": "GetLocation",
1599 "fullName": "google.cloud.location.Locations.GetLocation",
1600 "service": {
1601 "shortName": "Locations",
1602 "fullName": "google.cloud.location.Locations"
1603 }
1604 }
1605 },
1606 "origin": "API_DEFINITION",
1607 "segments": [
1608 {
1609 "start": 18,
1610 "end": 53,
1611 "type": "FULL"
1612 }
1613 ]
1614 },
1615 {
1616 "regionTag": "apigeeregistry_v1_generated_Registry_GetOperation_sync",
1617 "title": "apigeeregistry GetOperation Sample",
1618 "description": "GetOperation is a utility method from google.longrunning.Operations.",
1619 "file": "RegistryClient/GetOperation/main.go",
1620 "language": "GO",
1621 "clientMethod": {
1622 "shortName": "GetOperation",
1623 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetOperation",
1624 "parameters": [
1625 {
1626 "type": "context.Context",
1627 "name": "ctx"
1628 },
1629 {
1630 "type": "longrunningpb.GetOperationRequest",
1631 "name": "req"
1632 },
1633 {
1634 "type": "...gax.CallOption",
1635 "name": "opts"
1636 }
1637 ],
1638 "resultType": "*longrunningpb.Operation",
1639 "client": {
1640 "shortName": "RegistryClient",
1641 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1642 },
1643 "method": {
1644 "shortName": "GetOperation",
1645 "fullName": "google.longrunning.Operations.GetOperation",
1646 "service": {
1647 "shortName": "Operations",
1648 "fullName": "google.longrunning.Operations"
1649 }
1650 }
1651 },
1652 "origin": "API_DEFINITION",
1653 "segments": [
1654 {
1655 "start": 18,
1656 "end": 53,
1657 "type": "FULL"
1658 }
1659 ]
1660 },
1661 {
1662 "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_sync",
1663 "title": "apigeeregistry ListApiDeploymentRevisions Sample",
1664 "description": "ListApiDeploymentRevisions lists all revisions of a deployment.\nRevisions are returned in descending order of revision creation time.",
1665 "file": "RegistryClient/ListApiDeploymentRevisions/main.go",
1666 "language": "GO",
1667 "clientMethod": {
1668 "shortName": "ListApiDeploymentRevisions",
1669 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApiDeploymentRevisions",
1670 "parameters": [
1671 {
1672 "type": "context.Context",
1673 "name": "ctx"
1674 },
1675 {
1676 "type": "apigeeregistrypb.ListApiDeploymentRevisionsRequest",
1677 "name": "req"
1678 },
1679 {
1680 "type": "...gax.CallOption",
1681 "name": "opts"
1682 }
1683 ],
1684 "resultType": "ApiDeploymentIterator",
1685 "client": {
1686 "shortName": "RegistryClient",
1687 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1688 },
1689 "method": {
1690 "shortName": "ListApiDeploymentRevisions",
1691 "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeploymentRevisions",
1692 "service": {
1693 "shortName": "Registry",
1694 "fullName": "google.cloud.apigeeregistry.v1.Registry"
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": "apigeeregistry_v1_generated_Registry_ListApiDeployments_sync",
1709 "title": "apigeeregistry ListApiDeployments Sample",
1710 "description": "ListApiDeployments returns matching deployments.",
1711 "file": "RegistryClient/ListApiDeployments/main.go",
1712 "language": "GO",
1713 "clientMethod": {
1714 "shortName": "ListApiDeployments",
1715 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApiDeployments",
1716 "parameters": [
1717 {
1718 "type": "context.Context",
1719 "name": "ctx"
1720 },
1721 {
1722 "type": "apigeeregistrypb.ListApiDeploymentsRequest",
1723 "name": "req"
1724 },
1725 {
1726 "type": "...gax.CallOption",
1727 "name": "opts"
1728 }
1729 ],
1730 "resultType": "ApiDeploymentIterator",
1731 "client": {
1732 "shortName": "RegistryClient",
1733 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1734 },
1735 "method": {
1736 "shortName": "ListApiDeployments",
1737 "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeployments",
1738 "service": {
1739 "shortName": "Registry",
1740 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1741 }
1742 }
1743 },
1744 "origin": "API_DEFINITION",
1745 "segments": [
1746 {
1747 "start": 18,
1748 "end": 66,
1749 "type": "FULL"
1750 }
1751 ]
1752 },
1753 {
1754 "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_sync",
1755 "title": "apigeeregistry ListApiSpecRevisions Sample",
1756 "description": "ListApiSpecRevisions lists all revisions of a spec.\nRevisions are returned in descending order of revision creation time.",
1757 "file": "RegistryClient/ListApiSpecRevisions/main.go",
1758 "language": "GO",
1759 "clientMethod": {
1760 "shortName": "ListApiSpecRevisions",
1761 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApiSpecRevisions",
1762 "parameters": [
1763 {
1764 "type": "context.Context",
1765 "name": "ctx"
1766 },
1767 {
1768 "type": "apigeeregistrypb.ListApiSpecRevisionsRequest",
1769 "name": "req"
1770 },
1771 {
1772 "type": "...gax.CallOption",
1773 "name": "opts"
1774 }
1775 ],
1776 "resultType": "ApiSpecIterator",
1777 "client": {
1778 "shortName": "RegistryClient",
1779 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1780 },
1781 "method": {
1782 "shortName": "ListApiSpecRevisions",
1783 "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecRevisions",
1784 "service": {
1785 "shortName": "Registry",
1786 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1787 }
1788 }
1789 },
1790 "origin": "API_DEFINITION",
1791 "segments": [
1792 {
1793 "start": 18,
1794 "end": 66,
1795 "type": "FULL"
1796 }
1797 ]
1798 },
1799 {
1800 "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecs_sync",
1801 "title": "apigeeregistry ListApiSpecs Sample",
1802 "description": "ListApiSpecs returns matching specs.",
1803 "file": "RegistryClient/ListApiSpecs/main.go",
1804 "language": "GO",
1805 "clientMethod": {
1806 "shortName": "ListApiSpecs",
1807 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApiSpecs",
1808 "parameters": [
1809 {
1810 "type": "context.Context",
1811 "name": "ctx"
1812 },
1813 {
1814 "type": "apigeeregistrypb.ListApiSpecsRequest",
1815 "name": "req"
1816 },
1817 {
1818 "type": "...gax.CallOption",
1819 "name": "opts"
1820 }
1821 ],
1822 "resultType": "ApiSpecIterator",
1823 "client": {
1824 "shortName": "RegistryClient",
1825 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1826 },
1827 "method": {
1828 "shortName": "ListApiSpecs",
1829 "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecs",
1830 "service": {
1831 "shortName": "Registry",
1832 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1833 }
1834 }
1835 },
1836 "origin": "API_DEFINITION",
1837 "segments": [
1838 {
1839 "start": 18,
1840 "end": 66,
1841 "type": "FULL"
1842 }
1843 ]
1844 },
1845 {
1846 "regionTag": "apigeeregistry_v1_generated_Registry_ListApiVersions_sync",
1847 "title": "apigeeregistry ListApiVersions Sample",
1848 "description": "ListApiVersions returns matching versions.",
1849 "file": "RegistryClient/ListApiVersions/main.go",
1850 "language": "GO",
1851 "clientMethod": {
1852 "shortName": "ListApiVersions",
1853 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApiVersions",
1854 "parameters": [
1855 {
1856 "type": "context.Context",
1857 "name": "ctx"
1858 },
1859 {
1860 "type": "apigeeregistrypb.ListApiVersionsRequest",
1861 "name": "req"
1862 },
1863 {
1864 "type": "...gax.CallOption",
1865 "name": "opts"
1866 }
1867 ],
1868 "resultType": "ApiVersionIterator",
1869 "client": {
1870 "shortName": "RegistryClient",
1871 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1872 },
1873 "method": {
1874 "shortName": "ListApiVersions",
1875 "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiVersions",
1876 "service": {
1877 "shortName": "Registry",
1878 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1879 }
1880 }
1881 },
1882 "origin": "API_DEFINITION",
1883 "segments": [
1884 {
1885 "start": 18,
1886 "end": 66,
1887 "type": "FULL"
1888 }
1889 ]
1890 },
1891 {
1892 "regionTag": "apigeeregistry_v1_generated_Registry_ListApis_sync",
1893 "title": "apigeeregistry ListApis Sample",
1894 "description": "ListApis returns matching APIs.",
1895 "file": "RegistryClient/ListApis/main.go",
1896 "language": "GO",
1897 "clientMethod": {
1898 "shortName": "ListApis",
1899 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApis",
1900 "parameters": [
1901 {
1902 "type": "context.Context",
1903 "name": "ctx"
1904 },
1905 {
1906 "type": "apigeeregistrypb.ListApisRequest",
1907 "name": "req"
1908 },
1909 {
1910 "type": "...gax.CallOption",
1911 "name": "opts"
1912 }
1913 ],
1914 "resultType": "ApiIterator",
1915 "client": {
1916 "shortName": "RegistryClient",
1917 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1918 },
1919 "method": {
1920 "shortName": "ListApis",
1921 "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApis",
1922 "service": {
1923 "shortName": "Registry",
1924 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1925 }
1926 }
1927 },
1928 "origin": "API_DEFINITION",
1929 "segments": [
1930 {
1931 "start": 18,
1932 "end": 66,
1933 "type": "FULL"
1934 }
1935 ]
1936 },
1937 {
1938 "regionTag": "apigeeregistry_v1_generated_Registry_ListArtifacts_sync",
1939 "title": "apigeeregistry ListArtifacts Sample",
1940 "description": "ListArtifacts returns matching artifacts.",
1941 "file": "RegistryClient/ListArtifacts/main.go",
1942 "language": "GO",
1943 "clientMethod": {
1944 "shortName": "ListArtifacts",
1945 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListArtifacts",
1946 "parameters": [
1947 {
1948 "type": "context.Context",
1949 "name": "ctx"
1950 },
1951 {
1952 "type": "apigeeregistrypb.ListArtifactsRequest",
1953 "name": "req"
1954 },
1955 {
1956 "type": "...gax.CallOption",
1957 "name": "opts"
1958 }
1959 ],
1960 "resultType": "ArtifactIterator",
1961 "client": {
1962 "shortName": "RegistryClient",
1963 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
1964 },
1965 "method": {
1966 "shortName": "ListArtifacts",
1967 "fullName": "google.cloud.apigeeregistry.v1.Registry.ListArtifacts",
1968 "service": {
1969 "shortName": "Registry",
1970 "fullName": "google.cloud.apigeeregistry.v1.Registry"
1971 }
1972 }
1973 },
1974 "origin": "API_DEFINITION",
1975 "segments": [
1976 {
1977 "start": 18,
1978 "end": 66,
1979 "type": "FULL"
1980 }
1981 ]
1982 },
1983 {
1984 "regionTag": "apigeeregistry_v1_generated_Registry_ListLocations_sync",
1985 "title": "apigeeregistry ListLocations Sample",
1986 "description": "ListLocations lists information about the supported locations for this service.",
1987 "file": "RegistryClient/ListLocations/main.go",
1988 "language": "GO",
1989 "clientMethod": {
1990 "shortName": "ListLocations",
1991 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListLocations",
1992 "parameters": [
1993 {
1994 "type": "context.Context",
1995 "name": "ctx"
1996 },
1997 {
1998 "type": "locationpb.ListLocationsRequest",
1999 "name": "req"
2000 },
2001 {
2002 "type": "...gax.CallOption",
2003 "name": "opts"
2004 }
2005 ],
2006 "resultType": "LocationIterator",
2007 "client": {
2008 "shortName": "RegistryClient",
2009 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2010 },
2011 "method": {
2012 "shortName": "ListLocations",
2013 "fullName": "google.cloud.location.Locations.ListLocations",
2014 "service": {
2015 "shortName": "Locations",
2016 "fullName": "google.cloud.location.Locations"
2017 }
2018 }
2019 },
2020 "origin": "API_DEFINITION",
2021 "segments": [
2022 {
2023 "start": 18,
2024 "end": 66,
2025 "type": "FULL"
2026 }
2027 ]
2028 },
2029 {
2030 "regionTag": "apigeeregistry_v1_generated_Registry_ListOperations_sync",
2031 "title": "apigeeregistry ListOperations Sample",
2032 "description": "ListOperations is a utility method from google.longrunning.Operations.",
2033 "file": "RegistryClient/ListOperations/main.go",
2034 "language": "GO",
2035 "clientMethod": {
2036 "shortName": "ListOperations",
2037 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListOperations",
2038 "parameters": [
2039 {
2040 "type": "context.Context",
2041 "name": "ctx"
2042 },
2043 {
2044 "type": "longrunningpb.ListOperationsRequest",
2045 "name": "req"
2046 },
2047 {
2048 "type": "...gax.CallOption",
2049 "name": "opts"
2050 }
2051 ],
2052 "resultType": "OperationIterator",
2053 "client": {
2054 "shortName": "RegistryClient",
2055 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2056 },
2057 "method": {
2058 "shortName": "ListOperations",
2059 "fullName": "google.longrunning.Operations.ListOperations",
2060 "service": {
2061 "shortName": "Operations",
2062 "fullName": "google.longrunning.Operations"
2063 }
2064 }
2065 },
2066 "origin": "API_DEFINITION",
2067 "segments": [
2068 {
2069 "start": 18,
2070 "end": 66,
2071 "type": "FULL"
2072 }
2073 ]
2074 },
2075 {
2076 "regionTag": "apigeeregistry_v1_generated_Registry_ReplaceArtifact_sync",
2077 "title": "apigeeregistry ReplaceArtifact Sample",
2078 "description": "ReplaceArtifact used to replace a specified artifact.",
2079 "file": "RegistryClient/ReplaceArtifact/main.go",
2080 "language": "GO",
2081 "clientMethod": {
2082 "shortName": "ReplaceArtifact",
2083 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ReplaceArtifact",
2084 "parameters": [
2085 {
2086 "type": "context.Context",
2087 "name": "ctx"
2088 },
2089 {
2090 "type": "apigeeregistrypb.ReplaceArtifactRequest",
2091 "name": "req"
2092 },
2093 {
2094 "type": "...gax.CallOption",
2095 "name": "opts"
2096 }
2097 ],
2098 "resultType": "*apigeeregistrypb.Artifact",
2099 "client": {
2100 "shortName": "RegistryClient",
2101 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2102 },
2103 "method": {
2104 "shortName": "ReplaceArtifact",
2105 "fullName": "google.cloud.apigeeregistry.v1.Registry.ReplaceArtifact",
2106 "service": {
2107 "shortName": "Registry",
2108 "fullName": "google.cloud.apigeeregistry.v1.Registry"
2109 }
2110 }
2111 },
2112 "origin": "API_DEFINITION",
2113 "segments": [
2114 {
2115 "start": 18,
2116 "end": 53,
2117 "type": "FULL"
2118 }
2119 ]
2120 },
2121 {
2122 "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiDeployment_sync",
2123 "title": "apigeeregistry RollbackApiDeployment Sample",
2124 "description": "RollbackApiDeployment sets the current revision to a specified prior\nrevision. Note that this creates a new revision with a new revision ID.",
2125 "file": "RegistryClient/RollbackApiDeployment/main.go",
2126 "language": "GO",
2127 "clientMethod": {
2128 "shortName": "RollbackApiDeployment",
2129 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.RollbackApiDeployment",
2130 "parameters": [
2131 {
2132 "type": "context.Context",
2133 "name": "ctx"
2134 },
2135 {
2136 "type": "apigeeregistrypb.RollbackApiDeploymentRequest",
2137 "name": "req"
2138 },
2139 {
2140 "type": "...gax.CallOption",
2141 "name": "opts"
2142 }
2143 ],
2144 "resultType": "*apigeeregistrypb.ApiDeployment",
2145 "client": {
2146 "shortName": "RegistryClient",
2147 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2148 },
2149 "method": {
2150 "shortName": "RollbackApiDeployment",
2151 "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiDeployment",
2152 "service": {
2153 "shortName": "Registry",
2154 "fullName": "google.cloud.apigeeregistry.v1.Registry"
2155 }
2156 }
2157 },
2158 "origin": "API_DEFINITION",
2159 "segments": [
2160 {
2161 "start": 18,
2162 "end": 53,
2163 "type": "FULL"
2164 }
2165 ]
2166 },
2167 {
2168 "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiSpec_sync",
2169 "title": "apigeeregistry RollbackApiSpec Sample",
2170 "description": "RollbackApiSpec sets the current revision to a specified prior revision.\nNote that this creates a new revision with a new revision ID.",
2171 "file": "RegistryClient/RollbackApiSpec/main.go",
2172 "language": "GO",
2173 "clientMethod": {
2174 "shortName": "RollbackApiSpec",
2175 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.RollbackApiSpec",
2176 "parameters": [
2177 {
2178 "type": "context.Context",
2179 "name": "ctx"
2180 },
2181 {
2182 "type": "apigeeregistrypb.RollbackApiSpecRequest",
2183 "name": "req"
2184 },
2185 {
2186 "type": "...gax.CallOption",
2187 "name": "opts"
2188 }
2189 ],
2190 "resultType": "*apigeeregistrypb.ApiSpec",
2191 "client": {
2192 "shortName": "RegistryClient",
2193 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2194 },
2195 "method": {
2196 "shortName": "RollbackApiSpec",
2197 "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiSpec",
2198 "service": {
2199 "shortName": "Registry",
2200 "fullName": "google.cloud.apigeeregistry.v1.Registry"
2201 }
2202 }
2203 },
2204 "origin": "API_DEFINITION",
2205 "segments": [
2206 {
2207 "start": 18,
2208 "end": 53,
2209 "type": "FULL"
2210 }
2211 ]
2212 },
2213 {
2214 "regionTag": "apigeeregistry_v1_generated_Registry_SetIamPolicy_sync",
2215 "title": "apigeeregistry SetIamPolicy Sample",
2216 "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
2217 "file": "RegistryClient/SetIamPolicy/main.go",
2218 "language": "GO",
2219 "clientMethod": {
2220 "shortName": "SetIamPolicy",
2221 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.SetIamPolicy",
2222 "parameters": [
2223 {
2224 "type": "context.Context",
2225 "name": "ctx"
2226 },
2227 {
2228 "type": "iampb.SetIamPolicyRequest",
2229 "name": "req"
2230 },
2231 {
2232 "type": "...gax.CallOption",
2233 "name": "opts"
2234 }
2235 ],
2236 "resultType": "*iampb.Policy",
2237 "client": {
2238 "shortName": "RegistryClient",
2239 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2240 },
2241 "method": {
2242 "shortName": "SetIamPolicy",
2243 "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
2244 "service": {
2245 "shortName": "IAMPolicy",
2246 "fullName": "google.iam.v1.IAMPolicy"
2247 }
2248 }
2249 },
2250 "origin": "API_DEFINITION",
2251 "segments": [
2252 {
2253 "start": 18,
2254 "end": 53,
2255 "type": "FULL"
2256 }
2257 ]
2258 },
2259 {
2260 "regionTag": "apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_sync",
2261 "title": "apigeeregistry TagApiDeploymentRevision Sample",
2262 "description": "TagApiDeploymentRevision adds a tag to a specified revision of a\ndeployment.",
2263 "file": "RegistryClient/TagApiDeploymentRevision/main.go",
2264 "language": "GO",
2265 "clientMethod": {
2266 "shortName": "TagApiDeploymentRevision",
2267 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.TagApiDeploymentRevision",
2268 "parameters": [
2269 {
2270 "type": "context.Context",
2271 "name": "ctx"
2272 },
2273 {
2274 "type": "apigeeregistrypb.TagApiDeploymentRevisionRequest",
2275 "name": "req"
2276 },
2277 {
2278 "type": "...gax.CallOption",
2279 "name": "opts"
2280 }
2281 ],
2282 "resultType": "*apigeeregistrypb.ApiDeployment",
2283 "client": {
2284 "shortName": "RegistryClient",
2285 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2286 },
2287 "method": {
2288 "shortName": "TagApiDeploymentRevision",
2289 "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiDeploymentRevision",
2290 "service": {
2291 "shortName": "Registry",
2292 "fullName": "google.cloud.apigeeregistry.v1.Registry"
2293 }
2294 }
2295 },
2296 "origin": "API_DEFINITION",
2297 "segments": [
2298 {
2299 "start": 18,
2300 "end": 53,
2301 "type": "FULL"
2302 }
2303 ]
2304 },
2305 {
2306 "regionTag": "apigeeregistry_v1_generated_Registry_TagApiSpecRevision_sync",
2307 "title": "apigeeregistry TagApiSpecRevision Sample",
2308 "description": "TagApiSpecRevision adds a tag to a specified revision of a spec.",
2309 "file": "RegistryClient/TagApiSpecRevision/main.go",
2310 "language": "GO",
2311 "clientMethod": {
2312 "shortName": "TagApiSpecRevision",
2313 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.TagApiSpecRevision",
2314 "parameters": [
2315 {
2316 "type": "context.Context",
2317 "name": "ctx"
2318 },
2319 {
2320 "type": "apigeeregistrypb.TagApiSpecRevisionRequest",
2321 "name": "req"
2322 },
2323 {
2324 "type": "...gax.CallOption",
2325 "name": "opts"
2326 }
2327 ],
2328 "resultType": "*apigeeregistrypb.ApiSpec",
2329 "client": {
2330 "shortName": "RegistryClient",
2331 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2332 },
2333 "method": {
2334 "shortName": "TagApiSpecRevision",
2335 "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiSpecRevision",
2336 "service": {
2337 "shortName": "Registry",
2338 "fullName": "google.cloud.apigeeregistry.v1.Registry"
2339 }
2340 }
2341 },
2342 "origin": "API_DEFINITION",
2343 "segments": [
2344 {
2345 "start": 18,
2346 "end": 53,
2347 "type": "FULL"
2348 }
2349 ]
2350 },
2351 {
2352 "regionTag": "apigeeregistry_v1_generated_Registry_TestIamPermissions_sync",
2353 "title": "apigeeregistry TestIamPermissions Sample",
2354 "description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
2355 "file": "RegistryClient/TestIamPermissions/main.go",
2356 "language": "GO",
2357 "clientMethod": {
2358 "shortName": "TestIamPermissions",
2359 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.TestIamPermissions",
2360 "parameters": [
2361 {
2362 "type": "context.Context",
2363 "name": "ctx"
2364 },
2365 {
2366 "type": "iampb.TestIamPermissionsRequest",
2367 "name": "req"
2368 },
2369 {
2370 "type": "...gax.CallOption",
2371 "name": "opts"
2372 }
2373 ],
2374 "resultType": "*iampb.TestIamPermissionsResponse",
2375 "client": {
2376 "shortName": "RegistryClient",
2377 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2378 },
2379 "method": {
2380 "shortName": "TestIamPermissions",
2381 "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
2382 "service": {
2383 "shortName": "IAMPolicy",
2384 "fullName": "google.iam.v1.IAMPolicy"
2385 }
2386 }
2387 },
2388 "origin": "API_DEFINITION",
2389 "segments": [
2390 {
2391 "start": 18,
2392 "end": 53,
2393 "type": "FULL"
2394 }
2395 ]
2396 },
2397 {
2398 "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApi_sync",
2399 "title": "apigeeregistry UpdateApi Sample",
2400 "description": "UpdateApi used to modify a specified API.",
2401 "file": "RegistryClient/UpdateApi/main.go",
2402 "language": "GO",
2403 "clientMethod": {
2404 "shortName": "UpdateApi",
2405 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.UpdateApi",
2406 "parameters": [
2407 {
2408 "type": "context.Context",
2409 "name": "ctx"
2410 },
2411 {
2412 "type": "apigeeregistrypb.UpdateApiRequest",
2413 "name": "req"
2414 },
2415 {
2416 "type": "...gax.CallOption",
2417 "name": "opts"
2418 }
2419 ],
2420 "resultType": "*apigeeregistrypb.Api",
2421 "client": {
2422 "shortName": "RegistryClient",
2423 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2424 },
2425 "method": {
2426 "shortName": "UpdateApi",
2427 "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApi",
2428 "service": {
2429 "shortName": "Registry",
2430 "fullName": "google.cloud.apigeeregistry.v1.Registry"
2431 }
2432 }
2433 },
2434 "origin": "API_DEFINITION",
2435 "segments": [
2436 {
2437 "start": 18,
2438 "end": 53,
2439 "type": "FULL"
2440 }
2441 ]
2442 },
2443 {
2444 "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiDeployment_sync",
2445 "title": "apigeeregistry UpdateApiDeployment Sample",
2446 "description": "UpdateApiDeployment used to modify a specified deployment.",
2447 "file": "RegistryClient/UpdateApiDeployment/main.go",
2448 "language": "GO",
2449 "clientMethod": {
2450 "shortName": "UpdateApiDeployment",
2451 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.UpdateApiDeployment",
2452 "parameters": [
2453 {
2454 "type": "context.Context",
2455 "name": "ctx"
2456 },
2457 {
2458 "type": "apigeeregistrypb.UpdateApiDeploymentRequest",
2459 "name": "req"
2460 },
2461 {
2462 "type": "...gax.CallOption",
2463 "name": "opts"
2464 }
2465 ],
2466 "resultType": "*apigeeregistrypb.ApiDeployment",
2467 "client": {
2468 "shortName": "RegistryClient",
2469 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2470 },
2471 "method": {
2472 "shortName": "UpdateApiDeployment",
2473 "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiDeployment",
2474 "service": {
2475 "shortName": "Registry",
2476 "fullName": "google.cloud.apigeeregistry.v1.Registry"
2477 }
2478 }
2479 },
2480 "origin": "API_DEFINITION",
2481 "segments": [
2482 {
2483 "start": 18,
2484 "end": 53,
2485 "type": "FULL"
2486 }
2487 ]
2488 },
2489 {
2490 "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiSpec_sync",
2491 "title": "apigeeregistry UpdateApiSpec Sample",
2492 "description": "UpdateApiSpec used to modify a specified spec.",
2493 "file": "RegistryClient/UpdateApiSpec/main.go",
2494 "language": "GO",
2495 "clientMethod": {
2496 "shortName": "UpdateApiSpec",
2497 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.UpdateApiSpec",
2498 "parameters": [
2499 {
2500 "type": "context.Context",
2501 "name": "ctx"
2502 },
2503 {
2504 "type": "apigeeregistrypb.UpdateApiSpecRequest",
2505 "name": "req"
2506 },
2507 {
2508 "type": "...gax.CallOption",
2509 "name": "opts"
2510 }
2511 ],
2512 "resultType": "*apigeeregistrypb.ApiSpec",
2513 "client": {
2514 "shortName": "RegistryClient",
2515 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2516 },
2517 "method": {
2518 "shortName": "UpdateApiSpec",
2519 "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiSpec",
2520 "service": {
2521 "shortName": "Registry",
2522 "fullName": "google.cloud.apigeeregistry.v1.Registry"
2523 }
2524 }
2525 },
2526 "origin": "API_DEFINITION",
2527 "segments": [
2528 {
2529 "start": 18,
2530 "end": 53,
2531 "type": "FULL"
2532 }
2533 ]
2534 },
2535 {
2536 "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiVersion_sync",
2537 "title": "apigeeregistry UpdateApiVersion Sample",
2538 "description": "UpdateApiVersion used to modify a specified version.",
2539 "file": "RegistryClient/UpdateApiVersion/main.go",
2540 "language": "GO",
2541 "clientMethod": {
2542 "shortName": "UpdateApiVersion",
2543 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.UpdateApiVersion",
2544 "parameters": [
2545 {
2546 "type": "context.Context",
2547 "name": "ctx"
2548 },
2549 {
2550 "type": "apigeeregistrypb.UpdateApiVersionRequest",
2551 "name": "req"
2552 },
2553 {
2554 "type": "...gax.CallOption",
2555 "name": "opts"
2556 }
2557 ],
2558 "resultType": "*apigeeregistrypb.ApiVersion",
2559 "client": {
2560 "shortName": "RegistryClient",
2561 "fullName": "google.cloud.apigeeregistry.v1.RegistryClient"
2562 },
2563 "method": {
2564 "shortName": "UpdateApiVersion",
2565 "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiVersion",
2566 "service": {
2567 "shortName": "Registry",
2568 "fullName": "google.cloud.apigeeregistry.v1.Registry"
2569 }
2570 }
2571 },
2572 "origin": "API_DEFINITION",
2573 "segments": [
2574 {
2575 "start": 18,
2576 "end": 53,
2577 "type": "FULL"
2578 }
2579 ]
2580 }
2581 ]
2582 }