Debian Codegraph @

internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json

raw
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/beyondcorp/appconnections/apiv1",
4 "version": "1.1.6",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.beyondcorp.appconnections.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "beyondcorp_v1_generated_AppConnectionsService_CancelOperation_sync",
16 "title": "beyondcorp 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.beyondcorp.appconnections.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.beyondcorp.appconnections.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": "beyondcorp_v1_generated_AppConnectionsService_CreateAppConnection_sync",
61 "title": "beyondcorp CreateAppConnection Sample",
62 "description": "CreateAppConnection creates a new AppConnection in a given project and location.",
63 "file": "Client/CreateAppConnection/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "CreateAppConnection",
67 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.CreateAppConnection",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "appconnectionspb.CreateAppConnectionRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "CreateAppConnectionOperation",
83 "client": {
84 "shortName": "Client",
85 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
86 },
87 "method": {
88 "shortName": "CreateAppConnection",
89 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.CreateAppConnection",
90 "service": {
91 "shortName": "AppConnectionsService",
92 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService"
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": "beyondcorp_v1_generated_AppConnectionsService_DeleteAppConnection_sync",
107 "title": "beyondcorp DeleteAppConnection Sample",
108 "description": "DeleteAppConnection deletes a single AppConnection.",
109 "file": "Client/DeleteAppConnection/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "DeleteAppConnection",
113 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.DeleteAppConnection",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "appconnectionspb.DeleteAppConnectionRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "DeleteAppConnectionOperation",
129 "client": {
130 "shortName": "Client",
131 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
132 },
133 "method": {
134 "shortName": "DeleteAppConnection",
135 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.DeleteAppConnection",
136 "service": {
137 "shortName": "AppConnectionsService",
138 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService"
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": "beyondcorp_v1_generated_AppConnectionsService_DeleteOperation_sync",
153 "title": "beyondcorp DeleteOperation Sample",
154 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
155 "file": "Client/DeleteOperation/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "DeleteOperation",
159 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.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": "Client",
176 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
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": "beyondcorp_v1_generated_AppConnectionsService_GetAppConnection_sync",
198 "title": "beyondcorp GetAppConnection Sample",
199 "description": "GetAppConnection gets details of a single AppConnection.",
200 "file": "Client/GetAppConnection/main.go",
201 "language": "GO",
202 "clientMethod": {
203 "shortName": "GetAppConnection",
204 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.GetAppConnection",
205 "parameters": [
206 {
207 "type": "context.Context",
208 "name": "ctx"
209 },
210 {
211 "type": "appconnectionspb.GetAppConnectionRequest",
212 "name": "req"
213 },
214 {
215 "type": "...gax.CallOption",
216 "name": "opts"
217 }
218 ],
219 "resultType": "*appconnectionspb.AppConnection",
220 "client": {
221 "shortName": "Client",
222 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
223 },
224 "method": {
225 "shortName": "GetAppConnection",
226 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.GetAppConnection",
227 "service": {
228 "shortName": "AppConnectionsService",
229 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService"
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": "beyondcorp_v1_generated_AppConnectionsService_GetIamPolicy_sync",
244 "title": "beyondcorp GetIamPolicy Sample",
245 "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.",
246 "file": "Client/GetIamPolicy/main.go",
247 "language": "GO",
248 "clientMethod": {
249 "shortName": "GetIamPolicy",
250 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.GetIamPolicy",
251 "parameters": [
252 {
253 "type": "context.Context",
254 "name": "ctx"
255 },
256 {
257 "type": "iampb.GetIamPolicyRequest",
258 "name": "req"
259 },
260 {
261 "type": "...gax.CallOption",
262 "name": "opts"
263 }
264 ],
265 "resultType": "*iampb.Policy",
266 "client": {
267 "shortName": "Client",
268 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
269 },
270 "method": {
271 "shortName": "GetIamPolicy",
272 "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
273 "service": {
274 "shortName": "IAMPolicy",
275 "fullName": "google.iam.v1.IAMPolicy"
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": "beyondcorp_v1_generated_AppConnectionsService_GetLocation_sync",
290 "title": "beyondcorp GetLocation Sample",
291 "description": "GetLocation gets information about a location.",
292 "file": "Client/GetLocation/main.go",
293 "language": "GO",
294 "clientMethod": {
295 "shortName": "GetLocation",
296 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.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": "Client",
314 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
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": "beyondcorp_v1_generated_AppConnectionsService_GetOperation_sync",
336 "title": "beyondcorp GetOperation Sample",
337 "description": "GetOperation is a utility method from google.longrunning.Operations.",
338 "file": "Client/GetOperation/main.go",
339 "language": "GO",
340 "clientMethod": {
341 "shortName": "GetOperation",
342 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.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": "Client",
360 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
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": "beyondcorp_v1_generated_AppConnectionsService_ListAppConnections_sync",
382 "title": "beyondcorp ListAppConnections Sample",
383 "description": "ListAppConnections lists AppConnections in a given project and location.",
384 "file": "Client/ListAppConnections/main.go",
385 "language": "GO",
386 "clientMethod": {
387 "shortName": "ListAppConnections",
388 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.ListAppConnections",
389 "parameters": [
390 {
391 "type": "context.Context",
392 "name": "ctx"
393 },
394 {
395 "type": "appconnectionspb.ListAppConnectionsRequest",
396 "name": "req"
397 },
398 {
399 "type": "...gax.CallOption",
400 "name": "opts"
401 }
402 ],
403 "resultType": "AppConnectionIterator",
404 "client": {
405 "shortName": "Client",
406 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
407 },
408 "method": {
409 "shortName": "ListAppConnections",
410 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.ListAppConnections",
411 "service": {
412 "shortName": "AppConnectionsService",
413 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService"
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": "beyondcorp_v1_generated_AppConnectionsService_ListLocations_sync",
428 "title": "beyondcorp ListLocations Sample",
429 "description": "ListLocations lists information about the supported locations for this service.",
430 "file": "Client/ListLocations/main.go",
431 "language": "GO",
432 "clientMethod": {
433 "shortName": "ListLocations",
434 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.ListLocations",
435 "parameters": [
436 {
437 "type": "context.Context",
438 "name": "ctx"
439 },
440 {
441 "type": "locationpb.ListLocationsRequest",
442 "name": "req"
443 },
444 {
445 "type": "...gax.CallOption",
446 "name": "opts"
447 }
448 ],
449 "resultType": "LocationIterator",
450 "client": {
451 "shortName": "Client",
452 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
453 },
454 "method": {
455 "shortName": "ListLocations",
456 "fullName": "google.cloud.location.Locations.ListLocations",
457 "service": {
458 "shortName": "Locations",
459 "fullName": "google.cloud.location.Locations"
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": "beyondcorp_v1_generated_AppConnectionsService_ListOperations_sync",
474 "title": "beyondcorp ListOperations Sample",
475 "description": "ListOperations is a utility method from google.longrunning.Operations.",
476 "file": "Client/ListOperations/main.go",
477 "language": "GO",
478 "clientMethod": {
479 "shortName": "ListOperations",
480 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.ListOperations",
481 "parameters": [
482 {
483 "type": "context.Context",
484 "name": "ctx"
485 },
486 {
487 "type": "longrunningpb.ListOperationsRequest",
488 "name": "req"
489 },
490 {
491 "type": "...gax.CallOption",
492 "name": "opts"
493 }
494 ],
495 "resultType": "OperationIterator",
496 "client": {
497 "shortName": "Client",
498 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
499 },
500 "method": {
501 "shortName": "ListOperations",
502 "fullName": "google.longrunning.Operations.ListOperations",
503 "service": {
504 "shortName": "Operations",
505 "fullName": "google.longrunning.Operations"
506 }
507 }
508 },
509 "origin": "API_DEFINITION",
510 "segments": [
511 {
512 "start": 18,
513 "end": 66,
514 "type": "FULL"
515 }
516 ]
517 },
518 {
519 "regionTag": "beyondcorp_v1_generated_AppConnectionsService_ResolveAppConnections_sync",
520 "title": "beyondcorp ResolveAppConnections Sample",
521 "description": "ResolveAppConnections resolves AppConnections details for a given AppConnector.\nAn internal method called by a connector to find AppConnections to connect\nto.",
522 "file": "Client/ResolveAppConnections/main.go",
523 "language": "GO",
524 "clientMethod": {
525 "shortName": "ResolveAppConnections",
526 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.ResolveAppConnections",
527 "parameters": [
528 {
529 "type": "context.Context",
530 "name": "ctx"
531 },
532 {
533 "type": "appconnectionspb.ResolveAppConnectionsRequest",
534 "name": "req"
535 },
536 {
537 "type": "...gax.CallOption",
538 "name": "opts"
539 }
540 ],
541 "resultType": "ResolveAppConnectionsResponse_AppConnectionDetailsIterator",
542 "client": {
543 "shortName": "Client",
544 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
545 },
546 "method": {
547 "shortName": "ResolveAppConnections",
548 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.ResolveAppConnections",
549 "service": {
550 "shortName": "AppConnectionsService",
551 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService"
552 }
553 }
554 },
555 "origin": "API_DEFINITION",
556 "segments": [
557 {
558 "start": 18,
559 "end": 66,
560 "type": "FULL"
561 }
562 ]
563 },
564 {
565 "regionTag": "beyondcorp_v1_generated_AppConnectionsService_SetIamPolicy_sync",
566 "title": "beyondcorp SetIamPolicy Sample",
567 "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.",
568 "file": "Client/SetIamPolicy/main.go",
569 "language": "GO",
570 "clientMethod": {
571 "shortName": "SetIamPolicy",
572 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.SetIamPolicy",
573 "parameters": [
574 {
575 "type": "context.Context",
576 "name": "ctx"
577 },
578 {
579 "type": "iampb.SetIamPolicyRequest",
580 "name": "req"
581 },
582 {
583 "type": "...gax.CallOption",
584 "name": "opts"
585 }
586 ],
587 "resultType": "*iampb.Policy",
588 "client": {
589 "shortName": "Client",
590 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
591 },
592 "method": {
593 "shortName": "SetIamPolicy",
594 "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
595 "service": {
596 "shortName": "IAMPolicy",
597 "fullName": "google.iam.v1.IAMPolicy"
598 }
599 }
600 },
601 "origin": "API_DEFINITION",
602 "segments": [
603 {
604 "start": 18,
605 "end": 53,
606 "type": "FULL"
607 }
608 ]
609 },
610 {
611 "regionTag": "beyondcorp_v1_generated_AppConnectionsService_TestIamPermissions_sync",
612 "title": "beyondcorp TestIamPermissions Sample",
613 "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.",
614 "file": "Client/TestIamPermissions/main.go",
615 "language": "GO",
616 "clientMethod": {
617 "shortName": "TestIamPermissions",
618 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.TestIamPermissions",
619 "parameters": [
620 {
621 "type": "context.Context",
622 "name": "ctx"
623 },
624 {
625 "type": "iampb.TestIamPermissionsRequest",
626 "name": "req"
627 },
628 {
629 "type": "...gax.CallOption",
630 "name": "opts"
631 }
632 ],
633 "resultType": "*iampb.TestIamPermissionsResponse",
634 "client": {
635 "shortName": "Client",
636 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
637 },
638 "method": {
639 "shortName": "TestIamPermissions",
640 "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
641 "service": {
642 "shortName": "IAMPolicy",
643 "fullName": "google.iam.v1.IAMPolicy"
644 }
645 }
646 },
647 "origin": "API_DEFINITION",
648 "segments": [
649 {
650 "start": 18,
651 "end": 53,
652 "type": "FULL"
653 }
654 ]
655 },
656 {
657 "regionTag": "beyondcorp_v1_generated_AppConnectionsService_UpdateAppConnection_sync",
658 "title": "beyondcorp UpdateAppConnection Sample",
659 "description": "UpdateAppConnection updates the parameters of a single AppConnection.",
660 "file": "Client/UpdateAppConnection/main.go",
661 "language": "GO",
662 "clientMethod": {
663 "shortName": "UpdateAppConnection",
664 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.UpdateAppConnection",
665 "parameters": [
666 {
667 "type": "context.Context",
668 "name": "ctx"
669 },
670 {
671 "type": "appconnectionspb.UpdateAppConnectionRequest",
672 "name": "req"
673 },
674 {
675 "type": "...gax.CallOption",
676 "name": "opts"
677 }
678 ],
679 "resultType": "UpdateAppConnectionOperation",
680 "client": {
681 "shortName": "Client",
682 "fullName": "google.cloud.beyondcorp.appconnections.v1.Client"
683 },
684 "method": {
685 "shortName": "UpdateAppConnection",
686 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.UpdateAppConnection",
687 "service": {
688 "shortName": "AppConnectionsService",
689 "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService"
690 }
691 }
692 },
693 "origin": "API_DEFINITION",
694 "segments": [
695 {
696 "start": 18,
697 "end": 58,
698 "type": "FULL"
699 }
700 ]
701 }
702 ]
703 }