Debian Codegraph @

internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/alloydb/apiv1beta",
4 "version": "1.18.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.alloydb.v1beta",
9 "version": "v1beta"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_BatchCreateInstances_sync",
16 "title": "alloydb BatchCreateInstances Sample",
17 "description": "BatchCreateInstances creates new instances under the given project, location and cluster.\nThere can be only one primary instance in a cluster. If the primary\ninstance exists in the cluster as well as this request, then API will\nthrow an error.\nThe primary instance should exist before any read pool instance is\ncreated. If the primary instance is a part of the request payload, then\nthe API will take care of creating instances in the correct order.\nThis method is here to support Google-internal use cases, and is not meant\nfor external customers to consume. Please do not start relying on it; its\nbehavior is subject to change without notice.",
18 "file": "AlloyDBAdminClient/BatchCreateInstances/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "BatchCreateInstances",
22 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.BatchCreateInstances",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "alloydbpb.BatchCreateInstancesRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "BatchCreateInstancesOperation",
38 "client": {
39 "shortName": "AlloyDBAdminClient",
40 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
41 },
42 "method": {
43 "shortName": "BatchCreateInstances",
44 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.BatchCreateInstances",
45 "service": {
46 "shortName": "AlloyDBAdmin",
47 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 58,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CancelOperation_sync",
62 "title": "alloydb CancelOperation Sample",
63 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
64 "file": "AlloyDBAdminClient/CancelOperation/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "CancelOperation",
68 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CancelOperation",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "longrunningpb.CancelOperationRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "client": {
84 "shortName": "AlloyDBAdminClient",
85 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
86 },
87 "method": {
88 "shortName": "CancelOperation",
89 "fullName": "google.longrunning.Operations.CancelOperation",
90 "service": {
91 "shortName": "Operations",
92 "fullName": "google.longrunning.Operations"
93 }
94 }
95 },
96 "origin": "API_DEFINITION",
97 "segments": [
98 {
99 "start": 18,
100 "end": 51,
101 "type": "FULL"
102 }
103 ]
104 },
105 {
106 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateBackup_sync",
107 "title": "alloydb CreateBackup Sample",
108 "description": "CreateBackup creates a new Backup in a given project and location.",
109 "file": "AlloyDBAdminClient/CreateBackup/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "CreateBackup",
113 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateBackup",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "alloydbpb.CreateBackupRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "CreateBackupOperation",
129 "client": {
130 "shortName": "AlloyDBAdminClient",
131 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
132 },
133 "method": {
134 "shortName": "CreateBackup",
135 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateBackup",
136 "service": {
137 "shortName": "AlloyDBAdmin",
138 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
139 }
140 }
141 },
142 "origin": "API_DEFINITION",
143 "segments": [
144 {
145 "start": 18,
146 "end": 58,
147 "type": "FULL"
148 }
149 ]
150 },
151 {
152 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateCluster_sync",
153 "title": "alloydb CreateCluster Sample",
154 "description": "CreateCluster creates a new Cluster in a given project and location.",
155 "file": "AlloyDBAdminClient/CreateCluster/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "CreateCluster",
159 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateCluster",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "alloydbpb.CreateClusterRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "CreateClusterOperation",
175 "client": {
176 "shortName": "AlloyDBAdminClient",
177 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
178 },
179 "method": {
180 "shortName": "CreateCluster",
181 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateCluster",
182 "service": {
183 "shortName": "AlloyDBAdmin",
184 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
185 }
186 }
187 },
188 "origin": "API_DEFINITION",
189 "segments": [
190 {
191 "start": 18,
192 "end": 58,
193 "type": "FULL"
194 }
195 ]
196 },
197 {
198 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateInstance_sync",
199 "title": "alloydb CreateInstance Sample",
200 "description": "CreateInstance creates a new Instance in a given project and location.",
201 "file": "AlloyDBAdminClient/CreateInstance/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "CreateInstance",
205 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateInstance",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "alloydbpb.CreateInstanceRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "CreateInstanceOperation",
221 "client": {
222 "shortName": "AlloyDBAdminClient",
223 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
224 },
225 "method": {
226 "shortName": "CreateInstance",
227 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateInstance",
228 "service": {
229 "shortName": "AlloyDBAdmin",
230 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
231 }
232 }
233 },
234 "origin": "API_DEFINITION",
235 "segments": [
236 {
237 "start": 18,
238 "end": 58,
239 "type": "FULL"
240 }
241 ]
242 },
243 {
244 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateSecondaryCluster_sync",
245 "title": "alloydb CreateSecondaryCluster Sample",
246 "description": "CreateSecondaryCluster creates a cluster of type SECONDARY in the given location using\nthe primary cluster as the source.",
247 "file": "AlloyDBAdminClient/CreateSecondaryCluster/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "CreateSecondaryCluster",
251 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateSecondaryCluster",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "alloydbpb.CreateSecondaryClusterRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "resultType": "CreateSecondaryClusterOperation",
267 "client": {
268 "shortName": "AlloyDBAdminClient",
269 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
270 },
271 "method": {
272 "shortName": "CreateSecondaryCluster",
273 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryCluster",
274 "service": {
275 "shortName": "AlloyDBAdmin",
276 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
277 }
278 }
279 },
280 "origin": "API_DEFINITION",
281 "segments": [
282 {
283 "start": 18,
284 "end": 58,
285 "type": "FULL"
286 }
287 ]
288 },
289 {
290 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateSecondaryInstance_sync",
291 "title": "alloydb CreateSecondaryInstance Sample",
292 "description": "CreateSecondaryInstance creates a new SECONDARY Instance in a given project and location.",
293 "file": "AlloyDBAdminClient/CreateSecondaryInstance/main.go",
294 "language": "GO",
295 "clientMethod": {
296 "shortName": "CreateSecondaryInstance",
297 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateSecondaryInstance",
298 "parameters": [
299 {
300 "type": "context.Context",
301 "name": "ctx"
302 },
303 {
304 "type": "alloydbpb.CreateSecondaryInstanceRequest",
305 "name": "req"
306 },
307 {
308 "type": "...gax.CallOption",
309 "name": "opts"
310 }
311 ],
312 "resultType": "CreateSecondaryInstanceOperation",
313 "client": {
314 "shortName": "AlloyDBAdminClient",
315 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
316 },
317 "method": {
318 "shortName": "CreateSecondaryInstance",
319 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryInstance",
320 "service": {
321 "shortName": "AlloyDBAdmin",
322 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
323 }
324 }
325 },
326 "origin": "API_DEFINITION",
327 "segments": [
328 {
329 "start": 18,
330 "end": 58,
331 "type": "FULL"
332 }
333 ]
334 },
335 {
336 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateUser_sync",
337 "title": "alloydb CreateUser Sample",
338 "description": "CreateUser creates a new User in a given project, location, and cluster.",
339 "file": "AlloyDBAdminClient/CreateUser/main.go",
340 "language": "GO",
341 "clientMethod": {
342 "shortName": "CreateUser",
343 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateUser",
344 "parameters": [
345 {
346 "type": "context.Context",
347 "name": "ctx"
348 },
349 {
350 "type": "alloydbpb.CreateUserRequest",
351 "name": "req"
352 },
353 {
354 "type": "...gax.CallOption",
355 "name": "opts"
356 }
357 ],
358 "resultType": "*alloydbpb.User",
359 "client": {
360 "shortName": "AlloyDBAdminClient",
361 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
362 },
363 "method": {
364 "shortName": "CreateUser",
365 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateUser",
366 "service": {
367 "shortName": "AlloyDBAdmin",
368 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
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": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteBackup_sync",
383 "title": "alloydb DeleteBackup Sample",
384 "description": "DeleteBackup deletes a single Backup.",
385 "file": "AlloyDBAdminClient/DeleteBackup/main.go",
386 "language": "GO",
387 "clientMethod": {
388 "shortName": "DeleteBackup",
389 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.DeleteBackup",
390 "parameters": [
391 {
392 "type": "context.Context",
393 "name": "ctx"
394 },
395 {
396 "type": "alloydbpb.DeleteBackupRequest",
397 "name": "req"
398 },
399 {
400 "type": "...gax.CallOption",
401 "name": "opts"
402 }
403 ],
404 "resultType": "DeleteBackupOperation",
405 "client": {
406 "shortName": "AlloyDBAdminClient",
407 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
408 },
409 "method": {
410 "shortName": "DeleteBackup",
411 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteBackup",
412 "service": {
413 "shortName": "AlloyDBAdmin",
414 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
415 }
416 }
417 },
418 "origin": "API_DEFINITION",
419 "segments": [
420 {
421 "start": 18,
422 "end": 56,
423 "type": "FULL"
424 }
425 ]
426 },
427 {
428 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteCluster_sync",
429 "title": "alloydb DeleteCluster Sample",
430 "description": "DeleteCluster deletes a single Cluster.",
431 "file": "AlloyDBAdminClient/DeleteCluster/main.go",
432 "language": "GO",
433 "clientMethod": {
434 "shortName": "DeleteCluster",
435 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.DeleteCluster",
436 "parameters": [
437 {
438 "type": "context.Context",
439 "name": "ctx"
440 },
441 {
442 "type": "alloydbpb.DeleteClusterRequest",
443 "name": "req"
444 },
445 {
446 "type": "...gax.CallOption",
447 "name": "opts"
448 }
449 ],
450 "resultType": "DeleteClusterOperation",
451 "client": {
452 "shortName": "AlloyDBAdminClient",
453 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
454 },
455 "method": {
456 "shortName": "DeleteCluster",
457 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteCluster",
458 "service": {
459 "shortName": "AlloyDBAdmin",
460 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
461 }
462 }
463 },
464 "origin": "API_DEFINITION",
465 "segments": [
466 {
467 "start": 18,
468 "end": 56,
469 "type": "FULL"
470 }
471 ]
472 },
473 {
474 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteInstance_sync",
475 "title": "alloydb DeleteInstance Sample",
476 "description": "DeleteInstance deletes a single Instance.",
477 "file": "AlloyDBAdminClient/DeleteInstance/main.go",
478 "language": "GO",
479 "clientMethod": {
480 "shortName": "DeleteInstance",
481 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.DeleteInstance",
482 "parameters": [
483 {
484 "type": "context.Context",
485 "name": "ctx"
486 },
487 {
488 "type": "alloydbpb.DeleteInstanceRequest",
489 "name": "req"
490 },
491 {
492 "type": "...gax.CallOption",
493 "name": "opts"
494 }
495 ],
496 "resultType": "DeleteInstanceOperation",
497 "client": {
498 "shortName": "AlloyDBAdminClient",
499 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
500 },
501 "method": {
502 "shortName": "DeleteInstance",
503 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteInstance",
504 "service": {
505 "shortName": "AlloyDBAdmin",
506 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
507 }
508 }
509 },
510 "origin": "API_DEFINITION",
511 "segments": [
512 {
513 "start": 18,
514 "end": 56,
515 "type": "FULL"
516 }
517 ]
518 },
519 {
520 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteOperation_sync",
521 "title": "alloydb DeleteOperation Sample",
522 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
523 "file": "AlloyDBAdminClient/DeleteOperation/main.go",
524 "language": "GO",
525 "clientMethod": {
526 "shortName": "DeleteOperation",
527 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.DeleteOperation",
528 "parameters": [
529 {
530 "type": "context.Context",
531 "name": "ctx"
532 },
533 {
534 "type": "longrunningpb.DeleteOperationRequest",
535 "name": "req"
536 },
537 {
538 "type": "...gax.CallOption",
539 "name": "opts"
540 }
541 ],
542 "client": {
543 "shortName": "AlloyDBAdminClient",
544 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
545 },
546 "method": {
547 "shortName": "DeleteOperation",
548 "fullName": "google.longrunning.Operations.DeleteOperation",
549 "service": {
550 "shortName": "Operations",
551 "fullName": "google.longrunning.Operations"
552 }
553 }
554 },
555 "origin": "API_DEFINITION",
556 "segments": [
557 {
558 "start": 18,
559 "end": 51,
560 "type": "FULL"
561 }
562 ]
563 },
564 {
565 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteUser_sync",
566 "title": "alloydb DeleteUser Sample",
567 "description": "DeleteUser deletes a single User.",
568 "file": "AlloyDBAdminClient/DeleteUser/main.go",
569 "language": "GO",
570 "clientMethod": {
571 "shortName": "DeleteUser",
572 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.DeleteUser",
573 "parameters": [
574 {
575 "type": "context.Context",
576 "name": "ctx"
577 },
578 {
579 "type": "alloydbpb.DeleteUserRequest",
580 "name": "req"
581 },
582 {
583 "type": "...gax.CallOption",
584 "name": "opts"
585 }
586 ],
587 "client": {
588 "shortName": "AlloyDBAdminClient",
589 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
590 },
591 "method": {
592 "shortName": "DeleteUser",
593 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteUser",
594 "service": {
595 "shortName": "AlloyDBAdmin",
596 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
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": "alloydb_v1beta_generated_AlloyDBAdmin_ExecuteSql_sync",
611 "title": "alloydb ExecuteSql Sample",
612 "description": "ExecuteSql executes a SQL statement in a database inside an AlloyDB instance.",
613 "file": "AlloyDBAdminClient/ExecuteSql/main.go",
614 "language": "GO",
615 "clientMethod": {
616 "shortName": "ExecuteSql",
617 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ExecuteSql",
618 "parameters": [
619 {
620 "type": "context.Context",
621 "name": "ctx"
622 },
623 {
624 "type": "alloydbpb.ExecuteSqlRequest",
625 "name": "req"
626 },
627 {
628 "type": "...gax.CallOption",
629 "name": "opts"
630 }
631 ],
632 "resultType": "*alloydbpb.ExecuteSqlResponse",
633 "client": {
634 "shortName": "AlloyDBAdminClient",
635 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
636 },
637 "method": {
638 "shortName": "ExecuteSql",
639 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ExecuteSql",
640 "service": {
641 "shortName": "AlloyDBAdmin",
642 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
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": "alloydb_v1beta_generated_AlloyDBAdmin_ExportCluster_sync",
657 "title": "alloydb ExportCluster Sample",
658 "description": "ExportCluster exports data from the cluster.\nImperative only.",
659 "file": "AlloyDBAdminClient/ExportCluster/main.go",
660 "language": "GO",
661 "clientMethod": {
662 "shortName": "ExportCluster",
663 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ExportCluster",
664 "parameters": [
665 {
666 "type": "context.Context",
667 "name": "ctx"
668 },
669 {
670 "type": "alloydbpb.ExportClusterRequest",
671 "name": "req"
672 },
673 {
674 "type": "...gax.CallOption",
675 "name": "opts"
676 }
677 ],
678 "resultType": "ExportClusterOperation",
679 "client": {
680 "shortName": "AlloyDBAdminClient",
681 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
682 },
683 "method": {
684 "shortName": "ExportCluster",
685 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ExportCluster",
686 "service": {
687 "shortName": "AlloyDBAdmin",
688 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
689 }
690 }
691 },
692 "origin": "API_DEFINITION",
693 "segments": [
694 {
695 "start": 18,
696 "end": 58,
697 "type": "FULL"
698 }
699 ]
700 },
701 {
702 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_FailoverInstance_sync",
703 "title": "alloydb FailoverInstance Sample",
704 "description": "FailoverInstance forces a Failover for a highly available instance.\nFailover promotes the HA standby instance as the new primary.\nImperative only.",
705 "file": "AlloyDBAdminClient/FailoverInstance/main.go",
706 "language": "GO",
707 "clientMethod": {
708 "shortName": "FailoverInstance",
709 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.FailoverInstance",
710 "parameters": [
711 {
712 "type": "context.Context",
713 "name": "ctx"
714 },
715 {
716 "type": "alloydbpb.FailoverInstanceRequest",
717 "name": "req"
718 },
719 {
720 "type": "...gax.CallOption",
721 "name": "opts"
722 }
723 ],
724 "resultType": "FailoverInstanceOperation",
725 "client": {
726 "shortName": "AlloyDBAdminClient",
727 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
728 },
729 "method": {
730 "shortName": "FailoverInstance",
731 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.FailoverInstance",
732 "service": {
733 "shortName": "AlloyDBAdmin",
734 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
735 }
736 }
737 },
738 "origin": "API_DEFINITION",
739 "segments": [
740 {
741 "start": 18,
742 "end": 58,
743 "type": "FULL"
744 }
745 ]
746 },
747 {
748 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GenerateClientCertificate_sync",
749 "title": "alloydb GenerateClientCertificate Sample",
750 "description": "GenerateClientCertificate generate a client certificate signed by a Cluster CA.\nThe sole purpose of this endpoint is to support AlloyDB connectors and the\nAuth Proxy client. The endpoint's behavior is subject to change without\nnotice, so do not rely on its behavior remaining constant. Future changes\nwill not break AlloyDB connectors or the Auth Proxy client.",
751 "file": "AlloyDBAdminClient/GenerateClientCertificate/main.go",
752 "language": "GO",
753 "clientMethod": {
754 "shortName": "GenerateClientCertificate",
755 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GenerateClientCertificate",
756 "parameters": [
757 {
758 "type": "context.Context",
759 "name": "ctx"
760 },
761 {
762 "type": "alloydbpb.GenerateClientCertificateRequest",
763 "name": "req"
764 },
765 {
766 "type": "...gax.CallOption",
767 "name": "opts"
768 }
769 ],
770 "resultType": "*alloydbpb.GenerateClientCertificateResponse",
771 "client": {
772 "shortName": "AlloyDBAdminClient",
773 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
774 },
775 "method": {
776 "shortName": "GenerateClientCertificate",
777 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GenerateClientCertificate",
778 "service": {
779 "shortName": "AlloyDBAdmin",
780 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
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": "alloydb_v1beta_generated_AlloyDBAdmin_GetBackup_sync",
795 "title": "alloydb GetBackup Sample",
796 "description": "GetBackup gets details of a single Backup.",
797 "file": "AlloyDBAdminClient/GetBackup/main.go",
798 "language": "GO",
799 "clientMethod": {
800 "shortName": "GetBackup",
801 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetBackup",
802 "parameters": [
803 {
804 "type": "context.Context",
805 "name": "ctx"
806 },
807 {
808 "type": "alloydbpb.GetBackupRequest",
809 "name": "req"
810 },
811 {
812 "type": "...gax.CallOption",
813 "name": "opts"
814 }
815 ],
816 "resultType": "*alloydbpb.Backup",
817 "client": {
818 "shortName": "AlloyDBAdminClient",
819 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
820 },
821 "method": {
822 "shortName": "GetBackup",
823 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetBackup",
824 "service": {
825 "shortName": "AlloyDBAdmin",
826 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
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": "alloydb_v1beta_generated_AlloyDBAdmin_GetCluster_sync",
841 "title": "alloydb GetCluster Sample",
842 "description": "GetCluster gets details of a single Cluster.",
843 "file": "AlloyDBAdminClient/GetCluster/main.go",
844 "language": "GO",
845 "clientMethod": {
846 "shortName": "GetCluster",
847 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetCluster",
848 "parameters": [
849 {
850 "type": "context.Context",
851 "name": "ctx"
852 },
853 {
854 "type": "alloydbpb.GetClusterRequest",
855 "name": "req"
856 },
857 {
858 "type": "...gax.CallOption",
859 "name": "opts"
860 }
861 ],
862 "resultType": "*alloydbpb.Cluster",
863 "client": {
864 "shortName": "AlloyDBAdminClient",
865 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
866 },
867 "method": {
868 "shortName": "GetCluster",
869 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetCluster",
870 "service": {
871 "shortName": "AlloyDBAdmin",
872 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
873 }
874 }
875 },
876 "origin": "API_DEFINITION",
877 "segments": [
878 {
879 "start": 18,
880 "end": 53,
881 "type": "FULL"
882 }
883 ]
884 },
885 {
886 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetConnectionInfo_sync",
887 "title": "alloydb GetConnectionInfo Sample",
888 "description": "GetConnectionInfo get instance metadata used for a connection.",
889 "file": "AlloyDBAdminClient/GetConnectionInfo/main.go",
890 "language": "GO",
891 "clientMethod": {
892 "shortName": "GetConnectionInfo",
893 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetConnectionInfo",
894 "parameters": [
895 {
896 "type": "context.Context",
897 "name": "ctx"
898 },
899 {
900 "type": "alloydbpb.GetConnectionInfoRequest",
901 "name": "req"
902 },
903 {
904 "type": "...gax.CallOption",
905 "name": "opts"
906 }
907 ],
908 "resultType": "*alloydbpb.ConnectionInfo",
909 "client": {
910 "shortName": "AlloyDBAdminClient",
911 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
912 },
913 "method": {
914 "shortName": "GetConnectionInfo",
915 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetConnectionInfo",
916 "service": {
917 "shortName": "AlloyDBAdmin",
918 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
919 }
920 }
921 },
922 "origin": "API_DEFINITION",
923 "segments": [
924 {
925 "start": 18,
926 "end": 53,
927 "type": "FULL"
928 }
929 ]
930 },
931 {
932 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetInstance_sync",
933 "title": "alloydb GetInstance Sample",
934 "description": "GetInstance gets details of a single Instance.",
935 "file": "AlloyDBAdminClient/GetInstance/main.go",
936 "language": "GO",
937 "clientMethod": {
938 "shortName": "GetInstance",
939 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetInstance",
940 "parameters": [
941 {
942 "type": "context.Context",
943 "name": "ctx"
944 },
945 {
946 "type": "alloydbpb.GetInstanceRequest",
947 "name": "req"
948 },
949 {
950 "type": "...gax.CallOption",
951 "name": "opts"
952 }
953 ],
954 "resultType": "*alloydbpb.Instance",
955 "client": {
956 "shortName": "AlloyDBAdminClient",
957 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
958 },
959 "method": {
960 "shortName": "GetInstance",
961 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetInstance",
962 "service": {
963 "shortName": "AlloyDBAdmin",
964 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
965 }
966 }
967 },
968 "origin": "API_DEFINITION",
969 "segments": [
970 {
971 "start": 18,
972 "end": 53,
973 "type": "FULL"
974 }
975 ]
976 },
977 {
978 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetLocation_sync",
979 "title": "alloydb GetLocation Sample",
980 "description": "GetLocation gets information about a location.",
981 "file": "AlloyDBAdminClient/GetLocation/main.go",
982 "language": "GO",
983 "clientMethod": {
984 "shortName": "GetLocation",
985 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetLocation",
986 "parameters": [
987 {
988 "type": "context.Context",
989 "name": "ctx"
990 },
991 {
992 "type": "locationpb.GetLocationRequest",
993 "name": "req"
994 },
995 {
996 "type": "...gax.CallOption",
997 "name": "opts"
998 }
999 ],
1000 "resultType": "*locationpb.Location",
1001 "client": {
1002 "shortName": "AlloyDBAdminClient",
1003 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1004 },
1005 "method": {
1006 "shortName": "GetLocation",
1007 "fullName": "google.cloud.location.Locations.GetLocation",
1008 "service": {
1009 "shortName": "Locations",
1010 "fullName": "google.cloud.location.Locations"
1011 }
1012 }
1013 },
1014 "origin": "API_DEFINITION",
1015 "segments": [
1016 {
1017 "start": 18,
1018 "end": 53,
1019 "type": "FULL"
1020 }
1021 ]
1022 },
1023 {
1024 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetOperation_sync",
1025 "title": "alloydb GetOperation Sample",
1026 "description": "GetOperation is a utility method from google.longrunning.Operations.",
1027 "file": "AlloyDBAdminClient/GetOperation/main.go",
1028 "language": "GO",
1029 "clientMethod": {
1030 "shortName": "GetOperation",
1031 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetOperation",
1032 "parameters": [
1033 {
1034 "type": "context.Context",
1035 "name": "ctx"
1036 },
1037 {
1038 "type": "longrunningpb.GetOperationRequest",
1039 "name": "req"
1040 },
1041 {
1042 "type": "...gax.CallOption",
1043 "name": "opts"
1044 }
1045 ],
1046 "resultType": "*longrunningpb.Operation",
1047 "client": {
1048 "shortName": "AlloyDBAdminClient",
1049 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1050 },
1051 "method": {
1052 "shortName": "GetOperation",
1053 "fullName": "google.longrunning.Operations.GetOperation",
1054 "service": {
1055 "shortName": "Operations",
1056 "fullName": "google.longrunning.Operations"
1057 }
1058 }
1059 },
1060 "origin": "API_DEFINITION",
1061 "segments": [
1062 {
1063 "start": 18,
1064 "end": 53,
1065 "type": "FULL"
1066 }
1067 ]
1068 },
1069 {
1070 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetUser_sync",
1071 "title": "alloydb GetUser Sample",
1072 "description": "GetUser gets details of a single User.",
1073 "file": "AlloyDBAdminClient/GetUser/main.go",
1074 "language": "GO",
1075 "clientMethod": {
1076 "shortName": "GetUser",
1077 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetUser",
1078 "parameters": [
1079 {
1080 "type": "context.Context",
1081 "name": "ctx"
1082 },
1083 {
1084 "type": "alloydbpb.GetUserRequest",
1085 "name": "req"
1086 },
1087 {
1088 "type": "...gax.CallOption",
1089 "name": "opts"
1090 }
1091 ],
1092 "resultType": "*alloydbpb.User",
1093 "client": {
1094 "shortName": "AlloyDBAdminClient",
1095 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1096 },
1097 "method": {
1098 "shortName": "GetUser",
1099 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetUser",
1100 "service": {
1101 "shortName": "AlloyDBAdmin",
1102 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1103 }
1104 }
1105 },
1106 "origin": "API_DEFINITION",
1107 "segments": [
1108 {
1109 "start": 18,
1110 "end": 53,
1111 "type": "FULL"
1112 }
1113 ]
1114 },
1115 {
1116 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ImportCluster_sync",
1117 "title": "alloydb ImportCluster Sample",
1118 "description": "ImportCluster imports data to the cluster.\nImperative only.",
1119 "file": "AlloyDBAdminClient/ImportCluster/main.go",
1120 "language": "GO",
1121 "clientMethod": {
1122 "shortName": "ImportCluster",
1123 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ImportCluster",
1124 "parameters": [
1125 {
1126 "type": "context.Context",
1127 "name": "ctx"
1128 },
1129 {
1130 "type": "alloydbpb.ImportClusterRequest",
1131 "name": "req"
1132 },
1133 {
1134 "type": "...gax.CallOption",
1135 "name": "opts"
1136 }
1137 ],
1138 "resultType": "ImportClusterOperation",
1139 "client": {
1140 "shortName": "AlloyDBAdminClient",
1141 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1142 },
1143 "method": {
1144 "shortName": "ImportCluster",
1145 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ImportCluster",
1146 "service": {
1147 "shortName": "AlloyDBAdmin",
1148 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1149 }
1150 }
1151 },
1152 "origin": "API_DEFINITION",
1153 "segments": [
1154 {
1155 "start": 18,
1156 "end": 58,
1157 "type": "FULL"
1158 }
1159 ]
1160 },
1161 {
1162 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_InjectFault_sync",
1163 "title": "alloydb InjectFault Sample",
1164 "description": "InjectFault injects fault in an instance.\nImperative only.",
1165 "file": "AlloyDBAdminClient/InjectFault/main.go",
1166 "language": "GO",
1167 "clientMethod": {
1168 "shortName": "InjectFault",
1169 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.InjectFault",
1170 "parameters": [
1171 {
1172 "type": "context.Context",
1173 "name": "ctx"
1174 },
1175 {
1176 "type": "alloydbpb.InjectFaultRequest",
1177 "name": "req"
1178 },
1179 {
1180 "type": "...gax.CallOption",
1181 "name": "opts"
1182 }
1183 ],
1184 "resultType": "InjectFaultOperation",
1185 "client": {
1186 "shortName": "AlloyDBAdminClient",
1187 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1188 },
1189 "method": {
1190 "shortName": "InjectFault",
1191 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.InjectFault",
1192 "service": {
1193 "shortName": "AlloyDBAdmin",
1194 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1195 }
1196 }
1197 },
1198 "origin": "API_DEFINITION",
1199 "segments": [
1200 {
1201 "start": 18,
1202 "end": 58,
1203 "type": "FULL"
1204 }
1205 ]
1206 },
1207 {
1208 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListBackups_sync",
1209 "title": "alloydb ListBackups Sample",
1210 "description": "ListBackups lists Backups in a given project and location.",
1211 "file": "AlloyDBAdminClient/ListBackups/main.go",
1212 "language": "GO",
1213 "clientMethod": {
1214 "shortName": "ListBackups",
1215 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListBackups",
1216 "parameters": [
1217 {
1218 "type": "context.Context",
1219 "name": "ctx"
1220 },
1221 {
1222 "type": "alloydbpb.ListBackupsRequest",
1223 "name": "req"
1224 },
1225 {
1226 "type": "...gax.CallOption",
1227 "name": "opts"
1228 }
1229 ],
1230 "resultType": "BackupIterator",
1231 "client": {
1232 "shortName": "AlloyDBAdminClient",
1233 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1234 },
1235 "method": {
1236 "shortName": "ListBackups",
1237 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListBackups",
1238 "service": {
1239 "shortName": "AlloyDBAdmin",
1240 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1241 }
1242 }
1243 },
1244 "origin": "API_DEFINITION",
1245 "segments": [
1246 {
1247 "start": 18,
1248 "end": 66,
1249 "type": "FULL"
1250 }
1251 ]
1252 },
1253 {
1254 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListClusters_sync",
1255 "title": "alloydb ListClusters Sample",
1256 "description": "ListClusters lists Clusters in a given project and location.",
1257 "file": "AlloyDBAdminClient/ListClusters/main.go",
1258 "language": "GO",
1259 "clientMethod": {
1260 "shortName": "ListClusters",
1261 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListClusters",
1262 "parameters": [
1263 {
1264 "type": "context.Context",
1265 "name": "ctx"
1266 },
1267 {
1268 "type": "alloydbpb.ListClustersRequest",
1269 "name": "req"
1270 },
1271 {
1272 "type": "...gax.CallOption",
1273 "name": "opts"
1274 }
1275 ],
1276 "resultType": "ClusterIterator",
1277 "client": {
1278 "shortName": "AlloyDBAdminClient",
1279 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1280 },
1281 "method": {
1282 "shortName": "ListClusters",
1283 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListClusters",
1284 "service": {
1285 "shortName": "AlloyDBAdmin",
1286 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1287 }
1288 }
1289 },
1290 "origin": "API_DEFINITION",
1291 "segments": [
1292 {
1293 "start": 18,
1294 "end": 66,
1295 "type": "FULL"
1296 }
1297 ]
1298 },
1299 {
1300 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListDatabases_sync",
1301 "title": "alloydb ListDatabases Sample",
1302 "description": "ListDatabases lists Databases in a given project and location.",
1303 "file": "AlloyDBAdminClient/ListDatabases/main.go",
1304 "language": "GO",
1305 "clientMethod": {
1306 "shortName": "ListDatabases",
1307 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListDatabases",
1308 "parameters": [
1309 {
1310 "type": "context.Context",
1311 "name": "ctx"
1312 },
1313 {
1314 "type": "alloydbpb.ListDatabasesRequest",
1315 "name": "req"
1316 },
1317 {
1318 "type": "...gax.CallOption",
1319 "name": "opts"
1320 }
1321 ],
1322 "resultType": "DatabaseIterator",
1323 "client": {
1324 "shortName": "AlloyDBAdminClient",
1325 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1326 },
1327 "method": {
1328 "shortName": "ListDatabases",
1329 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListDatabases",
1330 "service": {
1331 "shortName": "AlloyDBAdmin",
1332 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1333 }
1334 }
1335 },
1336 "origin": "API_DEFINITION",
1337 "segments": [
1338 {
1339 "start": 18,
1340 "end": 66,
1341 "type": "FULL"
1342 }
1343 ]
1344 },
1345 {
1346 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListInstances_sync",
1347 "title": "alloydb ListInstances Sample",
1348 "description": "ListInstances lists Instances in a given project and location.",
1349 "file": "AlloyDBAdminClient/ListInstances/main.go",
1350 "language": "GO",
1351 "clientMethod": {
1352 "shortName": "ListInstances",
1353 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListInstances",
1354 "parameters": [
1355 {
1356 "type": "context.Context",
1357 "name": "ctx"
1358 },
1359 {
1360 "type": "alloydbpb.ListInstancesRequest",
1361 "name": "req"
1362 },
1363 {
1364 "type": "...gax.CallOption",
1365 "name": "opts"
1366 }
1367 ],
1368 "resultType": "InstanceIterator",
1369 "client": {
1370 "shortName": "AlloyDBAdminClient",
1371 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1372 },
1373 "method": {
1374 "shortName": "ListInstances",
1375 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListInstances",
1376 "service": {
1377 "shortName": "AlloyDBAdmin",
1378 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1379 }
1380 }
1381 },
1382 "origin": "API_DEFINITION",
1383 "segments": [
1384 {
1385 "start": 18,
1386 "end": 66,
1387 "type": "FULL"
1388 }
1389 ]
1390 },
1391 {
1392 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListLocations_sync",
1393 "title": "alloydb ListLocations Sample",
1394 "description": "ListLocations lists information about the supported locations for this service.",
1395 "file": "AlloyDBAdminClient/ListLocations/main.go",
1396 "language": "GO",
1397 "clientMethod": {
1398 "shortName": "ListLocations",
1399 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListLocations",
1400 "parameters": [
1401 {
1402 "type": "context.Context",
1403 "name": "ctx"
1404 },
1405 {
1406 "type": "locationpb.ListLocationsRequest",
1407 "name": "req"
1408 },
1409 {
1410 "type": "...gax.CallOption",
1411 "name": "opts"
1412 }
1413 ],
1414 "resultType": "LocationIterator",
1415 "client": {
1416 "shortName": "AlloyDBAdminClient",
1417 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1418 },
1419 "method": {
1420 "shortName": "ListLocations",
1421 "fullName": "google.cloud.location.Locations.ListLocations",
1422 "service": {
1423 "shortName": "Locations",
1424 "fullName": "google.cloud.location.Locations"
1425 }
1426 }
1427 },
1428 "origin": "API_DEFINITION",
1429 "segments": [
1430 {
1431 "start": 18,
1432 "end": 66,
1433 "type": "FULL"
1434 }
1435 ]
1436 },
1437 {
1438 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListOperations_sync",
1439 "title": "alloydb ListOperations Sample",
1440 "description": "ListOperations is a utility method from google.longrunning.Operations.",
1441 "file": "AlloyDBAdminClient/ListOperations/main.go",
1442 "language": "GO",
1443 "clientMethod": {
1444 "shortName": "ListOperations",
1445 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListOperations",
1446 "parameters": [
1447 {
1448 "type": "context.Context",
1449 "name": "ctx"
1450 },
1451 {
1452 "type": "longrunningpb.ListOperationsRequest",
1453 "name": "req"
1454 },
1455 {
1456 "type": "...gax.CallOption",
1457 "name": "opts"
1458 }
1459 ],
1460 "resultType": "OperationIterator",
1461 "client": {
1462 "shortName": "AlloyDBAdminClient",
1463 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1464 },
1465 "method": {
1466 "shortName": "ListOperations",
1467 "fullName": "google.longrunning.Operations.ListOperations",
1468 "service": {
1469 "shortName": "Operations",
1470 "fullName": "google.longrunning.Operations"
1471 }
1472 }
1473 },
1474 "origin": "API_DEFINITION",
1475 "segments": [
1476 {
1477 "start": 18,
1478 "end": 66,
1479 "type": "FULL"
1480 }
1481 ]
1482 },
1483 {
1484 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListSupportedDatabaseFlags_sync",
1485 "title": "alloydb ListSupportedDatabaseFlags Sample",
1486 "description": "ListSupportedDatabaseFlags lists SupportedDatabaseFlags for a given project and location.",
1487 "file": "AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go",
1488 "language": "GO",
1489 "clientMethod": {
1490 "shortName": "ListSupportedDatabaseFlags",
1491 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListSupportedDatabaseFlags",
1492 "parameters": [
1493 {
1494 "type": "context.Context",
1495 "name": "ctx"
1496 },
1497 {
1498 "type": "alloydbpb.ListSupportedDatabaseFlagsRequest",
1499 "name": "req"
1500 },
1501 {
1502 "type": "...gax.CallOption",
1503 "name": "opts"
1504 }
1505 ],
1506 "resultType": "SupportedDatabaseFlagIterator",
1507 "client": {
1508 "shortName": "AlloyDBAdminClient",
1509 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1510 },
1511 "method": {
1512 "shortName": "ListSupportedDatabaseFlags",
1513 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListSupportedDatabaseFlags",
1514 "service": {
1515 "shortName": "AlloyDBAdmin",
1516 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1517 }
1518 }
1519 },
1520 "origin": "API_DEFINITION",
1521 "segments": [
1522 {
1523 "start": 18,
1524 "end": 66,
1525 "type": "FULL"
1526 }
1527 ]
1528 },
1529 {
1530 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListUsers_sync",
1531 "title": "alloydb ListUsers Sample",
1532 "description": "ListUsers lists Users in a given project and location.",
1533 "file": "AlloyDBAdminClient/ListUsers/main.go",
1534 "language": "GO",
1535 "clientMethod": {
1536 "shortName": "ListUsers",
1537 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListUsers",
1538 "parameters": [
1539 {
1540 "type": "context.Context",
1541 "name": "ctx"
1542 },
1543 {
1544 "type": "alloydbpb.ListUsersRequest",
1545 "name": "req"
1546 },
1547 {
1548 "type": "...gax.CallOption",
1549 "name": "opts"
1550 }
1551 ],
1552 "resultType": "UserIterator",
1553 "client": {
1554 "shortName": "AlloyDBAdminClient",
1555 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1556 },
1557 "method": {
1558 "shortName": "ListUsers",
1559 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListUsers",
1560 "service": {
1561 "shortName": "AlloyDBAdmin",
1562 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1563 }
1564 }
1565 },
1566 "origin": "API_DEFINITION",
1567 "segments": [
1568 {
1569 "start": 18,
1570 "end": 66,
1571 "type": "FULL"
1572 }
1573 ]
1574 },
1575 {
1576 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_PromoteCluster_sync",
1577 "title": "alloydb PromoteCluster Sample",
1578 "description": "PromoteCluster promotes a SECONDARY cluster. This turns down replication\nfrom the PRIMARY cluster and promotes a secondary cluster\ninto its own standalone cluster.\nImperative only.",
1579 "file": "AlloyDBAdminClient/PromoteCluster/main.go",
1580 "language": "GO",
1581 "clientMethod": {
1582 "shortName": "PromoteCluster",
1583 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.PromoteCluster",
1584 "parameters": [
1585 {
1586 "type": "context.Context",
1587 "name": "ctx"
1588 },
1589 {
1590 "type": "alloydbpb.PromoteClusterRequest",
1591 "name": "req"
1592 },
1593 {
1594 "type": "...gax.CallOption",
1595 "name": "opts"
1596 }
1597 ],
1598 "resultType": "PromoteClusterOperation",
1599 "client": {
1600 "shortName": "AlloyDBAdminClient",
1601 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1602 },
1603 "method": {
1604 "shortName": "PromoteCluster",
1605 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.PromoteCluster",
1606 "service": {
1607 "shortName": "AlloyDBAdmin",
1608 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1609 }
1610 }
1611 },
1612 "origin": "API_DEFINITION",
1613 "segments": [
1614 {
1615 "start": 18,
1616 "end": 58,
1617 "type": "FULL"
1618 }
1619 ]
1620 },
1621 {
1622 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_RestartInstance_sync",
1623 "title": "alloydb RestartInstance Sample",
1624 "description": "RestartInstance restart an Instance in a cluster.\nImperative only.",
1625 "file": "AlloyDBAdminClient/RestartInstance/main.go",
1626 "language": "GO",
1627 "clientMethod": {
1628 "shortName": "RestartInstance",
1629 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.RestartInstance",
1630 "parameters": [
1631 {
1632 "type": "context.Context",
1633 "name": "ctx"
1634 },
1635 {
1636 "type": "alloydbpb.RestartInstanceRequest",
1637 "name": "req"
1638 },
1639 {
1640 "type": "...gax.CallOption",
1641 "name": "opts"
1642 }
1643 ],
1644 "resultType": "RestartInstanceOperation",
1645 "client": {
1646 "shortName": "AlloyDBAdminClient",
1647 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1648 },
1649 "method": {
1650 "shortName": "RestartInstance",
1651 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.RestartInstance",
1652 "service": {
1653 "shortName": "AlloyDBAdmin",
1654 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1655 }
1656 }
1657 },
1658 "origin": "API_DEFINITION",
1659 "segments": [
1660 {
1661 "start": 18,
1662 "end": 58,
1663 "type": "FULL"
1664 }
1665 ]
1666 },
1667 {
1668 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_RestoreCluster_sync",
1669 "title": "alloydb RestoreCluster Sample",
1670 "description": "RestoreCluster creates a new Cluster in a given project and location, with a volume\nrestored from the provided source, either a backup ID or a point-in-time\nand a source cluster.",
1671 "file": "AlloyDBAdminClient/RestoreCluster/main.go",
1672 "language": "GO",
1673 "clientMethod": {
1674 "shortName": "RestoreCluster",
1675 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.RestoreCluster",
1676 "parameters": [
1677 {
1678 "type": "context.Context",
1679 "name": "ctx"
1680 },
1681 {
1682 "type": "alloydbpb.RestoreClusterRequest",
1683 "name": "req"
1684 },
1685 {
1686 "type": "...gax.CallOption",
1687 "name": "opts"
1688 }
1689 ],
1690 "resultType": "RestoreClusterOperation",
1691 "client": {
1692 "shortName": "AlloyDBAdminClient",
1693 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1694 },
1695 "method": {
1696 "shortName": "RestoreCluster",
1697 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.RestoreCluster",
1698 "service": {
1699 "shortName": "AlloyDBAdmin",
1700 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1701 }
1702 }
1703 },
1704 "origin": "API_DEFINITION",
1705 "segments": [
1706 {
1707 "start": 18,
1708 "end": 58,
1709 "type": "FULL"
1710 }
1711 ]
1712 },
1713 {
1714 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_SwitchoverCluster_sync",
1715 "title": "alloydb SwitchoverCluster Sample",
1716 "description": "SwitchoverCluster switches the roles of PRIMARY and SECONDARY clusters without any data loss.\nThis promotes the SECONDARY cluster to PRIMARY and sets up the original\nPRIMARY cluster to replicate from this newly promoted cluster.",
1717 "file": "AlloyDBAdminClient/SwitchoverCluster/main.go",
1718 "language": "GO",
1719 "clientMethod": {
1720 "shortName": "SwitchoverCluster",
1721 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.SwitchoverCluster",
1722 "parameters": [
1723 {
1724 "type": "context.Context",
1725 "name": "ctx"
1726 },
1727 {
1728 "type": "alloydbpb.SwitchoverClusterRequest",
1729 "name": "req"
1730 },
1731 {
1732 "type": "...gax.CallOption",
1733 "name": "opts"
1734 }
1735 ],
1736 "resultType": "SwitchoverClusterOperation",
1737 "client": {
1738 "shortName": "AlloyDBAdminClient",
1739 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1740 },
1741 "method": {
1742 "shortName": "SwitchoverCluster",
1743 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.SwitchoverCluster",
1744 "service": {
1745 "shortName": "AlloyDBAdmin",
1746 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1747 }
1748 }
1749 },
1750 "origin": "API_DEFINITION",
1751 "segments": [
1752 {
1753 "start": 18,
1754 "end": 58,
1755 "type": "FULL"
1756 }
1757 ]
1758 },
1759 {
1760 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateBackup_sync",
1761 "title": "alloydb UpdateBackup Sample",
1762 "description": "UpdateBackup updates the parameters of a single Backup.",
1763 "file": "AlloyDBAdminClient/UpdateBackup/main.go",
1764 "language": "GO",
1765 "clientMethod": {
1766 "shortName": "UpdateBackup",
1767 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.UpdateBackup",
1768 "parameters": [
1769 {
1770 "type": "context.Context",
1771 "name": "ctx"
1772 },
1773 {
1774 "type": "alloydbpb.UpdateBackupRequest",
1775 "name": "req"
1776 },
1777 {
1778 "type": "...gax.CallOption",
1779 "name": "opts"
1780 }
1781 ],
1782 "resultType": "UpdateBackupOperation",
1783 "client": {
1784 "shortName": "AlloyDBAdminClient",
1785 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1786 },
1787 "method": {
1788 "shortName": "UpdateBackup",
1789 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateBackup",
1790 "service": {
1791 "shortName": "AlloyDBAdmin",
1792 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1793 }
1794 }
1795 },
1796 "origin": "API_DEFINITION",
1797 "segments": [
1798 {
1799 "start": 18,
1800 "end": 58,
1801 "type": "FULL"
1802 }
1803 ]
1804 },
1805 {
1806 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateCluster_sync",
1807 "title": "alloydb UpdateCluster Sample",
1808 "description": "UpdateCluster updates the parameters of a single Cluster.",
1809 "file": "AlloyDBAdminClient/UpdateCluster/main.go",
1810 "language": "GO",
1811 "clientMethod": {
1812 "shortName": "UpdateCluster",
1813 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.UpdateCluster",
1814 "parameters": [
1815 {
1816 "type": "context.Context",
1817 "name": "ctx"
1818 },
1819 {
1820 "type": "alloydbpb.UpdateClusterRequest",
1821 "name": "req"
1822 },
1823 {
1824 "type": "...gax.CallOption",
1825 "name": "opts"
1826 }
1827 ],
1828 "resultType": "UpdateClusterOperation",
1829 "client": {
1830 "shortName": "AlloyDBAdminClient",
1831 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1832 },
1833 "method": {
1834 "shortName": "UpdateCluster",
1835 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateCluster",
1836 "service": {
1837 "shortName": "AlloyDBAdmin",
1838 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1839 }
1840 }
1841 },
1842 "origin": "API_DEFINITION",
1843 "segments": [
1844 {
1845 "start": 18,
1846 "end": 58,
1847 "type": "FULL"
1848 }
1849 ]
1850 },
1851 {
1852 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateInstance_sync",
1853 "title": "alloydb UpdateInstance Sample",
1854 "description": "UpdateInstance updates the parameters of a single Instance.",
1855 "file": "AlloyDBAdminClient/UpdateInstance/main.go",
1856 "language": "GO",
1857 "clientMethod": {
1858 "shortName": "UpdateInstance",
1859 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.UpdateInstance",
1860 "parameters": [
1861 {
1862 "type": "context.Context",
1863 "name": "ctx"
1864 },
1865 {
1866 "type": "alloydbpb.UpdateInstanceRequest",
1867 "name": "req"
1868 },
1869 {
1870 "type": "...gax.CallOption",
1871 "name": "opts"
1872 }
1873 ],
1874 "resultType": "UpdateInstanceOperation",
1875 "client": {
1876 "shortName": "AlloyDBAdminClient",
1877 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1878 },
1879 "method": {
1880 "shortName": "UpdateInstance",
1881 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateInstance",
1882 "service": {
1883 "shortName": "AlloyDBAdmin",
1884 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1885 }
1886 }
1887 },
1888 "origin": "API_DEFINITION",
1889 "segments": [
1890 {
1891 "start": 18,
1892 "end": 58,
1893 "type": "FULL"
1894 }
1895 ]
1896 },
1897 {
1898 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateUser_sync",
1899 "title": "alloydb UpdateUser Sample",
1900 "description": "UpdateUser updates the parameters of a single User.",
1901 "file": "AlloyDBAdminClient/UpdateUser/main.go",
1902 "language": "GO",
1903 "clientMethod": {
1904 "shortName": "UpdateUser",
1905 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.UpdateUser",
1906 "parameters": [
1907 {
1908 "type": "context.Context",
1909 "name": "ctx"
1910 },
1911 {
1912 "type": "alloydbpb.UpdateUserRequest",
1913 "name": "req"
1914 },
1915 {
1916 "type": "...gax.CallOption",
1917 "name": "opts"
1918 }
1919 ],
1920 "resultType": "*alloydbpb.User",
1921 "client": {
1922 "shortName": "AlloyDBAdminClient",
1923 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1924 },
1925 "method": {
1926 "shortName": "UpdateUser",
1927 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateUser",
1928 "service": {
1929 "shortName": "AlloyDBAdmin",
1930 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1931 }
1932 }
1933 },
1934 "origin": "API_DEFINITION",
1935 "segments": [
1936 {
1937 "start": 18,
1938 "end": 53,
1939 "type": "FULL"
1940 }
1941 ]
1942 },
1943 {
1944 "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpgradeCluster_sync",
1945 "title": "alloydb UpgradeCluster Sample",
1946 "description": "UpgradeCluster upgrades a single Cluster.\nImperative only.",
1947 "file": "AlloyDBAdminClient/UpgradeCluster/main.go",
1948 "language": "GO",
1949 "clientMethod": {
1950 "shortName": "UpgradeCluster",
1951 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.UpgradeCluster",
1952 "parameters": [
1953 {
1954 "type": "context.Context",
1955 "name": "ctx"
1956 },
1957 {
1958 "type": "alloydbpb.UpgradeClusterRequest",
1959 "name": "req"
1960 },
1961 {
1962 "type": "...gax.CallOption",
1963 "name": "opts"
1964 }
1965 ],
1966 "resultType": "UpgradeClusterOperation",
1967 "client": {
1968 "shortName": "AlloyDBAdminClient",
1969 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient"
1970 },
1971 "method": {
1972 "shortName": "UpgradeCluster",
1973 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpgradeCluster",
1974 "service": {
1975 "shortName": "AlloyDBAdmin",
1976 "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin"
1977 }
1978 }
1979 },
1980 "origin": "API_DEFINITION",
1981 "segments": [
1982 {
1983 "start": 18,
1984 "end": 58,
1985 "type": "FULL"
1986 }
1987 ]
1988 },
1989 {
1990 "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_CancelOperation_sync",
1991 "title": "alloydb CancelOperation Sample",
1992 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
1993 "file": "AlloyDBCSQLAdminClient/CancelOperation/main.go",
1994 "language": "GO",
1995 "clientMethod": {
1996 "shortName": "CancelOperation",
1997 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.CancelOperation",
1998 "parameters": [
1999 {
2000 "type": "context.Context",
2001 "name": "ctx"
2002 },
2003 {
2004 "type": "longrunningpb.CancelOperationRequest",
2005 "name": "req"
2006 },
2007 {
2008 "type": "...gax.CallOption",
2009 "name": "opts"
2010 }
2011 ],
2012 "client": {
2013 "shortName": "AlloyDBCSQLAdminClient",
2014 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient"
2015 },
2016 "method": {
2017 "shortName": "CancelOperation",
2018 "fullName": "google.longrunning.Operations.CancelOperation",
2019 "service": {
2020 "shortName": "Operations",
2021 "fullName": "google.longrunning.Operations"
2022 }
2023 }
2024 },
2025 "origin": "API_DEFINITION",
2026 "segments": [
2027 {
2028 "start": 18,
2029 "end": 51,
2030 "type": "FULL"
2031 }
2032 ]
2033 },
2034 {
2035 "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_DeleteOperation_sync",
2036 "title": "alloydb DeleteOperation Sample",
2037 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
2038 "file": "AlloyDBCSQLAdminClient/DeleteOperation/main.go",
2039 "language": "GO",
2040 "clientMethod": {
2041 "shortName": "DeleteOperation",
2042 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.DeleteOperation",
2043 "parameters": [
2044 {
2045 "type": "context.Context",
2046 "name": "ctx"
2047 },
2048 {
2049 "type": "longrunningpb.DeleteOperationRequest",
2050 "name": "req"
2051 },
2052 {
2053 "type": "...gax.CallOption",
2054 "name": "opts"
2055 }
2056 ],
2057 "client": {
2058 "shortName": "AlloyDBCSQLAdminClient",
2059 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient"
2060 },
2061 "method": {
2062 "shortName": "DeleteOperation",
2063 "fullName": "google.longrunning.Operations.DeleteOperation",
2064 "service": {
2065 "shortName": "Operations",
2066 "fullName": "google.longrunning.Operations"
2067 }
2068 }
2069 },
2070 "origin": "API_DEFINITION",
2071 "segments": [
2072 {
2073 "start": 18,
2074 "end": 51,
2075 "type": "FULL"
2076 }
2077 ]
2078 },
2079 {
2080 "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_GetLocation_sync",
2081 "title": "alloydb GetLocation Sample",
2082 "description": "GetLocation gets information about a location.",
2083 "file": "AlloyDBCSQLAdminClient/GetLocation/main.go",
2084 "language": "GO",
2085 "clientMethod": {
2086 "shortName": "GetLocation",
2087 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.GetLocation",
2088 "parameters": [
2089 {
2090 "type": "context.Context",
2091 "name": "ctx"
2092 },
2093 {
2094 "type": "locationpb.GetLocationRequest",
2095 "name": "req"
2096 },
2097 {
2098 "type": "...gax.CallOption",
2099 "name": "opts"
2100 }
2101 ],
2102 "resultType": "*locationpb.Location",
2103 "client": {
2104 "shortName": "AlloyDBCSQLAdminClient",
2105 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient"
2106 },
2107 "method": {
2108 "shortName": "GetLocation",
2109 "fullName": "google.cloud.location.Locations.GetLocation",
2110 "service": {
2111 "shortName": "Locations",
2112 "fullName": "google.cloud.location.Locations"
2113 }
2114 }
2115 },
2116 "origin": "API_DEFINITION",
2117 "segments": [
2118 {
2119 "start": 18,
2120 "end": 53,
2121 "type": "FULL"
2122 }
2123 ]
2124 },
2125 {
2126 "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_GetOperation_sync",
2127 "title": "alloydb GetOperation Sample",
2128 "description": "GetOperation is a utility method from google.longrunning.Operations.",
2129 "file": "AlloyDBCSQLAdminClient/GetOperation/main.go",
2130 "language": "GO",
2131 "clientMethod": {
2132 "shortName": "GetOperation",
2133 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.GetOperation",
2134 "parameters": [
2135 {
2136 "type": "context.Context",
2137 "name": "ctx"
2138 },
2139 {
2140 "type": "longrunningpb.GetOperationRequest",
2141 "name": "req"
2142 },
2143 {
2144 "type": "...gax.CallOption",
2145 "name": "opts"
2146 }
2147 ],
2148 "resultType": "*longrunningpb.Operation",
2149 "client": {
2150 "shortName": "AlloyDBCSQLAdminClient",
2151 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient"
2152 },
2153 "method": {
2154 "shortName": "GetOperation",
2155 "fullName": "google.longrunning.Operations.GetOperation",
2156 "service": {
2157 "shortName": "Operations",
2158 "fullName": "google.longrunning.Operations"
2159 }
2160 }
2161 },
2162 "origin": "API_DEFINITION",
2163 "segments": [
2164 {
2165 "start": 18,
2166 "end": 53,
2167 "type": "FULL"
2168 }
2169 ]
2170 },
2171 {
2172 "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_ListLocations_sync",
2173 "title": "alloydb ListLocations Sample",
2174 "description": "ListLocations lists information about the supported locations for this service.",
2175 "file": "AlloyDBCSQLAdminClient/ListLocations/main.go",
2176 "language": "GO",
2177 "clientMethod": {
2178 "shortName": "ListLocations",
2179 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.ListLocations",
2180 "parameters": [
2181 {
2182 "type": "context.Context",
2183 "name": "ctx"
2184 },
2185 {
2186 "type": "locationpb.ListLocationsRequest",
2187 "name": "req"
2188 },
2189 {
2190 "type": "...gax.CallOption",
2191 "name": "opts"
2192 }
2193 ],
2194 "resultType": "LocationIterator",
2195 "client": {
2196 "shortName": "AlloyDBCSQLAdminClient",
2197 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient"
2198 },
2199 "method": {
2200 "shortName": "ListLocations",
2201 "fullName": "google.cloud.location.Locations.ListLocations",
2202 "service": {
2203 "shortName": "Locations",
2204 "fullName": "google.cloud.location.Locations"
2205 }
2206 }
2207 },
2208 "origin": "API_DEFINITION",
2209 "segments": [
2210 {
2211 "start": 18,
2212 "end": 66,
2213 "type": "FULL"
2214 }
2215 ]
2216 },
2217 {
2218 "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_ListOperations_sync",
2219 "title": "alloydb ListOperations Sample",
2220 "description": "ListOperations is a utility method from google.longrunning.Operations.",
2221 "file": "AlloyDBCSQLAdminClient/ListOperations/main.go",
2222 "language": "GO",
2223 "clientMethod": {
2224 "shortName": "ListOperations",
2225 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.ListOperations",
2226 "parameters": [
2227 {
2228 "type": "context.Context",
2229 "name": "ctx"
2230 },
2231 {
2232 "type": "longrunningpb.ListOperationsRequest",
2233 "name": "req"
2234 },
2235 {
2236 "type": "...gax.CallOption",
2237 "name": "opts"
2238 }
2239 ],
2240 "resultType": "OperationIterator",
2241 "client": {
2242 "shortName": "AlloyDBCSQLAdminClient",
2243 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient"
2244 },
2245 "method": {
2246 "shortName": "ListOperations",
2247 "fullName": "google.longrunning.Operations.ListOperations",
2248 "service": {
2249 "shortName": "Operations",
2250 "fullName": "google.longrunning.Operations"
2251 }
2252 }
2253 },
2254 "origin": "API_DEFINITION",
2255 "segments": [
2256 {
2257 "start": 18,
2258 "end": 66,
2259 "type": "FULL"
2260 }
2261 ]
2262 },
2263 {
2264 "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_RestoreFromCloudSQL_sync",
2265 "title": "alloydb RestoreFromCloudSQL Sample",
2266 "description": "RestoreFromCloudSQL restores an AlloyDB cluster from a CloudSQL resource.",
2267 "file": "AlloyDBCSQLAdminClient/RestoreFromCloudSQL/main.go",
2268 "language": "GO",
2269 "clientMethod": {
2270 "shortName": "RestoreFromCloudSQL",
2271 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.RestoreFromCloudSQL",
2272 "parameters": [
2273 {
2274 "type": "context.Context",
2275 "name": "ctx"
2276 },
2277 {
2278 "type": "alloydbpb.RestoreFromCloudSQLRequest",
2279 "name": "req"
2280 },
2281 {
2282 "type": "...gax.CallOption",
2283 "name": "opts"
2284 }
2285 ],
2286 "resultType": "RestoreFromCloudSQLOperation",
2287 "client": {
2288 "shortName": "AlloyDBCSQLAdminClient",
2289 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient"
2290 },
2291 "method": {
2292 "shortName": "RestoreFromCloudSQL",
2293 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdmin.RestoreFromCloudSQL",
2294 "service": {
2295 "shortName": "AlloyDBCSQLAdmin",
2296 "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdmin"
2297 }
2298 }
2299 },
2300 "origin": "API_DEFINITION",
2301 "segments": [
2302 {
2303 "start": 18,
2304 "end": 58,
2305 "type": "FULL"
2306 }
2307 ]
2308 }
2309 ]
2310 }