Debian Codegraph @

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

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/gkebackup/apiv1",
4 "version": "1.8.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.gkebackup.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "gkebackup_v1_generated_BackupForGKE_CancelOperation_sync",
16 "title": "gkebackup CancelOperation Sample",
17 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
18 "file": "BackupForGKEClient/CancelOperation/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CancelOperation",
22 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.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": "BackupForGKEClient",
39 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
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": "gkebackup_v1_generated_BackupForGKE_CreateBackup_sync",
61 "title": "gkebackup CreateBackup Sample",
62 "description": "CreateBackup creates a Backup for the given BackupPlan.",
63 "file": "BackupForGKEClient/CreateBackup/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "CreateBackup",
67 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateBackup",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "gkebackuppb.CreateBackupRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "CreateBackupOperation",
83 "client": {
84 "shortName": "BackupForGKEClient",
85 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
86 },
87 "method": {
88 "shortName": "CreateBackup",
89 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackup",
90 "service": {
91 "shortName": "BackupForGKE",
92 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
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": "gkebackup_v1_generated_BackupForGKE_CreateBackupChannel_sync",
107 "title": "gkebackup CreateBackupChannel Sample",
108 "description": "CreateBackupChannel creates a new BackupChannel in a given location.",
109 "file": "BackupForGKEClient/CreateBackupChannel/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "CreateBackupChannel",
113 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateBackupChannel",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "gkebackuppb.CreateBackupChannelRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "CreateBackupChannelOperation",
129 "client": {
130 "shortName": "BackupForGKEClient",
131 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
132 },
133 "method": {
134 "shortName": "CreateBackupChannel",
135 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackupChannel",
136 "service": {
137 "shortName": "BackupForGKE",
138 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
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": "gkebackup_v1_generated_BackupForGKE_CreateBackupPlan_sync",
153 "title": "gkebackup CreateBackupPlan Sample",
154 "description": "CreateBackupPlan creates a new BackupPlan in a given location.",
155 "file": "BackupForGKEClient/CreateBackupPlan/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "CreateBackupPlan",
159 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateBackupPlan",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "gkebackuppb.CreateBackupPlanRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "CreateBackupPlanOperation",
175 "client": {
176 "shortName": "BackupForGKEClient",
177 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
178 },
179 "method": {
180 "shortName": "CreateBackupPlan",
181 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackupPlan",
182 "service": {
183 "shortName": "BackupForGKE",
184 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
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": "gkebackup_v1_generated_BackupForGKE_CreateRestore_sync",
199 "title": "gkebackup CreateRestore Sample",
200 "description": "CreateRestore creates a new Restore for the given RestorePlan.",
201 "file": "BackupForGKEClient/CreateRestore/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "CreateRestore",
205 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateRestore",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "gkebackuppb.CreateRestoreRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "CreateRestoreOperation",
221 "client": {
222 "shortName": "BackupForGKEClient",
223 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
224 },
225 "method": {
226 "shortName": "CreateRestore",
227 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestore",
228 "service": {
229 "shortName": "BackupForGKE",
230 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
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": "gkebackup_v1_generated_BackupForGKE_CreateRestoreChannel_sync",
245 "title": "gkebackup CreateRestoreChannel Sample",
246 "description": "CreateRestoreChannel creates a new RestoreChannel in a given location.",
247 "file": "BackupForGKEClient/CreateRestoreChannel/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "CreateRestoreChannel",
251 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateRestoreChannel",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "gkebackuppb.CreateRestoreChannelRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "resultType": "CreateRestoreChannelOperation",
267 "client": {
268 "shortName": "BackupForGKEClient",
269 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
270 },
271 "method": {
272 "shortName": "CreateRestoreChannel",
273 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestoreChannel",
274 "service": {
275 "shortName": "BackupForGKE",
276 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
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": "gkebackup_v1_generated_BackupForGKE_CreateRestorePlan_sync",
291 "title": "gkebackup CreateRestorePlan Sample",
292 "description": "CreateRestorePlan creates a new RestorePlan in a given location.",
293 "file": "BackupForGKEClient/CreateRestorePlan/main.go",
294 "language": "GO",
295 "clientMethod": {
296 "shortName": "CreateRestorePlan",
297 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateRestorePlan",
298 "parameters": [
299 {
300 "type": "context.Context",
301 "name": "ctx"
302 },
303 {
304 "type": "gkebackuppb.CreateRestorePlanRequest",
305 "name": "req"
306 },
307 {
308 "type": "...gax.CallOption",
309 "name": "opts"
310 }
311 ],
312 "resultType": "CreateRestorePlanOperation",
313 "client": {
314 "shortName": "BackupForGKEClient",
315 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
316 },
317 "method": {
318 "shortName": "CreateRestorePlan",
319 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestorePlan",
320 "service": {
321 "shortName": "BackupForGKE",
322 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
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": "gkebackup_v1_generated_BackupForGKE_DeleteBackup_sync",
337 "title": "gkebackup DeleteBackup Sample",
338 "description": "DeleteBackup deletes an existing Backup.",
339 "file": "BackupForGKEClient/DeleteBackup/main.go",
340 "language": "GO",
341 "clientMethod": {
342 "shortName": "DeleteBackup",
343 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteBackup",
344 "parameters": [
345 {
346 "type": "context.Context",
347 "name": "ctx"
348 },
349 {
350 "type": "gkebackuppb.DeleteBackupRequest",
351 "name": "req"
352 },
353 {
354 "type": "...gax.CallOption",
355 "name": "opts"
356 }
357 ],
358 "resultType": "DeleteBackupOperation",
359 "client": {
360 "shortName": "BackupForGKEClient",
361 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
362 },
363 "method": {
364 "shortName": "DeleteBackup",
365 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackup",
366 "service": {
367 "shortName": "BackupForGKE",
368 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
369 }
370 }
371 },
372 "origin": "API_DEFINITION",
373 "segments": [
374 {
375 "start": 18,
376 "end": 56,
377 "type": "FULL"
378 }
379 ]
380 },
381 {
382 "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteBackupChannel_sync",
383 "title": "gkebackup DeleteBackupChannel Sample",
384 "description": "DeleteBackupChannel deletes an existing BackupChannel.",
385 "file": "BackupForGKEClient/DeleteBackupChannel/main.go",
386 "language": "GO",
387 "clientMethod": {
388 "shortName": "DeleteBackupChannel",
389 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteBackupChannel",
390 "parameters": [
391 {
392 "type": "context.Context",
393 "name": "ctx"
394 },
395 {
396 "type": "gkebackuppb.DeleteBackupChannelRequest",
397 "name": "req"
398 },
399 {
400 "type": "...gax.CallOption",
401 "name": "opts"
402 }
403 ],
404 "resultType": "DeleteBackupChannelOperation",
405 "client": {
406 "shortName": "BackupForGKEClient",
407 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
408 },
409 "method": {
410 "shortName": "DeleteBackupChannel",
411 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackupChannel",
412 "service": {
413 "shortName": "BackupForGKE",
414 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
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": "gkebackup_v1_generated_BackupForGKE_DeleteBackupPlan_sync",
429 "title": "gkebackup DeleteBackupPlan Sample",
430 "description": "DeleteBackupPlan deletes an existing BackupPlan.",
431 "file": "BackupForGKEClient/DeleteBackupPlan/main.go",
432 "language": "GO",
433 "clientMethod": {
434 "shortName": "DeleteBackupPlan",
435 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteBackupPlan",
436 "parameters": [
437 {
438 "type": "context.Context",
439 "name": "ctx"
440 },
441 {
442 "type": "gkebackuppb.DeleteBackupPlanRequest",
443 "name": "req"
444 },
445 {
446 "type": "...gax.CallOption",
447 "name": "opts"
448 }
449 ],
450 "resultType": "DeleteBackupPlanOperation",
451 "client": {
452 "shortName": "BackupForGKEClient",
453 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
454 },
455 "method": {
456 "shortName": "DeleteBackupPlan",
457 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackupPlan",
458 "service": {
459 "shortName": "BackupForGKE",
460 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
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": "gkebackup_v1_generated_BackupForGKE_DeleteOperation_sync",
475 "title": "gkebackup DeleteOperation Sample",
476 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
477 "file": "BackupForGKEClient/DeleteOperation/main.go",
478 "language": "GO",
479 "clientMethod": {
480 "shortName": "DeleteOperation",
481 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteOperation",
482 "parameters": [
483 {
484 "type": "context.Context",
485 "name": "ctx"
486 },
487 {
488 "type": "longrunningpb.DeleteOperationRequest",
489 "name": "req"
490 },
491 {
492 "type": "...gax.CallOption",
493 "name": "opts"
494 }
495 ],
496 "client": {
497 "shortName": "BackupForGKEClient",
498 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
499 },
500 "method": {
501 "shortName": "DeleteOperation",
502 "fullName": "google.longrunning.Operations.DeleteOperation",
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": 51,
514 "type": "FULL"
515 }
516 ]
517 },
518 {
519 "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteRestore_sync",
520 "title": "gkebackup DeleteRestore Sample",
521 "description": "DeleteRestore deletes an existing Restore.",
522 "file": "BackupForGKEClient/DeleteRestore/main.go",
523 "language": "GO",
524 "clientMethod": {
525 "shortName": "DeleteRestore",
526 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteRestore",
527 "parameters": [
528 {
529 "type": "context.Context",
530 "name": "ctx"
531 },
532 {
533 "type": "gkebackuppb.DeleteRestoreRequest",
534 "name": "req"
535 },
536 {
537 "type": "...gax.CallOption",
538 "name": "opts"
539 }
540 ],
541 "resultType": "DeleteRestoreOperation",
542 "client": {
543 "shortName": "BackupForGKEClient",
544 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
545 },
546 "method": {
547 "shortName": "DeleteRestore",
548 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestore",
549 "service": {
550 "shortName": "BackupForGKE",
551 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
552 }
553 }
554 },
555 "origin": "API_DEFINITION",
556 "segments": [
557 {
558 "start": 18,
559 "end": 56,
560 "type": "FULL"
561 }
562 ]
563 },
564 {
565 "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteRestoreChannel_sync",
566 "title": "gkebackup DeleteRestoreChannel Sample",
567 "description": "DeleteRestoreChannel deletes an existing RestoreChannel.",
568 "file": "BackupForGKEClient/DeleteRestoreChannel/main.go",
569 "language": "GO",
570 "clientMethod": {
571 "shortName": "DeleteRestoreChannel",
572 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteRestoreChannel",
573 "parameters": [
574 {
575 "type": "context.Context",
576 "name": "ctx"
577 },
578 {
579 "type": "gkebackuppb.DeleteRestoreChannelRequest",
580 "name": "req"
581 },
582 {
583 "type": "...gax.CallOption",
584 "name": "opts"
585 }
586 ],
587 "resultType": "DeleteRestoreChannelOperation",
588 "client": {
589 "shortName": "BackupForGKEClient",
590 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
591 },
592 "method": {
593 "shortName": "DeleteRestoreChannel",
594 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestoreChannel",
595 "service": {
596 "shortName": "BackupForGKE",
597 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
598 }
599 }
600 },
601 "origin": "API_DEFINITION",
602 "segments": [
603 {
604 "start": 18,
605 "end": 56,
606 "type": "FULL"
607 }
608 ]
609 },
610 {
611 "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteRestorePlan_sync",
612 "title": "gkebackup DeleteRestorePlan Sample",
613 "description": "DeleteRestorePlan deletes an existing RestorePlan.",
614 "file": "BackupForGKEClient/DeleteRestorePlan/main.go",
615 "language": "GO",
616 "clientMethod": {
617 "shortName": "DeleteRestorePlan",
618 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteRestorePlan",
619 "parameters": [
620 {
621 "type": "context.Context",
622 "name": "ctx"
623 },
624 {
625 "type": "gkebackuppb.DeleteRestorePlanRequest",
626 "name": "req"
627 },
628 {
629 "type": "...gax.CallOption",
630 "name": "opts"
631 }
632 ],
633 "resultType": "DeleteRestorePlanOperation",
634 "client": {
635 "shortName": "BackupForGKEClient",
636 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
637 },
638 "method": {
639 "shortName": "DeleteRestorePlan",
640 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestorePlan",
641 "service": {
642 "shortName": "BackupForGKE",
643 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
644 }
645 }
646 },
647 "origin": "API_DEFINITION",
648 "segments": [
649 {
650 "start": 18,
651 "end": 56,
652 "type": "FULL"
653 }
654 ]
655 },
656 {
657 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackup_sync",
658 "title": "gkebackup GetBackup Sample",
659 "description": "GetBackup retrieve the details of a single Backup.",
660 "file": "BackupForGKEClient/GetBackup/main.go",
661 "language": "GO",
662 "clientMethod": {
663 "shortName": "GetBackup",
664 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackup",
665 "parameters": [
666 {
667 "type": "context.Context",
668 "name": "ctx"
669 },
670 {
671 "type": "gkebackuppb.GetBackupRequest",
672 "name": "req"
673 },
674 {
675 "type": "...gax.CallOption",
676 "name": "opts"
677 }
678 ],
679 "resultType": "*gkebackuppb.Backup",
680 "client": {
681 "shortName": "BackupForGKEClient",
682 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
683 },
684 "method": {
685 "shortName": "GetBackup",
686 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackup",
687 "service": {
688 "shortName": "BackupForGKE",
689 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
690 }
691 }
692 },
693 "origin": "API_DEFINITION",
694 "segments": [
695 {
696 "start": 18,
697 "end": 53,
698 "type": "FULL"
699 }
700 ]
701 },
702 {
703 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupChannel_sync",
704 "title": "gkebackup GetBackupChannel Sample",
705 "description": "GetBackupChannel retrieve the details of a single BackupChannel.",
706 "file": "BackupForGKEClient/GetBackupChannel/main.go",
707 "language": "GO",
708 "clientMethod": {
709 "shortName": "GetBackupChannel",
710 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupChannel",
711 "parameters": [
712 {
713 "type": "context.Context",
714 "name": "ctx"
715 },
716 {
717 "type": "gkebackuppb.GetBackupChannelRequest",
718 "name": "req"
719 },
720 {
721 "type": "...gax.CallOption",
722 "name": "opts"
723 }
724 ],
725 "resultType": "*gkebackuppb.BackupChannel",
726 "client": {
727 "shortName": "BackupForGKEClient",
728 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
729 },
730 "method": {
731 "shortName": "GetBackupChannel",
732 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupChannel",
733 "service": {
734 "shortName": "BackupForGKE",
735 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
736 }
737 }
738 },
739 "origin": "API_DEFINITION",
740 "segments": [
741 {
742 "start": 18,
743 "end": 53,
744 "type": "FULL"
745 }
746 ]
747 },
748 {
749 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupIndexDownloadUrl_sync",
750 "title": "gkebackup GetBackupIndexDownloadUrl Sample",
751 "description": "GetBackupIndexDownloadUrl retrieve the link to the backupIndex.",
752 "file": "BackupForGKEClient/GetBackupIndexDownloadUrl/main.go",
753 "language": "GO",
754 "clientMethod": {
755 "shortName": "GetBackupIndexDownloadUrl",
756 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupIndexDownloadUrl",
757 "parameters": [
758 {
759 "type": "context.Context",
760 "name": "ctx"
761 },
762 {
763 "type": "gkebackuppb.GetBackupIndexDownloadUrlRequest",
764 "name": "req"
765 },
766 {
767 "type": "...gax.CallOption",
768 "name": "opts"
769 }
770 ],
771 "resultType": "*gkebackuppb.GetBackupIndexDownloadUrlResponse",
772 "client": {
773 "shortName": "BackupForGKEClient",
774 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
775 },
776 "method": {
777 "shortName": "GetBackupIndexDownloadUrl",
778 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupIndexDownloadUrl",
779 "service": {
780 "shortName": "BackupForGKE",
781 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
782 }
783 }
784 },
785 "origin": "API_DEFINITION",
786 "segments": [
787 {
788 "start": 18,
789 "end": 53,
790 "type": "FULL"
791 }
792 ]
793 },
794 {
795 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupPlan_sync",
796 "title": "gkebackup GetBackupPlan Sample",
797 "description": "GetBackupPlan retrieve the details of a single BackupPlan.",
798 "file": "BackupForGKEClient/GetBackupPlan/main.go",
799 "language": "GO",
800 "clientMethod": {
801 "shortName": "GetBackupPlan",
802 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupPlan",
803 "parameters": [
804 {
805 "type": "context.Context",
806 "name": "ctx"
807 },
808 {
809 "type": "gkebackuppb.GetBackupPlanRequest",
810 "name": "req"
811 },
812 {
813 "type": "...gax.CallOption",
814 "name": "opts"
815 }
816 ],
817 "resultType": "*gkebackuppb.BackupPlan",
818 "client": {
819 "shortName": "BackupForGKEClient",
820 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
821 },
822 "method": {
823 "shortName": "GetBackupPlan",
824 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupPlan",
825 "service": {
826 "shortName": "BackupForGKE",
827 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
828 }
829 }
830 },
831 "origin": "API_DEFINITION",
832 "segments": [
833 {
834 "start": 18,
835 "end": 53,
836 "type": "FULL"
837 }
838 ]
839 },
840 {
841 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupPlanBinding_sync",
842 "title": "gkebackup GetBackupPlanBinding Sample",
843 "description": "GetBackupPlanBinding retrieve the details of a single BackupPlanBinding.",
844 "file": "BackupForGKEClient/GetBackupPlanBinding/main.go",
845 "language": "GO",
846 "clientMethod": {
847 "shortName": "GetBackupPlanBinding",
848 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupPlanBinding",
849 "parameters": [
850 {
851 "type": "context.Context",
852 "name": "ctx"
853 },
854 {
855 "type": "gkebackuppb.GetBackupPlanBindingRequest",
856 "name": "req"
857 },
858 {
859 "type": "...gax.CallOption",
860 "name": "opts"
861 }
862 ],
863 "resultType": "*gkebackuppb.BackupPlanBinding",
864 "client": {
865 "shortName": "BackupForGKEClient",
866 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
867 },
868 "method": {
869 "shortName": "GetBackupPlanBinding",
870 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupPlanBinding",
871 "service": {
872 "shortName": "BackupForGKE",
873 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
874 }
875 }
876 },
877 "origin": "API_DEFINITION",
878 "segments": [
879 {
880 "start": 18,
881 "end": 53,
882 "type": "FULL"
883 }
884 ]
885 },
886 {
887 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetIamPolicy_sync",
888 "title": "gkebackup GetIamPolicy Sample",
889 "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.",
890 "file": "BackupForGKEClient/GetIamPolicy/main.go",
891 "language": "GO",
892 "clientMethod": {
893 "shortName": "GetIamPolicy",
894 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetIamPolicy",
895 "parameters": [
896 {
897 "type": "context.Context",
898 "name": "ctx"
899 },
900 {
901 "type": "iampb.GetIamPolicyRequest",
902 "name": "req"
903 },
904 {
905 "type": "...gax.CallOption",
906 "name": "opts"
907 }
908 ],
909 "resultType": "*iampb.Policy",
910 "client": {
911 "shortName": "BackupForGKEClient",
912 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
913 },
914 "method": {
915 "shortName": "GetIamPolicy",
916 "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
917 "service": {
918 "shortName": "IAMPolicy",
919 "fullName": "google.iam.v1.IAMPolicy"
920 }
921 }
922 },
923 "origin": "API_DEFINITION",
924 "segments": [
925 {
926 "start": 18,
927 "end": 53,
928 "type": "FULL"
929 }
930 ]
931 },
932 {
933 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetLocation_sync",
934 "title": "gkebackup GetLocation Sample",
935 "description": "GetLocation gets information about a location.",
936 "file": "BackupForGKEClient/GetLocation/main.go",
937 "language": "GO",
938 "clientMethod": {
939 "shortName": "GetLocation",
940 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetLocation",
941 "parameters": [
942 {
943 "type": "context.Context",
944 "name": "ctx"
945 },
946 {
947 "type": "locationpb.GetLocationRequest",
948 "name": "req"
949 },
950 {
951 "type": "...gax.CallOption",
952 "name": "opts"
953 }
954 ],
955 "resultType": "*locationpb.Location",
956 "client": {
957 "shortName": "BackupForGKEClient",
958 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
959 },
960 "method": {
961 "shortName": "GetLocation",
962 "fullName": "google.cloud.location.Locations.GetLocation",
963 "service": {
964 "shortName": "Locations",
965 "fullName": "google.cloud.location.Locations"
966 }
967 }
968 },
969 "origin": "API_DEFINITION",
970 "segments": [
971 {
972 "start": 18,
973 "end": 53,
974 "type": "FULL"
975 }
976 ]
977 },
978 {
979 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetOperation_sync",
980 "title": "gkebackup GetOperation Sample",
981 "description": "GetOperation is a utility method from google.longrunning.Operations.",
982 "file": "BackupForGKEClient/GetOperation/main.go",
983 "language": "GO",
984 "clientMethod": {
985 "shortName": "GetOperation",
986 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetOperation",
987 "parameters": [
988 {
989 "type": "context.Context",
990 "name": "ctx"
991 },
992 {
993 "type": "longrunningpb.GetOperationRequest",
994 "name": "req"
995 },
996 {
997 "type": "...gax.CallOption",
998 "name": "opts"
999 }
1000 ],
1001 "resultType": "*longrunningpb.Operation",
1002 "client": {
1003 "shortName": "BackupForGKEClient",
1004 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1005 },
1006 "method": {
1007 "shortName": "GetOperation",
1008 "fullName": "google.longrunning.Operations.GetOperation",
1009 "service": {
1010 "shortName": "Operations",
1011 "fullName": "google.longrunning.Operations"
1012 }
1013 }
1014 },
1015 "origin": "API_DEFINITION",
1016 "segments": [
1017 {
1018 "start": 18,
1019 "end": 53,
1020 "type": "FULL"
1021 }
1022 ]
1023 },
1024 {
1025 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestore_sync",
1026 "title": "gkebackup GetRestore Sample",
1027 "description": "GetRestore retrieves the details of a single Restore.",
1028 "file": "BackupForGKEClient/GetRestore/main.go",
1029 "language": "GO",
1030 "clientMethod": {
1031 "shortName": "GetRestore",
1032 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestore",
1033 "parameters": [
1034 {
1035 "type": "context.Context",
1036 "name": "ctx"
1037 },
1038 {
1039 "type": "gkebackuppb.GetRestoreRequest",
1040 "name": "req"
1041 },
1042 {
1043 "type": "...gax.CallOption",
1044 "name": "opts"
1045 }
1046 ],
1047 "resultType": "*gkebackuppb.Restore",
1048 "client": {
1049 "shortName": "BackupForGKEClient",
1050 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1051 },
1052 "method": {
1053 "shortName": "GetRestore",
1054 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestore",
1055 "service": {
1056 "shortName": "BackupForGKE",
1057 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1058 }
1059 }
1060 },
1061 "origin": "API_DEFINITION",
1062 "segments": [
1063 {
1064 "start": 18,
1065 "end": 53,
1066 "type": "FULL"
1067 }
1068 ]
1069 },
1070 {
1071 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestoreChannel_sync",
1072 "title": "gkebackup GetRestoreChannel Sample",
1073 "description": "GetRestoreChannel retrieve the details of a single RestoreChannel.",
1074 "file": "BackupForGKEClient/GetRestoreChannel/main.go",
1075 "language": "GO",
1076 "clientMethod": {
1077 "shortName": "GetRestoreChannel",
1078 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestoreChannel",
1079 "parameters": [
1080 {
1081 "type": "context.Context",
1082 "name": "ctx"
1083 },
1084 {
1085 "type": "gkebackuppb.GetRestoreChannelRequest",
1086 "name": "req"
1087 },
1088 {
1089 "type": "...gax.CallOption",
1090 "name": "opts"
1091 }
1092 ],
1093 "resultType": "*gkebackuppb.RestoreChannel",
1094 "client": {
1095 "shortName": "BackupForGKEClient",
1096 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1097 },
1098 "method": {
1099 "shortName": "GetRestoreChannel",
1100 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestoreChannel",
1101 "service": {
1102 "shortName": "BackupForGKE",
1103 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1104 }
1105 }
1106 },
1107 "origin": "API_DEFINITION",
1108 "segments": [
1109 {
1110 "start": 18,
1111 "end": 53,
1112 "type": "FULL"
1113 }
1114 ]
1115 },
1116 {
1117 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestorePlan_sync",
1118 "title": "gkebackup GetRestorePlan Sample",
1119 "description": "GetRestorePlan retrieve the details of a single RestorePlan.",
1120 "file": "BackupForGKEClient/GetRestorePlan/main.go",
1121 "language": "GO",
1122 "clientMethod": {
1123 "shortName": "GetRestorePlan",
1124 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestorePlan",
1125 "parameters": [
1126 {
1127 "type": "context.Context",
1128 "name": "ctx"
1129 },
1130 {
1131 "type": "gkebackuppb.GetRestorePlanRequest",
1132 "name": "req"
1133 },
1134 {
1135 "type": "...gax.CallOption",
1136 "name": "opts"
1137 }
1138 ],
1139 "resultType": "*gkebackuppb.RestorePlan",
1140 "client": {
1141 "shortName": "BackupForGKEClient",
1142 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1143 },
1144 "method": {
1145 "shortName": "GetRestorePlan",
1146 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestorePlan",
1147 "service": {
1148 "shortName": "BackupForGKE",
1149 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1150 }
1151 }
1152 },
1153 "origin": "API_DEFINITION",
1154 "segments": [
1155 {
1156 "start": 18,
1157 "end": 53,
1158 "type": "FULL"
1159 }
1160 ]
1161 },
1162 {
1163 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestorePlanBinding_sync",
1164 "title": "gkebackup GetRestorePlanBinding Sample",
1165 "description": "GetRestorePlanBinding retrieve the details of a single RestorePlanBinding.",
1166 "file": "BackupForGKEClient/GetRestorePlanBinding/main.go",
1167 "language": "GO",
1168 "clientMethod": {
1169 "shortName": "GetRestorePlanBinding",
1170 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestorePlanBinding",
1171 "parameters": [
1172 {
1173 "type": "context.Context",
1174 "name": "ctx"
1175 },
1176 {
1177 "type": "gkebackuppb.GetRestorePlanBindingRequest",
1178 "name": "req"
1179 },
1180 {
1181 "type": "...gax.CallOption",
1182 "name": "opts"
1183 }
1184 ],
1185 "resultType": "*gkebackuppb.RestorePlanBinding",
1186 "client": {
1187 "shortName": "BackupForGKEClient",
1188 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1189 },
1190 "method": {
1191 "shortName": "GetRestorePlanBinding",
1192 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestorePlanBinding",
1193 "service": {
1194 "shortName": "BackupForGKE",
1195 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1196 }
1197 }
1198 },
1199 "origin": "API_DEFINITION",
1200 "segments": [
1201 {
1202 "start": 18,
1203 "end": 53,
1204 "type": "FULL"
1205 }
1206 ]
1207 },
1208 {
1209 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetVolumeBackup_sync",
1210 "title": "gkebackup GetVolumeBackup Sample",
1211 "description": "GetVolumeBackup retrieve the details of a single VolumeBackup.",
1212 "file": "BackupForGKEClient/GetVolumeBackup/main.go",
1213 "language": "GO",
1214 "clientMethod": {
1215 "shortName": "GetVolumeBackup",
1216 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetVolumeBackup",
1217 "parameters": [
1218 {
1219 "type": "context.Context",
1220 "name": "ctx"
1221 },
1222 {
1223 "type": "gkebackuppb.GetVolumeBackupRequest",
1224 "name": "req"
1225 },
1226 {
1227 "type": "...gax.CallOption",
1228 "name": "opts"
1229 }
1230 ],
1231 "resultType": "*gkebackuppb.VolumeBackup",
1232 "client": {
1233 "shortName": "BackupForGKEClient",
1234 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1235 },
1236 "method": {
1237 "shortName": "GetVolumeBackup",
1238 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetVolumeBackup",
1239 "service": {
1240 "shortName": "BackupForGKE",
1241 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1242 }
1243 }
1244 },
1245 "origin": "API_DEFINITION",
1246 "segments": [
1247 {
1248 "start": 18,
1249 "end": 53,
1250 "type": "FULL"
1251 }
1252 ]
1253 },
1254 {
1255 "regionTag": "gkebackup_v1_generated_BackupForGKE_GetVolumeRestore_sync",
1256 "title": "gkebackup GetVolumeRestore Sample",
1257 "description": "GetVolumeRestore retrieve the details of a single VolumeRestore.",
1258 "file": "BackupForGKEClient/GetVolumeRestore/main.go",
1259 "language": "GO",
1260 "clientMethod": {
1261 "shortName": "GetVolumeRestore",
1262 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetVolumeRestore",
1263 "parameters": [
1264 {
1265 "type": "context.Context",
1266 "name": "ctx"
1267 },
1268 {
1269 "type": "gkebackuppb.GetVolumeRestoreRequest",
1270 "name": "req"
1271 },
1272 {
1273 "type": "...gax.CallOption",
1274 "name": "opts"
1275 }
1276 ],
1277 "resultType": "*gkebackuppb.VolumeRestore",
1278 "client": {
1279 "shortName": "BackupForGKEClient",
1280 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1281 },
1282 "method": {
1283 "shortName": "GetVolumeRestore",
1284 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetVolumeRestore",
1285 "service": {
1286 "shortName": "BackupForGKE",
1287 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1288 }
1289 }
1290 },
1291 "origin": "API_DEFINITION",
1292 "segments": [
1293 {
1294 "start": 18,
1295 "end": 53,
1296 "type": "FULL"
1297 }
1298 ]
1299 },
1300 {
1301 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackupChannels_sync",
1302 "title": "gkebackup ListBackupChannels Sample",
1303 "description": "ListBackupChannels lists BackupChannels in a given location.",
1304 "file": "BackupForGKEClient/ListBackupChannels/main.go",
1305 "language": "GO",
1306 "clientMethod": {
1307 "shortName": "ListBackupChannels",
1308 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackupChannels",
1309 "parameters": [
1310 {
1311 "type": "context.Context",
1312 "name": "ctx"
1313 },
1314 {
1315 "type": "gkebackuppb.ListBackupChannelsRequest",
1316 "name": "req"
1317 },
1318 {
1319 "type": "...gax.CallOption",
1320 "name": "opts"
1321 }
1322 ],
1323 "resultType": "BackupChannelIterator",
1324 "client": {
1325 "shortName": "BackupForGKEClient",
1326 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1327 },
1328 "method": {
1329 "shortName": "ListBackupChannels",
1330 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupChannels",
1331 "service": {
1332 "shortName": "BackupForGKE",
1333 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1334 }
1335 }
1336 },
1337 "origin": "API_DEFINITION",
1338 "segments": [
1339 {
1340 "start": 18,
1341 "end": 66,
1342 "type": "FULL"
1343 }
1344 ]
1345 },
1346 {
1347 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackupPlanBindings_sync",
1348 "title": "gkebackup ListBackupPlanBindings Sample",
1349 "description": "ListBackupPlanBindings lists BackupPlanBindings in a given location.",
1350 "file": "BackupForGKEClient/ListBackupPlanBindings/main.go",
1351 "language": "GO",
1352 "clientMethod": {
1353 "shortName": "ListBackupPlanBindings",
1354 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackupPlanBindings",
1355 "parameters": [
1356 {
1357 "type": "context.Context",
1358 "name": "ctx"
1359 },
1360 {
1361 "type": "gkebackuppb.ListBackupPlanBindingsRequest",
1362 "name": "req"
1363 },
1364 {
1365 "type": "...gax.CallOption",
1366 "name": "opts"
1367 }
1368 ],
1369 "resultType": "BackupPlanBindingIterator",
1370 "client": {
1371 "shortName": "BackupForGKEClient",
1372 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1373 },
1374 "method": {
1375 "shortName": "ListBackupPlanBindings",
1376 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupPlanBindings",
1377 "service": {
1378 "shortName": "BackupForGKE",
1379 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1380 }
1381 }
1382 },
1383 "origin": "API_DEFINITION",
1384 "segments": [
1385 {
1386 "start": 18,
1387 "end": 66,
1388 "type": "FULL"
1389 }
1390 ]
1391 },
1392 {
1393 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackupPlans_sync",
1394 "title": "gkebackup ListBackupPlans Sample",
1395 "description": "ListBackupPlans lists BackupPlans in a given location.",
1396 "file": "BackupForGKEClient/ListBackupPlans/main.go",
1397 "language": "GO",
1398 "clientMethod": {
1399 "shortName": "ListBackupPlans",
1400 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackupPlans",
1401 "parameters": [
1402 {
1403 "type": "context.Context",
1404 "name": "ctx"
1405 },
1406 {
1407 "type": "gkebackuppb.ListBackupPlansRequest",
1408 "name": "req"
1409 },
1410 {
1411 "type": "...gax.CallOption",
1412 "name": "opts"
1413 }
1414 ],
1415 "resultType": "BackupPlanIterator",
1416 "client": {
1417 "shortName": "BackupForGKEClient",
1418 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1419 },
1420 "method": {
1421 "shortName": "ListBackupPlans",
1422 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupPlans",
1423 "service": {
1424 "shortName": "BackupForGKE",
1425 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1426 }
1427 }
1428 },
1429 "origin": "API_DEFINITION",
1430 "segments": [
1431 {
1432 "start": 18,
1433 "end": 66,
1434 "type": "FULL"
1435 }
1436 ]
1437 },
1438 {
1439 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackups_sync",
1440 "title": "gkebackup ListBackups Sample",
1441 "description": "ListBackups lists the Backups for a given BackupPlan.",
1442 "file": "BackupForGKEClient/ListBackups/main.go",
1443 "language": "GO",
1444 "clientMethod": {
1445 "shortName": "ListBackups",
1446 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackups",
1447 "parameters": [
1448 {
1449 "type": "context.Context",
1450 "name": "ctx"
1451 },
1452 {
1453 "type": "gkebackuppb.ListBackupsRequest",
1454 "name": "req"
1455 },
1456 {
1457 "type": "...gax.CallOption",
1458 "name": "opts"
1459 }
1460 ],
1461 "resultType": "BackupIterator",
1462 "client": {
1463 "shortName": "BackupForGKEClient",
1464 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1465 },
1466 "method": {
1467 "shortName": "ListBackups",
1468 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackups",
1469 "service": {
1470 "shortName": "BackupForGKE",
1471 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1472 }
1473 }
1474 },
1475 "origin": "API_DEFINITION",
1476 "segments": [
1477 {
1478 "start": 18,
1479 "end": 66,
1480 "type": "FULL"
1481 }
1482 ]
1483 },
1484 {
1485 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListLocations_sync",
1486 "title": "gkebackup ListLocations Sample",
1487 "description": "ListLocations lists information about the supported locations for this service.",
1488 "file": "BackupForGKEClient/ListLocations/main.go",
1489 "language": "GO",
1490 "clientMethod": {
1491 "shortName": "ListLocations",
1492 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListLocations",
1493 "parameters": [
1494 {
1495 "type": "context.Context",
1496 "name": "ctx"
1497 },
1498 {
1499 "type": "locationpb.ListLocationsRequest",
1500 "name": "req"
1501 },
1502 {
1503 "type": "...gax.CallOption",
1504 "name": "opts"
1505 }
1506 ],
1507 "resultType": "LocationIterator",
1508 "client": {
1509 "shortName": "BackupForGKEClient",
1510 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1511 },
1512 "method": {
1513 "shortName": "ListLocations",
1514 "fullName": "google.cloud.location.Locations.ListLocations",
1515 "service": {
1516 "shortName": "Locations",
1517 "fullName": "google.cloud.location.Locations"
1518 }
1519 }
1520 },
1521 "origin": "API_DEFINITION",
1522 "segments": [
1523 {
1524 "start": 18,
1525 "end": 66,
1526 "type": "FULL"
1527 }
1528 ]
1529 },
1530 {
1531 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListOperations_sync",
1532 "title": "gkebackup ListOperations Sample",
1533 "description": "ListOperations is a utility method from google.longrunning.Operations.",
1534 "file": "BackupForGKEClient/ListOperations/main.go",
1535 "language": "GO",
1536 "clientMethod": {
1537 "shortName": "ListOperations",
1538 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListOperations",
1539 "parameters": [
1540 {
1541 "type": "context.Context",
1542 "name": "ctx"
1543 },
1544 {
1545 "type": "longrunningpb.ListOperationsRequest",
1546 "name": "req"
1547 },
1548 {
1549 "type": "...gax.CallOption",
1550 "name": "opts"
1551 }
1552 ],
1553 "resultType": "OperationIterator",
1554 "client": {
1555 "shortName": "BackupForGKEClient",
1556 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1557 },
1558 "method": {
1559 "shortName": "ListOperations",
1560 "fullName": "google.longrunning.Operations.ListOperations",
1561 "service": {
1562 "shortName": "Operations",
1563 "fullName": "google.longrunning.Operations"
1564 }
1565 }
1566 },
1567 "origin": "API_DEFINITION",
1568 "segments": [
1569 {
1570 "start": 18,
1571 "end": 66,
1572 "type": "FULL"
1573 }
1574 ]
1575 },
1576 {
1577 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestoreChannels_sync",
1578 "title": "gkebackup ListRestoreChannels Sample",
1579 "description": "ListRestoreChannels lists RestoreChannels in a given location.",
1580 "file": "BackupForGKEClient/ListRestoreChannels/main.go",
1581 "language": "GO",
1582 "clientMethod": {
1583 "shortName": "ListRestoreChannels",
1584 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestoreChannels",
1585 "parameters": [
1586 {
1587 "type": "context.Context",
1588 "name": "ctx"
1589 },
1590 {
1591 "type": "gkebackuppb.ListRestoreChannelsRequest",
1592 "name": "req"
1593 },
1594 {
1595 "type": "...gax.CallOption",
1596 "name": "opts"
1597 }
1598 ],
1599 "resultType": "RestoreChannelIterator",
1600 "client": {
1601 "shortName": "BackupForGKEClient",
1602 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1603 },
1604 "method": {
1605 "shortName": "ListRestoreChannels",
1606 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestoreChannels",
1607 "service": {
1608 "shortName": "BackupForGKE",
1609 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1610 }
1611 }
1612 },
1613 "origin": "API_DEFINITION",
1614 "segments": [
1615 {
1616 "start": 18,
1617 "end": 66,
1618 "type": "FULL"
1619 }
1620 ]
1621 },
1622 {
1623 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestorePlanBindings_sync",
1624 "title": "gkebackup ListRestorePlanBindings Sample",
1625 "description": "ListRestorePlanBindings lists RestorePlanBindings in a given location.",
1626 "file": "BackupForGKEClient/ListRestorePlanBindings/main.go",
1627 "language": "GO",
1628 "clientMethod": {
1629 "shortName": "ListRestorePlanBindings",
1630 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestorePlanBindings",
1631 "parameters": [
1632 {
1633 "type": "context.Context",
1634 "name": "ctx"
1635 },
1636 {
1637 "type": "gkebackuppb.ListRestorePlanBindingsRequest",
1638 "name": "req"
1639 },
1640 {
1641 "type": "...gax.CallOption",
1642 "name": "opts"
1643 }
1644 ],
1645 "resultType": "RestorePlanBindingIterator",
1646 "client": {
1647 "shortName": "BackupForGKEClient",
1648 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1649 },
1650 "method": {
1651 "shortName": "ListRestorePlanBindings",
1652 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestorePlanBindings",
1653 "service": {
1654 "shortName": "BackupForGKE",
1655 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1656 }
1657 }
1658 },
1659 "origin": "API_DEFINITION",
1660 "segments": [
1661 {
1662 "start": 18,
1663 "end": 66,
1664 "type": "FULL"
1665 }
1666 ]
1667 },
1668 {
1669 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestorePlans_sync",
1670 "title": "gkebackup ListRestorePlans Sample",
1671 "description": "ListRestorePlans lists RestorePlans in a given location.",
1672 "file": "BackupForGKEClient/ListRestorePlans/main.go",
1673 "language": "GO",
1674 "clientMethod": {
1675 "shortName": "ListRestorePlans",
1676 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestorePlans",
1677 "parameters": [
1678 {
1679 "type": "context.Context",
1680 "name": "ctx"
1681 },
1682 {
1683 "type": "gkebackuppb.ListRestorePlansRequest",
1684 "name": "req"
1685 },
1686 {
1687 "type": "...gax.CallOption",
1688 "name": "opts"
1689 }
1690 ],
1691 "resultType": "RestorePlanIterator",
1692 "client": {
1693 "shortName": "BackupForGKEClient",
1694 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1695 },
1696 "method": {
1697 "shortName": "ListRestorePlans",
1698 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestorePlans",
1699 "service": {
1700 "shortName": "BackupForGKE",
1701 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1702 }
1703 }
1704 },
1705 "origin": "API_DEFINITION",
1706 "segments": [
1707 {
1708 "start": 18,
1709 "end": 66,
1710 "type": "FULL"
1711 }
1712 ]
1713 },
1714 {
1715 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestores_sync",
1716 "title": "gkebackup ListRestores Sample",
1717 "description": "ListRestores lists the Restores for a given RestorePlan.",
1718 "file": "BackupForGKEClient/ListRestores/main.go",
1719 "language": "GO",
1720 "clientMethod": {
1721 "shortName": "ListRestores",
1722 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestores",
1723 "parameters": [
1724 {
1725 "type": "context.Context",
1726 "name": "ctx"
1727 },
1728 {
1729 "type": "gkebackuppb.ListRestoresRequest",
1730 "name": "req"
1731 },
1732 {
1733 "type": "...gax.CallOption",
1734 "name": "opts"
1735 }
1736 ],
1737 "resultType": "RestoreIterator",
1738 "client": {
1739 "shortName": "BackupForGKEClient",
1740 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1741 },
1742 "method": {
1743 "shortName": "ListRestores",
1744 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestores",
1745 "service": {
1746 "shortName": "BackupForGKE",
1747 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1748 }
1749 }
1750 },
1751 "origin": "API_DEFINITION",
1752 "segments": [
1753 {
1754 "start": 18,
1755 "end": 66,
1756 "type": "FULL"
1757 }
1758 ]
1759 },
1760 {
1761 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListVolumeBackups_sync",
1762 "title": "gkebackup ListVolumeBackups Sample",
1763 "description": "ListVolumeBackups lists the VolumeBackups for a given Backup.",
1764 "file": "BackupForGKEClient/ListVolumeBackups/main.go",
1765 "language": "GO",
1766 "clientMethod": {
1767 "shortName": "ListVolumeBackups",
1768 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListVolumeBackups",
1769 "parameters": [
1770 {
1771 "type": "context.Context",
1772 "name": "ctx"
1773 },
1774 {
1775 "type": "gkebackuppb.ListVolumeBackupsRequest",
1776 "name": "req"
1777 },
1778 {
1779 "type": "...gax.CallOption",
1780 "name": "opts"
1781 }
1782 ],
1783 "resultType": "VolumeBackupIterator",
1784 "client": {
1785 "shortName": "BackupForGKEClient",
1786 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1787 },
1788 "method": {
1789 "shortName": "ListVolumeBackups",
1790 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListVolumeBackups",
1791 "service": {
1792 "shortName": "BackupForGKE",
1793 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1794 }
1795 }
1796 },
1797 "origin": "API_DEFINITION",
1798 "segments": [
1799 {
1800 "start": 18,
1801 "end": 66,
1802 "type": "FULL"
1803 }
1804 ]
1805 },
1806 {
1807 "regionTag": "gkebackup_v1_generated_BackupForGKE_ListVolumeRestores_sync",
1808 "title": "gkebackup ListVolumeRestores Sample",
1809 "description": "ListVolumeRestores lists the VolumeRestores for a given Restore.",
1810 "file": "BackupForGKEClient/ListVolumeRestores/main.go",
1811 "language": "GO",
1812 "clientMethod": {
1813 "shortName": "ListVolumeRestores",
1814 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListVolumeRestores",
1815 "parameters": [
1816 {
1817 "type": "context.Context",
1818 "name": "ctx"
1819 },
1820 {
1821 "type": "gkebackuppb.ListVolumeRestoresRequest",
1822 "name": "req"
1823 },
1824 {
1825 "type": "...gax.CallOption",
1826 "name": "opts"
1827 }
1828 ],
1829 "resultType": "VolumeRestoreIterator",
1830 "client": {
1831 "shortName": "BackupForGKEClient",
1832 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1833 },
1834 "method": {
1835 "shortName": "ListVolumeRestores",
1836 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListVolumeRestores",
1837 "service": {
1838 "shortName": "BackupForGKE",
1839 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1840 }
1841 }
1842 },
1843 "origin": "API_DEFINITION",
1844 "segments": [
1845 {
1846 "start": 18,
1847 "end": 66,
1848 "type": "FULL"
1849 }
1850 ]
1851 },
1852 {
1853 "regionTag": "gkebackup_v1_generated_BackupForGKE_SetIamPolicy_sync",
1854 "title": "gkebackup SetIamPolicy Sample",
1855 "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.",
1856 "file": "BackupForGKEClient/SetIamPolicy/main.go",
1857 "language": "GO",
1858 "clientMethod": {
1859 "shortName": "SetIamPolicy",
1860 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.SetIamPolicy",
1861 "parameters": [
1862 {
1863 "type": "context.Context",
1864 "name": "ctx"
1865 },
1866 {
1867 "type": "iampb.SetIamPolicyRequest",
1868 "name": "req"
1869 },
1870 {
1871 "type": "...gax.CallOption",
1872 "name": "opts"
1873 }
1874 ],
1875 "resultType": "*iampb.Policy",
1876 "client": {
1877 "shortName": "BackupForGKEClient",
1878 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1879 },
1880 "method": {
1881 "shortName": "SetIamPolicy",
1882 "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
1883 "service": {
1884 "shortName": "IAMPolicy",
1885 "fullName": "google.iam.v1.IAMPolicy"
1886 }
1887 }
1888 },
1889 "origin": "API_DEFINITION",
1890 "segments": [
1891 {
1892 "start": 18,
1893 "end": 53,
1894 "type": "FULL"
1895 }
1896 ]
1897 },
1898 {
1899 "regionTag": "gkebackup_v1_generated_BackupForGKE_TestIamPermissions_sync",
1900 "title": "gkebackup TestIamPermissions Sample",
1901 "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.",
1902 "file": "BackupForGKEClient/TestIamPermissions/main.go",
1903 "language": "GO",
1904 "clientMethod": {
1905 "shortName": "TestIamPermissions",
1906 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.TestIamPermissions",
1907 "parameters": [
1908 {
1909 "type": "context.Context",
1910 "name": "ctx"
1911 },
1912 {
1913 "type": "iampb.TestIamPermissionsRequest",
1914 "name": "req"
1915 },
1916 {
1917 "type": "...gax.CallOption",
1918 "name": "opts"
1919 }
1920 ],
1921 "resultType": "*iampb.TestIamPermissionsResponse",
1922 "client": {
1923 "shortName": "BackupForGKEClient",
1924 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1925 },
1926 "method": {
1927 "shortName": "TestIamPermissions",
1928 "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
1929 "service": {
1930 "shortName": "IAMPolicy",
1931 "fullName": "google.iam.v1.IAMPolicy"
1932 }
1933 }
1934 },
1935 "origin": "API_DEFINITION",
1936 "segments": [
1937 {
1938 "start": 18,
1939 "end": 53,
1940 "type": "FULL"
1941 }
1942 ]
1943 },
1944 {
1945 "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateBackup_sync",
1946 "title": "gkebackup UpdateBackup Sample",
1947 "description": "UpdateBackup update a Backup.",
1948 "file": "BackupForGKEClient/UpdateBackup/main.go",
1949 "language": "GO",
1950 "clientMethod": {
1951 "shortName": "UpdateBackup",
1952 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateBackup",
1953 "parameters": [
1954 {
1955 "type": "context.Context",
1956 "name": "ctx"
1957 },
1958 {
1959 "type": "gkebackuppb.UpdateBackupRequest",
1960 "name": "req"
1961 },
1962 {
1963 "type": "...gax.CallOption",
1964 "name": "opts"
1965 }
1966 ],
1967 "resultType": "UpdateBackupOperation",
1968 "client": {
1969 "shortName": "BackupForGKEClient",
1970 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
1971 },
1972 "method": {
1973 "shortName": "UpdateBackup",
1974 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackup",
1975 "service": {
1976 "shortName": "BackupForGKE",
1977 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
1978 }
1979 }
1980 },
1981 "origin": "API_DEFINITION",
1982 "segments": [
1983 {
1984 "start": 18,
1985 "end": 58,
1986 "type": "FULL"
1987 }
1988 ]
1989 },
1990 {
1991 "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateBackupChannel_sync",
1992 "title": "gkebackup UpdateBackupChannel Sample",
1993 "description": "UpdateBackupChannel update a BackupChannel.",
1994 "file": "BackupForGKEClient/UpdateBackupChannel/main.go",
1995 "language": "GO",
1996 "clientMethod": {
1997 "shortName": "UpdateBackupChannel",
1998 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateBackupChannel",
1999 "parameters": [
2000 {
2001 "type": "context.Context",
2002 "name": "ctx"
2003 },
2004 {
2005 "type": "gkebackuppb.UpdateBackupChannelRequest",
2006 "name": "req"
2007 },
2008 {
2009 "type": "...gax.CallOption",
2010 "name": "opts"
2011 }
2012 ],
2013 "resultType": "UpdateBackupChannelOperation",
2014 "client": {
2015 "shortName": "BackupForGKEClient",
2016 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
2017 },
2018 "method": {
2019 "shortName": "UpdateBackupChannel",
2020 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackupChannel",
2021 "service": {
2022 "shortName": "BackupForGKE",
2023 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
2024 }
2025 }
2026 },
2027 "origin": "API_DEFINITION",
2028 "segments": [
2029 {
2030 "start": 18,
2031 "end": 58,
2032 "type": "FULL"
2033 }
2034 ]
2035 },
2036 {
2037 "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateBackupPlan_sync",
2038 "title": "gkebackup UpdateBackupPlan Sample",
2039 "description": "UpdateBackupPlan update a BackupPlan.",
2040 "file": "BackupForGKEClient/UpdateBackupPlan/main.go",
2041 "language": "GO",
2042 "clientMethod": {
2043 "shortName": "UpdateBackupPlan",
2044 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateBackupPlan",
2045 "parameters": [
2046 {
2047 "type": "context.Context",
2048 "name": "ctx"
2049 },
2050 {
2051 "type": "gkebackuppb.UpdateBackupPlanRequest",
2052 "name": "req"
2053 },
2054 {
2055 "type": "...gax.CallOption",
2056 "name": "opts"
2057 }
2058 ],
2059 "resultType": "UpdateBackupPlanOperation",
2060 "client": {
2061 "shortName": "BackupForGKEClient",
2062 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
2063 },
2064 "method": {
2065 "shortName": "UpdateBackupPlan",
2066 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackupPlan",
2067 "service": {
2068 "shortName": "BackupForGKE",
2069 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
2070 }
2071 }
2072 },
2073 "origin": "API_DEFINITION",
2074 "segments": [
2075 {
2076 "start": 18,
2077 "end": 58,
2078 "type": "FULL"
2079 }
2080 ]
2081 },
2082 {
2083 "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateRestore_sync",
2084 "title": "gkebackup UpdateRestore Sample",
2085 "description": "UpdateRestore update a Restore.",
2086 "file": "BackupForGKEClient/UpdateRestore/main.go",
2087 "language": "GO",
2088 "clientMethod": {
2089 "shortName": "UpdateRestore",
2090 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateRestore",
2091 "parameters": [
2092 {
2093 "type": "context.Context",
2094 "name": "ctx"
2095 },
2096 {
2097 "type": "gkebackuppb.UpdateRestoreRequest",
2098 "name": "req"
2099 },
2100 {
2101 "type": "...gax.CallOption",
2102 "name": "opts"
2103 }
2104 ],
2105 "resultType": "UpdateRestoreOperation",
2106 "client": {
2107 "shortName": "BackupForGKEClient",
2108 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
2109 },
2110 "method": {
2111 "shortName": "UpdateRestore",
2112 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestore",
2113 "service": {
2114 "shortName": "BackupForGKE",
2115 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
2116 }
2117 }
2118 },
2119 "origin": "API_DEFINITION",
2120 "segments": [
2121 {
2122 "start": 18,
2123 "end": 58,
2124 "type": "FULL"
2125 }
2126 ]
2127 },
2128 {
2129 "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateRestoreChannel_sync",
2130 "title": "gkebackup UpdateRestoreChannel Sample",
2131 "description": "UpdateRestoreChannel update a RestoreChannel.",
2132 "file": "BackupForGKEClient/UpdateRestoreChannel/main.go",
2133 "language": "GO",
2134 "clientMethod": {
2135 "shortName": "UpdateRestoreChannel",
2136 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateRestoreChannel",
2137 "parameters": [
2138 {
2139 "type": "context.Context",
2140 "name": "ctx"
2141 },
2142 {
2143 "type": "gkebackuppb.UpdateRestoreChannelRequest",
2144 "name": "req"
2145 },
2146 {
2147 "type": "...gax.CallOption",
2148 "name": "opts"
2149 }
2150 ],
2151 "resultType": "UpdateRestoreChannelOperation",
2152 "client": {
2153 "shortName": "BackupForGKEClient",
2154 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
2155 },
2156 "method": {
2157 "shortName": "UpdateRestoreChannel",
2158 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestoreChannel",
2159 "service": {
2160 "shortName": "BackupForGKE",
2161 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
2162 }
2163 }
2164 },
2165 "origin": "API_DEFINITION",
2166 "segments": [
2167 {
2168 "start": 18,
2169 "end": 58,
2170 "type": "FULL"
2171 }
2172 ]
2173 },
2174 {
2175 "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateRestorePlan_sync",
2176 "title": "gkebackup UpdateRestorePlan Sample",
2177 "description": "UpdateRestorePlan update a RestorePlan.",
2178 "file": "BackupForGKEClient/UpdateRestorePlan/main.go",
2179 "language": "GO",
2180 "clientMethod": {
2181 "shortName": "UpdateRestorePlan",
2182 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateRestorePlan",
2183 "parameters": [
2184 {
2185 "type": "context.Context",
2186 "name": "ctx"
2187 },
2188 {
2189 "type": "gkebackuppb.UpdateRestorePlanRequest",
2190 "name": "req"
2191 },
2192 {
2193 "type": "...gax.CallOption",
2194 "name": "opts"
2195 }
2196 ],
2197 "resultType": "UpdateRestorePlanOperation",
2198 "client": {
2199 "shortName": "BackupForGKEClient",
2200 "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient"
2201 },
2202 "method": {
2203 "shortName": "UpdateRestorePlan",
2204 "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestorePlan",
2205 "service": {
2206 "shortName": "BackupForGKE",
2207 "fullName": "google.cloud.gkebackup.v1.BackupForGKE"
2208 }
2209 }
2210 },
2211 "origin": "API_DEFINITION",
2212 "segments": [
2213 {
2214 "start": 18,
2215 "end": 58,
2216 "type": "FULL"
2217 }
2218 ]
2219 }
2220 ]
2221 }