Debian Codegraph @

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

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/lustre/apiv1",
4 "version": "0.2.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.lustre.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "lustre_v1_generated_Lustre_CancelOperation_sync",
16 "title": "lustre CancelOperation Sample",
17 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
18 "file": "Client/CancelOperation/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CancelOperation",
22 "fullName": "google.cloud.lustre.v1.Client.CancelOperation",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "longrunningpb.CancelOperationRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "client": {
38 "shortName": "Client",
39 "fullName": "google.cloud.lustre.v1.Client"
40 },
41 "method": {
42 "shortName": "CancelOperation",
43 "fullName": "google.longrunning.Operations.CancelOperation",
44 "service": {
45 "shortName": "Operations",
46 "fullName": "google.longrunning.Operations"
47 }
48 }
49 },
50 "origin": "API_DEFINITION",
51 "segments": [
52 {
53 "start": 18,
54 "end": 51,
55 "type": "FULL"
56 }
57 ]
58 },
59 {
60 "regionTag": "lustre_v1_generated_Lustre_CreateInstance_sync",
61 "title": "lustre CreateInstance Sample",
62 "description": "CreateInstance creates a new instance in a given project and location.",
63 "file": "Client/CreateInstance/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "CreateInstance",
67 "fullName": "google.cloud.lustre.v1.Client.CreateInstance",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "lustrepb.CreateInstanceRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "CreateInstanceOperation",
83 "client": {
84 "shortName": "Client",
85 "fullName": "google.cloud.lustre.v1.Client"
86 },
87 "method": {
88 "shortName": "CreateInstance",
89 "fullName": "google.cloud.lustre.v1.Lustre.CreateInstance",
90 "service": {
91 "shortName": "Lustre",
92 "fullName": "google.cloud.lustre.v1.Lustre"
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": "lustre_v1_generated_Lustre_DeleteInstance_sync",
107 "title": "lustre DeleteInstance Sample",
108 "description": "DeleteInstance deletes a single instance.",
109 "file": "Client/DeleteInstance/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "DeleteInstance",
113 "fullName": "google.cloud.lustre.v1.Client.DeleteInstance",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "lustrepb.DeleteInstanceRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "DeleteInstanceOperation",
129 "client": {
130 "shortName": "Client",
131 "fullName": "google.cloud.lustre.v1.Client"
132 },
133 "method": {
134 "shortName": "DeleteInstance",
135 "fullName": "google.cloud.lustre.v1.Lustre.DeleteInstance",
136 "service": {
137 "shortName": "Lustre",
138 "fullName": "google.cloud.lustre.v1.Lustre"
139 }
140 }
141 },
142 "origin": "API_DEFINITION",
143 "segments": [
144 {
145 "start": 18,
146 "end": 56,
147 "type": "FULL"
148 }
149 ]
150 },
151 {
152 "regionTag": "lustre_v1_generated_Lustre_DeleteOperation_sync",
153 "title": "lustre DeleteOperation Sample",
154 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
155 "file": "Client/DeleteOperation/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "DeleteOperation",
159 "fullName": "google.cloud.lustre.v1.Client.DeleteOperation",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "longrunningpb.DeleteOperationRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "client": {
175 "shortName": "Client",
176 "fullName": "google.cloud.lustre.v1.Client"
177 },
178 "method": {
179 "shortName": "DeleteOperation",
180 "fullName": "google.longrunning.Operations.DeleteOperation",
181 "service": {
182 "shortName": "Operations",
183 "fullName": "google.longrunning.Operations"
184 }
185 }
186 },
187 "origin": "API_DEFINITION",
188 "segments": [
189 {
190 "start": 18,
191 "end": 51,
192 "type": "FULL"
193 }
194 ]
195 },
196 {
197 "regionTag": "lustre_v1_generated_Lustre_ExportData_sync",
198 "title": "lustre ExportData Sample",
199 "description": "ExportData exports data from a Managed Lustre instance to Cloud Storage.",
200 "file": "Client/ExportData/main.go",
201 "language": "GO",
202 "clientMethod": {
203 "shortName": "ExportData",
204 "fullName": "google.cloud.lustre.v1.Client.ExportData",
205 "parameters": [
206 {
207 "type": "context.Context",
208 "name": "ctx"
209 },
210 {
211 "type": "lustrepb.ExportDataRequest",
212 "name": "req"
213 },
214 {
215 "type": "...gax.CallOption",
216 "name": "opts"
217 }
218 ],
219 "resultType": "ExportDataOperation",
220 "client": {
221 "shortName": "Client",
222 "fullName": "google.cloud.lustre.v1.Client"
223 },
224 "method": {
225 "shortName": "ExportData",
226 "fullName": "google.cloud.lustre.v1.Lustre.ExportData",
227 "service": {
228 "shortName": "Lustre",
229 "fullName": "google.cloud.lustre.v1.Lustre"
230 }
231 }
232 },
233 "origin": "API_DEFINITION",
234 "segments": [
235 {
236 "start": 18,
237 "end": 58,
238 "type": "FULL"
239 }
240 ]
241 },
242 {
243 "regionTag": "lustre_v1_generated_Lustre_GetInstance_sync",
244 "title": "lustre GetInstance Sample",
245 "description": "GetInstance gets details of a single instance.",
246 "file": "Client/GetInstance/main.go",
247 "language": "GO",
248 "clientMethod": {
249 "shortName": "GetInstance",
250 "fullName": "google.cloud.lustre.v1.Client.GetInstance",
251 "parameters": [
252 {
253 "type": "context.Context",
254 "name": "ctx"
255 },
256 {
257 "type": "lustrepb.GetInstanceRequest",
258 "name": "req"
259 },
260 {
261 "type": "...gax.CallOption",
262 "name": "opts"
263 }
264 ],
265 "resultType": "*lustrepb.Instance",
266 "client": {
267 "shortName": "Client",
268 "fullName": "google.cloud.lustre.v1.Client"
269 },
270 "method": {
271 "shortName": "GetInstance",
272 "fullName": "google.cloud.lustre.v1.Lustre.GetInstance",
273 "service": {
274 "shortName": "Lustre",
275 "fullName": "google.cloud.lustre.v1.Lustre"
276 }
277 }
278 },
279 "origin": "API_DEFINITION",
280 "segments": [
281 {
282 "start": 18,
283 "end": 53,
284 "type": "FULL"
285 }
286 ]
287 },
288 {
289 "regionTag": "lustre_v1_generated_Lustre_GetLocation_sync",
290 "title": "lustre GetLocation Sample",
291 "description": "GetLocation gets information about a location.",
292 "file": "Client/GetLocation/main.go",
293 "language": "GO",
294 "clientMethod": {
295 "shortName": "GetLocation",
296 "fullName": "google.cloud.lustre.v1.Client.GetLocation",
297 "parameters": [
298 {
299 "type": "context.Context",
300 "name": "ctx"
301 },
302 {
303 "type": "locationpb.GetLocationRequest",
304 "name": "req"
305 },
306 {
307 "type": "...gax.CallOption",
308 "name": "opts"
309 }
310 ],
311 "resultType": "*locationpb.Location",
312 "client": {
313 "shortName": "Client",
314 "fullName": "google.cloud.lustre.v1.Client"
315 },
316 "method": {
317 "shortName": "GetLocation",
318 "fullName": "google.cloud.location.Locations.GetLocation",
319 "service": {
320 "shortName": "Locations",
321 "fullName": "google.cloud.location.Locations"
322 }
323 }
324 },
325 "origin": "API_DEFINITION",
326 "segments": [
327 {
328 "start": 18,
329 "end": 53,
330 "type": "FULL"
331 }
332 ]
333 },
334 {
335 "regionTag": "lustre_v1_generated_Lustre_GetOperation_sync",
336 "title": "lustre GetOperation Sample",
337 "description": "GetOperation is a utility method from google.longrunning.Operations.",
338 "file": "Client/GetOperation/main.go",
339 "language": "GO",
340 "clientMethod": {
341 "shortName": "GetOperation",
342 "fullName": "google.cloud.lustre.v1.Client.GetOperation",
343 "parameters": [
344 {
345 "type": "context.Context",
346 "name": "ctx"
347 },
348 {
349 "type": "longrunningpb.GetOperationRequest",
350 "name": "req"
351 },
352 {
353 "type": "...gax.CallOption",
354 "name": "opts"
355 }
356 ],
357 "resultType": "*longrunningpb.Operation",
358 "client": {
359 "shortName": "Client",
360 "fullName": "google.cloud.lustre.v1.Client"
361 },
362 "method": {
363 "shortName": "GetOperation",
364 "fullName": "google.longrunning.Operations.GetOperation",
365 "service": {
366 "shortName": "Operations",
367 "fullName": "google.longrunning.Operations"
368 }
369 }
370 },
371 "origin": "API_DEFINITION",
372 "segments": [
373 {
374 "start": 18,
375 "end": 53,
376 "type": "FULL"
377 }
378 ]
379 },
380 {
381 "regionTag": "lustre_v1_generated_Lustre_ImportData_sync",
382 "title": "lustre ImportData Sample",
383 "description": "ImportData imports data from Cloud Storage to a Managed Lustre instance.",
384 "file": "Client/ImportData/main.go",
385 "language": "GO",
386 "clientMethod": {
387 "shortName": "ImportData",
388 "fullName": "google.cloud.lustre.v1.Client.ImportData",
389 "parameters": [
390 {
391 "type": "context.Context",
392 "name": "ctx"
393 },
394 {
395 "type": "lustrepb.ImportDataRequest",
396 "name": "req"
397 },
398 {
399 "type": "...gax.CallOption",
400 "name": "opts"
401 }
402 ],
403 "resultType": "ImportDataOperation",
404 "client": {
405 "shortName": "Client",
406 "fullName": "google.cloud.lustre.v1.Client"
407 },
408 "method": {
409 "shortName": "ImportData",
410 "fullName": "google.cloud.lustre.v1.Lustre.ImportData",
411 "service": {
412 "shortName": "Lustre",
413 "fullName": "google.cloud.lustre.v1.Lustre"
414 }
415 }
416 },
417 "origin": "API_DEFINITION",
418 "segments": [
419 {
420 "start": 18,
421 "end": 58,
422 "type": "FULL"
423 }
424 ]
425 },
426 {
427 "regionTag": "lustre_v1_generated_Lustre_ListInstances_sync",
428 "title": "lustre ListInstances Sample",
429 "description": "ListInstances lists instances in a given project and location.",
430 "file": "Client/ListInstances/main.go",
431 "language": "GO",
432 "clientMethod": {
433 "shortName": "ListInstances",
434 "fullName": "google.cloud.lustre.v1.Client.ListInstances",
435 "parameters": [
436 {
437 "type": "context.Context",
438 "name": "ctx"
439 },
440 {
441 "type": "lustrepb.ListInstancesRequest",
442 "name": "req"
443 },
444 {
445 "type": "...gax.CallOption",
446 "name": "opts"
447 }
448 ],
449 "resultType": "InstanceIterator",
450 "client": {
451 "shortName": "Client",
452 "fullName": "google.cloud.lustre.v1.Client"
453 },
454 "method": {
455 "shortName": "ListInstances",
456 "fullName": "google.cloud.lustre.v1.Lustre.ListInstances",
457 "service": {
458 "shortName": "Lustre",
459 "fullName": "google.cloud.lustre.v1.Lustre"
460 }
461 }
462 },
463 "origin": "API_DEFINITION",
464 "segments": [
465 {
466 "start": 18,
467 "end": 66,
468 "type": "FULL"
469 }
470 ]
471 },
472 {
473 "regionTag": "lustre_v1_generated_Lustre_ListLocations_sync",
474 "title": "lustre ListLocations Sample",
475 "description": "ListLocations lists information about the supported locations for this service.",
476 "file": "Client/ListLocations/main.go",
477 "language": "GO",
478 "clientMethod": {
479 "shortName": "ListLocations",
480 "fullName": "google.cloud.lustre.v1.Client.ListLocations",
481 "parameters": [
482 {
483 "type": "context.Context",
484 "name": "ctx"
485 },
486 {
487 "type": "locationpb.ListLocationsRequest",
488 "name": "req"
489 },
490 {
491 "type": "...gax.CallOption",
492 "name": "opts"
493 }
494 ],
495 "resultType": "LocationIterator",
496 "client": {
497 "shortName": "Client",
498 "fullName": "google.cloud.lustre.v1.Client"
499 },
500 "method": {
501 "shortName": "ListLocations",
502 "fullName": "google.cloud.location.Locations.ListLocations",
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": 66,
514 "type": "FULL"
515 }
516 ]
517 },
518 {
519 "regionTag": "lustre_v1_generated_Lustre_ListOperations_sync",
520 "title": "lustre ListOperations Sample",
521 "description": "ListOperations is a utility method from google.longrunning.Operations.",
522 "file": "Client/ListOperations/main.go",
523 "language": "GO",
524 "clientMethod": {
525 "shortName": "ListOperations",
526 "fullName": "google.cloud.lustre.v1.Client.ListOperations",
527 "parameters": [
528 {
529 "type": "context.Context",
530 "name": "ctx"
531 },
532 {
533 "type": "longrunningpb.ListOperationsRequest",
534 "name": "req"
535 },
536 {
537 "type": "...gax.CallOption",
538 "name": "opts"
539 }
540 ],
541 "resultType": "OperationIterator",
542 "client": {
543 "shortName": "Client",
544 "fullName": "google.cloud.lustre.v1.Client"
545 },
546 "method": {
547 "shortName": "ListOperations",
548 "fullName": "google.longrunning.Operations.ListOperations",
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": 66,
560 "type": "FULL"
561 }
562 ]
563 },
564 {
565 "regionTag": "lustre_v1_generated_Lustre_UpdateInstance_sync",
566 "title": "lustre UpdateInstance Sample",
567 "description": "UpdateInstance updates the parameters of a single instance.",
568 "file": "Client/UpdateInstance/main.go",
569 "language": "GO",
570 "clientMethod": {
571 "shortName": "UpdateInstance",
572 "fullName": "google.cloud.lustre.v1.Client.UpdateInstance",
573 "parameters": [
574 {
575 "type": "context.Context",
576 "name": "ctx"
577 },
578 {
579 "type": "lustrepb.UpdateInstanceRequest",
580 "name": "req"
581 },
582 {
583 "type": "...gax.CallOption",
584 "name": "opts"
585 }
586 ],
587 "resultType": "UpdateInstanceOperation",
588 "client": {
589 "shortName": "Client",
590 "fullName": "google.cloud.lustre.v1.Client"
591 },
592 "method": {
593 "shortName": "UpdateInstance",
594 "fullName": "google.cloud.lustre.v1.Lustre.UpdateInstance",
595 "service": {
596 "shortName": "Lustre",
597 "fullName": "google.cloud.lustre.v1.Lustre"
598 }
599 }
600 },
601 "origin": "API_DEFINITION",
602 "segments": [
603 {
604 "start": 18,
605 "end": 58,
606 "type": "FULL"
607 }
608 ]
609 }
610 ]
611 }