Debian Codegraph @

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

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/filestore/apiv1",
4 "version": "1.10.2",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.filestore.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "file_v1_generated_CloudFilestoreManager_CancelOperation_sync",
16 "title": "file CancelOperation Sample",
17 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
18 "file": "CloudFilestoreManagerClient/CancelOperation/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CancelOperation",
22 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.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": "CloudFilestoreManagerClient",
39 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
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": "file_v1_generated_CloudFilestoreManager_CreateBackup_sync",
61 "title": "file CreateBackup Sample",
62 "description": "CreateBackup creates a backup.",
63 "file": "CloudFilestoreManagerClient/CreateBackup/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "CreateBackup",
67 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.CreateBackup",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "filestorepb.CreateBackupRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "CreateBackupOperation",
83 "client": {
84 "shortName": "CloudFilestoreManagerClient",
85 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
86 },
87 "method": {
88 "shortName": "CreateBackup",
89 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateBackup",
90 "service": {
91 "shortName": "CloudFilestoreManager",
92 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
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": "file_v1_generated_CloudFilestoreManager_CreateInstance_sync",
107 "title": "file CreateInstance Sample",
108 "description": "CreateInstance creates an instance.\nWhen creating from a backup, the capacity of the new instance needs to be\nequal to or larger than the capacity of the backup (and also equal to or\nlarger than the minimum capacity of the tier).",
109 "file": "CloudFilestoreManagerClient/CreateInstance/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "CreateInstance",
113 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.CreateInstance",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "filestorepb.CreateInstanceRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "CreateInstanceOperation",
129 "client": {
130 "shortName": "CloudFilestoreManagerClient",
131 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
132 },
133 "method": {
134 "shortName": "CreateInstance",
135 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateInstance",
136 "service": {
137 "shortName": "CloudFilestoreManager",
138 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
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": "file_v1_generated_CloudFilestoreManager_CreateSnapshot_sync",
153 "title": "file CreateSnapshot Sample",
154 "description": "CreateSnapshot creates a snapshot.",
155 "file": "CloudFilestoreManagerClient/CreateSnapshot/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "CreateSnapshot",
159 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.CreateSnapshot",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "filestorepb.CreateSnapshotRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "CreateSnapshotOperation",
175 "client": {
176 "shortName": "CloudFilestoreManagerClient",
177 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
178 },
179 "method": {
180 "shortName": "CreateSnapshot",
181 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateSnapshot",
182 "service": {
183 "shortName": "CloudFilestoreManager",
184 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
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": "file_v1_generated_CloudFilestoreManager_DeleteBackup_sync",
199 "title": "file DeleteBackup Sample",
200 "description": "DeleteBackup deletes a backup.",
201 "file": "CloudFilestoreManagerClient/DeleteBackup/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "DeleteBackup",
205 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.DeleteBackup",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "filestorepb.DeleteBackupRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "DeleteBackupOperation",
221 "client": {
222 "shortName": "CloudFilestoreManagerClient",
223 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
224 },
225 "method": {
226 "shortName": "DeleteBackup",
227 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteBackup",
228 "service": {
229 "shortName": "CloudFilestoreManager",
230 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
231 }
232 }
233 },
234 "origin": "API_DEFINITION",
235 "segments": [
236 {
237 "start": 18,
238 "end": 56,
239 "type": "FULL"
240 }
241 ]
242 },
243 {
244 "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteInstance_sync",
245 "title": "file DeleteInstance Sample",
246 "description": "DeleteInstance deletes an instance.",
247 "file": "CloudFilestoreManagerClient/DeleteInstance/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "DeleteInstance",
251 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.DeleteInstance",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "filestorepb.DeleteInstanceRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "resultType": "DeleteInstanceOperation",
267 "client": {
268 "shortName": "CloudFilestoreManagerClient",
269 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
270 },
271 "method": {
272 "shortName": "DeleteInstance",
273 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstance",
274 "service": {
275 "shortName": "CloudFilestoreManager",
276 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
277 }
278 }
279 },
280 "origin": "API_DEFINITION",
281 "segments": [
282 {
283 "start": 18,
284 "end": 56,
285 "type": "FULL"
286 }
287 ]
288 },
289 {
290 "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteOperation_sync",
291 "title": "file DeleteOperation Sample",
292 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
293 "file": "CloudFilestoreManagerClient/DeleteOperation/main.go",
294 "language": "GO",
295 "clientMethod": {
296 "shortName": "DeleteOperation",
297 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.DeleteOperation",
298 "parameters": [
299 {
300 "type": "context.Context",
301 "name": "ctx"
302 },
303 {
304 "type": "longrunningpb.DeleteOperationRequest",
305 "name": "req"
306 },
307 {
308 "type": "...gax.CallOption",
309 "name": "opts"
310 }
311 ],
312 "client": {
313 "shortName": "CloudFilestoreManagerClient",
314 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
315 },
316 "method": {
317 "shortName": "DeleteOperation",
318 "fullName": "google.longrunning.Operations.DeleteOperation",
319 "service": {
320 "shortName": "Operations",
321 "fullName": "google.longrunning.Operations"
322 }
323 }
324 },
325 "origin": "API_DEFINITION",
326 "segments": [
327 {
328 "start": 18,
329 "end": 51,
330 "type": "FULL"
331 }
332 ]
333 },
334 {
335 "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteSnapshot_sync",
336 "title": "file DeleteSnapshot Sample",
337 "description": "DeleteSnapshot deletes a snapshot.",
338 "file": "CloudFilestoreManagerClient/DeleteSnapshot/main.go",
339 "language": "GO",
340 "clientMethod": {
341 "shortName": "DeleteSnapshot",
342 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.DeleteSnapshot",
343 "parameters": [
344 {
345 "type": "context.Context",
346 "name": "ctx"
347 },
348 {
349 "type": "filestorepb.DeleteSnapshotRequest",
350 "name": "req"
351 },
352 {
353 "type": "...gax.CallOption",
354 "name": "opts"
355 }
356 ],
357 "resultType": "DeleteSnapshotOperation",
358 "client": {
359 "shortName": "CloudFilestoreManagerClient",
360 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
361 },
362 "method": {
363 "shortName": "DeleteSnapshot",
364 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteSnapshot",
365 "service": {
366 "shortName": "CloudFilestoreManager",
367 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
368 }
369 }
370 },
371 "origin": "API_DEFINITION",
372 "segments": [
373 {
374 "start": 18,
375 "end": 56,
376 "type": "FULL"
377 }
378 ]
379 },
380 {
381 "regionTag": "file_v1_generated_CloudFilestoreManager_GetBackup_sync",
382 "title": "file GetBackup Sample",
383 "description": "GetBackup gets the details of a specific backup.",
384 "file": "CloudFilestoreManagerClient/GetBackup/main.go",
385 "language": "GO",
386 "clientMethod": {
387 "shortName": "GetBackup",
388 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.GetBackup",
389 "parameters": [
390 {
391 "type": "context.Context",
392 "name": "ctx"
393 },
394 {
395 "type": "filestorepb.GetBackupRequest",
396 "name": "req"
397 },
398 {
399 "type": "...gax.CallOption",
400 "name": "opts"
401 }
402 ],
403 "resultType": "*filestorepb.Backup",
404 "client": {
405 "shortName": "CloudFilestoreManagerClient",
406 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
407 },
408 "method": {
409 "shortName": "GetBackup",
410 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetBackup",
411 "service": {
412 "shortName": "CloudFilestoreManager",
413 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
414 }
415 }
416 },
417 "origin": "API_DEFINITION",
418 "segments": [
419 {
420 "start": 18,
421 "end": 53,
422 "type": "FULL"
423 }
424 ]
425 },
426 {
427 "regionTag": "file_v1_generated_CloudFilestoreManager_GetInstance_sync",
428 "title": "file GetInstance Sample",
429 "description": "GetInstance gets the details of a specific instance.",
430 "file": "CloudFilestoreManagerClient/GetInstance/main.go",
431 "language": "GO",
432 "clientMethod": {
433 "shortName": "GetInstance",
434 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.GetInstance",
435 "parameters": [
436 {
437 "type": "context.Context",
438 "name": "ctx"
439 },
440 {
441 "type": "filestorepb.GetInstanceRequest",
442 "name": "req"
443 },
444 {
445 "type": "...gax.CallOption",
446 "name": "opts"
447 }
448 ],
449 "resultType": "*filestorepb.Instance",
450 "client": {
451 "shortName": "CloudFilestoreManagerClient",
452 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
453 },
454 "method": {
455 "shortName": "GetInstance",
456 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetInstance",
457 "service": {
458 "shortName": "CloudFilestoreManager",
459 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
460 }
461 }
462 },
463 "origin": "API_DEFINITION",
464 "segments": [
465 {
466 "start": 18,
467 "end": 53,
468 "type": "FULL"
469 }
470 ]
471 },
472 {
473 "regionTag": "file_v1_generated_CloudFilestoreManager_GetLocation_sync",
474 "title": "file GetLocation Sample",
475 "description": "GetLocation gets information about a location.",
476 "file": "CloudFilestoreManagerClient/GetLocation/main.go",
477 "language": "GO",
478 "clientMethod": {
479 "shortName": "GetLocation",
480 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.GetLocation",
481 "parameters": [
482 {
483 "type": "context.Context",
484 "name": "ctx"
485 },
486 {
487 "type": "locationpb.GetLocationRequest",
488 "name": "req"
489 },
490 {
491 "type": "...gax.CallOption",
492 "name": "opts"
493 }
494 ],
495 "resultType": "*locationpb.Location",
496 "client": {
497 "shortName": "CloudFilestoreManagerClient",
498 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
499 },
500 "method": {
501 "shortName": "GetLocation",
502 "fullName": "google.cloud.location.Locations.GetLocation",
503 "service": {
504 "shortName": "Locations",
505 "fullName": "google.cloud.location.Locations"
506 }
507 }
508 },
509 "origin": "API_DEFINITION",
510 "segments": [
511 {
512 "start": 18,
513 "end": 53,
514 "type": "FULL"
515 }
516 ]
517 },
518 {
519 "regionTag": "file_v1_generated_CloudFilestoreManager_GetOperation_sync",
520 "title": "file GetOperation Sample",
521 "description": "GetOperation is a utility method from google.longrunning.Operations.",
522 "file": "CloudFilestoreManagerClient/GetOperation/main.go",
523 "language": "GO",
524 "clientMethod": {
525 "shortName": "GetOperation",
526 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.GetOperation",
527 "parameters": [
528 {
529 "type": "context.Context",
530 "name": "ctx"
531 },
532 {
533 "type": "longrunningpb.GetOperationRequest",
534 "name": "req"
535 },
536 {
537 "type": "...gax.CallOption",
538 "name": "opts"
539 }
540 ],
541 "resultType": "*longrunningpb.Operation",
542 "client": {
543 "shortName": "CloudFilestoreManagerClient",
544 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
545 },
546 "method": {
547 "shortName": "GetOperation",
548 "fullName": "google.longrunning.Operations.GetOperation",
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": 53,
560 "type": "FULL"
561 }
562 ]
563 },
564 {
565 "regionTag": "file_v1_generated_CloudFilestoreManager_GetSnapshot_sync",
566 "title": "file GetSnapshot Sample",
567 "description": "GetSnapshot gets the details of a specific snapshot.",
568 "file": "CloudFilestoreManagerClient/GetSnapshot/main.go",
569 "language": "GO",
570 "clientMethod": {
571 "shortName": "GetSnapshot",
572 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.GetSnapshot",
573 "parameters": [
574 {
575 "type": "context.Context",
576 "name": "ctx"
577 },
578 {
579 "type": "filestorepb.GetSnapshotRequest",
580 "name": "req"
581 },
582 {
583 "type": "...gax.CallOption",
584 "name": "opts"
585 }
586 ],
587 "resultType": "*filestorepb.Snapshot",
588 "client": {
589 "shortName": "CloudFilestoreManagerClient",
590 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
591 },
592 "method": {
593 "shortName": "GetSnapshot",
594 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetSnapshot",
595 "service": {
596 "shortName": "CloudFilestoreManager",
597 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
598 }
599 }
600 },
601 "origin": "API_DEFINITION",
602 "segments": [
603 {
604 "start": 18,
605 "end": 53,
606 "type": "FULL"
607 }
608 ]
609 },
610 {
611 "regionTag": "file_v1_generated_CloudFilestoreManager_ListBackups_sync",
612 "title": "file ListBackups Sample",
613 "description": "ListBackups lists all backups in a project for either a specified location or for all\nlocations.",
614 "file": "CloudFilestoreManagerClient/ListBackups/main.go",
615 "language": "GO",
616 "clientMethod": {
617 "shortName": "ListBackups",
618 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.ListBackups",
619 "parameters": [
620 {
621 "type": "context.Context",
622 "name": "ctx"
623 },
624 {
625 "type": "filestorepb.ListBackupsRequest",
626 "name": "req"
627 },
628 {
629 "type": "...gax.CallOption",
630 "name": "opts"
631 }
632 ],
633 "resultType": "BackupIterator",
634 "client": {
635 "shortName": "CloudFilestoreManagerClient",
636 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
637 },
638 "method": {
639 "shortName": "ListBackups",
640 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListBackups",
641 "service": {
642 "shortName": "CloudFilestoreManager",
643 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
644 }
645 }
646 },
647 "origin": "API_DEFINITION",
648 "segments": [
649 {
650 "start": 18,
651 "end": 66,
652 "type": "FULL"
653 }
654 ]
655 },
656 {
657 "regionTag": "file_v1_generated_CloudFilestoreManager_ListInstances_sync",
658 "title": "file ListInstances Sample",
659 "description": "ListInstances lists all instances in a project for either a specified location\nor for all locations.",
660 "file": "CloudFilestoreManagerClient/ListInstances/main.go",
661 "language": "GO",
662 "clientMethod": {
663 "shortName": "ListInstances",
664 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.ListInstances",
665 "parameters": [
666 {
667 "type": "context.Context",
668 "name": "ctx"
669 },
670 {
671 "type": "filestorepb.ListInstancesRequest",
672 "name": "req"
673 },
674 {
675 "type": "...gax.CallOption",
676 "name": "opts"
677 }
678 ],
679 "resultType": "InstanceIterator",
680 "client": {
681 "shortName": "CloudFilestoreManagerClient",
682 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
683 },
684 "method": {
685 "shortName": "ListInstances",
686 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListInstances",
687 "service": {
688 "shortName": "CloudFilestoreManager",
689 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
690 }
691 }
692 },
693 "origin": "API_DEFINITION",
694 "segments": [
695 {
696 "start": 18,
697 "end": 66,
698 "type": "FULL"
699 }
700 ]
701 },
702 {
703 "regionTag": "file_v1_generated_CloudFilestoreManager_ListLocations_sync",
704 "title": "file ListLocations Sample",
705 "description": "ListLocations lists information about the supported locations for this service.",
706 "file": "CloudFilestoreManagerClient/ListLocations/main.go",
707 "language": "GO",
708 "clientMethod": {
709 "shortName": "ListLocations",
710 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.ListLocations",
711 "parameters": [
712 {
713 "type": "context.Context",
714 "name": "ctx"
715 },
716 {
717 "type": "locationpb.ListLocationsRequest",
718 "name": "req"
719 },
720 {
721 "type": "...gax.CallOption",
722 "name": "opts"
723 }
724 ],
725 "resultType": "LocationIterator",
726 "client": {
727 "shortName": "CloudFilestoreManagerClient",
728 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
729 },
730 "method": {
731 "shortName": "ListLocations",
732 "fullName": "google.cloud.location.Locations.ListLocations",
733 "service": {
734 "shortName": "Locations",
735 "fullName": "google.cloud.location.Locations"
736 }
737 }
738 },
739 "origin": "API_DEFINITION",
740 "segments": [
741 {
742 "start": 18,
743 "end": 66,
744 "type": "FULL"
745 }
746 ]
747 },
748 {
749 "regionTag": "file_v1_generated_CloudFilestoreManager_ListOperations_sync",
750 "title": "file ListOperations Sample",
751 "description": "ListOperations is a utility method from google.longrunning.Operations.",
752 "file": "CloudFilestoreManagerClient/ListOperations/main.go",
753 "language": "GO",
754 "clientMethod": {
755 "shortName": "ListOperations",
756 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.ListOperations",
757 "parameters": [
758 {
759 "type": "context.Context",
760 "name": "ctx"
761 },
762 {
763 "type": "longrunningpb.ListOperationsRequest",
764 "name": "req"
765 },
766 {
767 "type": "...gax.CallOption",
768 "name": "opts"
769 }
770 ],
771 "resultType": "OperationIterator",
772 "client": {
773 "shortName": "CloudFilestoreManagerClient",
774 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
775 },
776 "method": {
777 "shortName": "ListOperations",
778 "fullName": "google.longrunning.Operations.ListOperations",
779 "service": {
780 "shortName": "Operations",
781 "fullName": "google.longrunning.Operations"
782 }
783 }
784 },
785 "origin": "API_DEFINITION",
786 "segments": [
787 {
788 "start": 18,
789 "end": 66,
790 "type": "FULL"
791 }
792 ]
793 },
794 {
795 "regionTag": "file_v1_generated_CloudFilestoreManager_ListSnapshots_sync",
796 "title": "file ListSnapshots Sample",
797 "description": "ListSnapshots lists all snapshots in a project for either a specified location\nor for all locations.",
798 "file": "CloudFilestoreManagerClient/ListSnapshots/main.go",
799 "language": "GO",
800 "clientMethod": {
801 "shortName": "ListSnapshots",
802 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.ListSnapshots",
803 "parameters": [
804 {
805 "type": "context.Context",
806 "name": "ctx"
807 },
808 {
809 "type": "filestorepb.ListSnapshotsRequest",
810 "name": "req"
811 },
812 {
813 "type": "...gax.CallOption",
814 "name": "opts"
815 }
816 ],
817 "resultType": "SnapshotIterator",
818 "client": {
819 "shortName": "CloudFilestoreManagerClient",
820 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
821 },
822 "method": {
823 "shortName": "ListSnapshots",
824 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListSnapshots",
825 "service": {
826 "shortName": "CloudFilestoreManager",
827 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
828 }
829 }
830 },
831 "origin": "API_DEFINITION",
832 "segments": [
833 {
834 "start": 18,
835 "end": 66,
836 "type": "FULL"
837 }
838 ]
839 },
840 {
841 "regionTag": "file_v1_generated_CloudFilestoreManager_PromoteReplica_sync",
842 "title": "file PromoteReplica Sample",
843 "description": "PromoteReplica promote the standby instance (replica).",
844 "file": "CloudFilestoreManagerClient/PromoteReplica/main.go",
845 "language": "GO",
846 "clientMethod": {
847 "shortName": "PromoteReplica",
848 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.PromoteReplica",
849 "parameters": [
850 {
851 "type": "context.Context",
852 "name": "ctx"
853 },
854 {
855 "type": "filestorepb.PromoteReplicaRequest",
856 "name": "req"
857 },
858 {
859 "type": "...gax.CallOption",
860 "name": "opts"
861 }
862 ],
863 "resultType": "PromoteReplicaOperation",
864 "client": {
865 "shortName": "CloudFilestoreManagerClient",
866 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
867 },
868 "method": {
869 "shortName": "PromoteReplica",
870 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.PromoteReplica",
871 "service": {
872 "shortName": "CloudFilestoreManager",
873 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
874 }
875 }
876 },
877 "origin": "API_DEFINITION",
878 "segments": [
879 {
880 "start": 18,
881 "end": 58,
882 "type": "FULL"
883 }
884 ]
885 },
886 {
887 "regionTag": "file_v1_generated_CloudFilestoreManager_RestoreInstance_sync",
888 "title": "file RestoreInstance Sample",
889 "description": "RestoreInstance restores an existing instance's file share from a backup.\n\nThe capacity of the instance needs to be equal to or larger than the\ncapacity of the backup (and also equal to or larger than the minimum\ncapacity of the tier).",
890 "file": "CloudFilestoreManagerClient/RestoreInstance/main.go",
891 "language": "GO",
892 "clientMethod": {
893 "shortName": "RestoreInstance",
894 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.RestoreInstance",
895 "parameters": [
896 {
897 "type": "context.Context",
898 "name": "ctx"
899 },
900 {
901 "type": "filestorepb.RestoreInstanceRequest",
902 "name": "req"
903 },
904 {
905 "type": "...gax.CallOption",
906 "name": "opts"
907 }
908 ],
909 "resultType": "RestoreInstanceOperation",
910 "client": {
911 "shortName": "CloudFilestoreManagerClient",
912 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
913 },
914 "method": {
915 "shortName": "RestoreInstance",
916 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstance",
917 "service": {
918 "shortName": "CloudFilestoreManager",
919 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
920 }
921 }
922 },
923 "origin": "API_DEFINITION",
924 "segments": [
925 {
926 "start": 18,
927 "end": 58,
928 "type": "FULL"
929 }
930 ]
931 },
932 {
933 "regionTag": "file_v1_generated_CloudFilestoreManager_RevertInstance_sync",
934 "title": "file RevertInstance Sample",
935 "description": "RevertInstance revert an existing instance's file system to a specified snapshot.",
936 "file": "CloudFilestoreManagerClient/RevertInstance/main.go",
937 "language": "GO",
938 "clientMethod": {
939 "shortName": "RevertInstance",
940 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.RevertInstance",
941 "parameters": [
942 {
943 "type": "context.Context",
944 "name": "ctx"
945 },
946 {
947 "type": "filestorepb.RevertInstanceRequest",
948 "name": "req"
949 },
950 {
951 "type": "...gax.CallOption",
952 "name": "opts"
953 }
954 ],
955 "resultType": "RevertInstanceOperation",
956 "client": {
957 "shortName": "CloudFilestoreManagerClient",
958 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
959 },
960 "method": {
961 "shortName": "RevertInstance",
962 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.RevertInstance",
963 "service": {
964 "shortName": "CloudFilestoreManager",
965 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
966 }
967 }
968 },
969 "origin": "API_DEFINITION",
970 "segments": [
971 {
972 "start": 18,
973 "end": 58,
974 "type": "FULL"
975 }
976 ]
977 },
978 {
979 "regionTag": "file_v1_generated_CloudFilestoreManager_UpdateBackup_sync",
980 "title": "file UpdateBackup Sample",
981 "description": "UpdateBackup updates the settings of a specific backup.",
982 "file": "CloudFilestoreManagerClient/UpdateBackup/main.go",
983 "language": "GO",
984 "clientMethod": {
985 "shortName": "UpdateBackup",
986 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.UpdateBackup",
987 "parameters": [
988 {
989 "type": "context.Context",
990 "name": "ctx"
991 },
992 {
993 "type": "filestorepb.UpdateBackupRequest",
994 "name": "req"
995 },
996 {
997 "type": "...gax.CallOption",
998 "name": "opts"
999 }
1000 ],
1001 "resultType": "UpdateBackupOperation",
1002 "client": {
1003 "shortName": "CloudFilestoreManagerClient",
1004 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
1005 },
1006 "method": {
1007 "shortName": "UpdateBackup",
1008 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateBackup",
1009 "service": {
1010 "shortName": "CloudFilestoreManager",
1011 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
1012 }
1013 }
1014 },
1015 "origin": "API_DEFINITION",
1016 "segments": [
1017 {
1018 "start": 18,
1019 "end": 58,
1020 "type": "FULL"
1021 }
1022 ]
1023 },
1024 {
1025 "regionTag": "file_v1_generated_CloudFilestoreManager_UpdateInstance_sync",
1026 "title": "file UpdateInstance Sample",
1027 "description": "UpdateInstance updates the settings of a specific instance.",
1028 "file": "CloudFilestoreManagerClient/UpdateInstance/main.go",
1029 "language": "GO",
1030 "clientMethod": {
1031 "shortName": "UpdateInstance",
1032 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.UpdateInstance",
1033 "parameters": [
1034 {
1035 "type": "context.Context",
1036 "name": "ctx"
1037 },
1038 {
1039 "type": "filestorepb.UpdateInstanceRequest",
1040 "name": "req"
1041 },
1042 {
1043 "type": "...gax.CallOption",
1044 "name": "opts"
1045 }
1046 ],
1047 "resultType": "UpdateInstanceOperation",
1048 "client": {
1049 "shortName": "CloudFilestoreManagerClient",
1050 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
1051 },
1052 "method": {
1053 "shortName": "UpdateInstance",
1054 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstance",
1055 "service": {
1056 "shortName": "CloudFilestoreManager",
1057 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
1058 }
1059 }
1060 },
1061 "origin": "API_DEFINITION",
1062 "segments": [
1063 {
1064 "start": 18,
1065 "end": 58,
1066 "type": "FULL"
1067 }
1068 ]
1069 },
1070 {
1071 "regionTag": "file_v1_generated_CloudFilestoreManager_UpdateSnapshot_sync",
1072 "title": "file UpdateSnapshot Sample",
1073 "description": "UpdateSnapshot updates the settings of a specific snapshot.",
1074 "file": "CloudFilestoreManagerClient/UpdateSnapshot/main.go",
1075 "language": "GO",
1076 "clientMethod": {
1077 "shortName": "UpdateSnapshot",
1078 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.UpdateSnapshot",
1079 "parameters": [
1080 {
1081 "type": "context.Context",
1082 "name": "ctx"
1083 },
1084 {
1085 "type": "filestorepb.UpdateSnapshotRequest",
1086 "name": "req"
1087 },
1088 {
1089 "type": "...gax.CallOption",
1090 "name": "opts"
1091 }
1092 ],
1093 "resultType": "UpdateSnapshotOperation",
1094 "client": {
1095 "shortName": "CloudFilestoreManagerClient",
1096 "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient"
1097 },
1098 "method": {
1099 "shortName": "UpdateSnapshot",
1100 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateSnapshot",
1101 "service": {
1102 "shortName": "CloudFilestoreManager",
1103 "fullName": "google.cloud.filestore.v1.CloudFilestoreManager"
1104 }
1105 }
1106 },
1107 "origin": "API_DEFINITION",
1108 "segments": [
1109 {
1110 "start": 18,
1111 "end": 58,
1112 "type": "FULL"
1113 }
1114 ]
1115 }
1116 ]
1117 }