@maxim_mazurok/gapi.client.migrationcenter-v1 0.0.20230714

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tests.ts ADDED
@@ -0,0 +1,1824 @@
1
+ /* This is stub file for gapi.client.migrationcenter-v1 definition tests */
2
+ // IMPORTANT
3
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
+
6
+ // Revision: 20230714
7
+
8
+ gapi.load('client', async () => {
9
+ /** now we can use gapi.client */
10
+
11
+ await gapi.client.load('https://migrationcenter.googleapis.com/$discovery/rest?version=v1');
12
+ /** now we can use gapi.client.migrationcenter */
13
+
14
+ /** don't forget to authenticate your client before sending any request to resources: */
15
+ /** declare client_id registered in Google Developers Console */
16
+ const client_id = '<<PUT YOUR CLIENT ID HERE>>';
17
+ const scope = [
18
+ /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. */
19
+ 'https://www.googleapis.com/auth/cloud-platform',
20
+ ];
21
+ const immediate = false;
22
+ gapi.auth.authorize({ client_id, scope, immediate }, authResult => {
23
+ if (authResult && !authResult.error) {
24
+ /** handle successful authorization */
25
+ run();
26
+ } else {
27
+ /** handle authorization error */
28
+ }
29
+ });
30
+
31
+ async function run() {
32
+ /** Gets information about a location. */
33
+ await gapi.client.migrationcenter.projects.locations.get({
34
+ name: "Test string",
35
+ });
36
+ /** Gets the details of regional settings. */
37
+ await gapi.client.migrationcenter.projects.locations.getSettings({
38
+ name: "Test string",
39
+ });
40
+ /** Lists information about the supported locations for this service. */
41
+ await gapi.client.migrationcenter.projects.locations.list({
42
+ filter: "Test string",
43
+ name: "Test string",
44
+ pageSize: 42,
45
+ pageToken: "Test string",
46
+ });
47
+ /** Updates the regional-level project settings. */
48
+ await gapi.client.migrationcenter.projects.locations.updateSettings({
49
+ name: "Test string",
50
+ requestId: "Test string",
51
+ updateMask: "Test string",
52
+ }, {
53
+ name: "Test string",
54
+ preferenceSet: "Test string",
55
+ });
56
+ /** Aggregates the requested fields based on provided function. */
57
+ await gapi.client.migrationcenter.projects.locations.assets.aggregateValues({
58
+ parent: "Test string",
59
+ }, {
60
+ aggregations: [
61
+ {
62
+ count: {
63
+ },
64
+ field: "Test string",
65
+ frequency: {
66
+ },
67
+ histogram: {
68
+ lowerBounds: [
69
+ 42
70
+ ],
71
+ },
72
+ sum: {
73
+ },
74
+ }
75
+ ],
76
+ filter: "Test string",
77
+ });
78
+ /** Deletes list of Assets. */
79
+ await gapi.client.migrationcenter.projects.locations.assets.batchDelete({
80
+ parent: "Test string",
81
+ }, {
82
+ allowMissing: true,
83
+ names: [
84
+ "Test string"
85
+ ],
86
+ });
87
+ /** Updates the parameters of a list of assets. */
88
+ await gapi.client.migrationcenter.projects.locations.assets.batchUpdate({
89
+ parent: "Test string",
90
+ }, {
91
+ requests: [
92
+ {
93
+ asset: {
94
+ assignedGroups: [
95
+ "Test string"
96
+ ],
97
+ attributes: {
98
+ A: "Test string"
99
+ },
100
+ createTime: "Test string",
101
+ insightList: {
102
+ insights: [
103
+ {
104
+ migrationInsight: {
105
+ computeEngineTarget: {
106
+ shape: {
107
+ logicalCoreCount: 42,
108
+ machineType: "Test string",
109
+ memoryMb: 42,
110
+ physicalCoreCount: 42,
111
+ series: "Test string",
112
+ storage: [
113
+ {
114
+ sizeGb: 42,
115
+ type: "Test string",
116
+ }
117
+ ],
118
+ },
119
+ },
120
+ fit: {
121
+ fitLevel: "Test string",
122
+ },
123
+ },
124
+ }
125
+ ],
126
+ updateTime: "Test string",
127
+ },
128
+ labels: {
129
+ A: "Test string"
130
+ },
131
+ machineDetails: {
132
+ architecture: {
133
+ bios: {
134
+ biosName: "Test string",
135
+ id: "Test string",
136
+ manufacturer: "Test string",
137
+ releaseDate: {
138
+ day: 42,
139
+ month: 42,
140
+ year: 42,
141
+ },
142
+ smbiosUuid: "Test string",
143
+ version: "Test string",
144
+ },
145
+ cpuArchitecture: "Test string",
146
+ cpuName: "Test string",
147
+ cpuSocketCount: 42,
148
+ cpuThreadCount: 42,
149
+ firmwareType: "Test string",
150
+ hyperthreading: "Test string",
151
+ vendor: "Test string",
152
+ },
153
+ coreCount: 42,
154
+ createTime: "Test string",
155
+ disks: {
156
+ disks: {
157
+ entries: [
158
+ {
159
+ capacityBytes: "Test string",
160
+ diskLabel: "Test string",
161
+ diskLabelType: "Test string",
162
+ freeBytes: "Test string",
163
+ hwAddress: "Test string",
164
+ interfaceType: "Test string",
165
+ partitions: {
166
+ entries: [
167
+ {
168
+ capacityBytes: "Test string",
169
+ fileSystem: "Test string",
170
+ freeBytes: "Test string",
171
+ mountPoint: "Test string",
172
+ subPartitions: undefined,
173
+ type: "Test string",
174
+ uuid: "Test string",
175
+ }
176
+ ],
177
+ },
178
+ vmware: {
179
+ backingType: "Test string",
180
+ rdmCompatibility: "Test string",
181
+ shared: true,
182
+ vmdkMode: "Test string",
183
+ },
184
+ }
185
+ ],
186
+ },
187
+ totalCapacityBytes: "Test string",
188
+ totalFreeBytes: "Test string",
189
+ },
190
+ guestOs: {
191
+ config: {
192
+ fstab: {
193
+ entries: [
194
+ {
195
+ file: "Test string",
196
+ freq: 42,
197
+ mntops: "Test string",
198
+ passno: 42,
199
+ spec: "Test string",
200
+ vfstype: "Test string",
201
+ }
202
+ ],
203
+ },
204
+ hosts: {
205
+ entries: [
206
+ {
207
+ hostNames: [
208
+ "Test string"
209
+ ],
210
+ ip: "Test string",
211
+ }
212
+ ],
213
+ },
214
+ issue: "Test string",
215
+ nfsExports: {
216
+ entries: [
217
+ {
218
+ exportDirectory: "Test string",
219
+ hosts: [
220
+ "Test string"
221
+ ],
222
+ }
223
+ ],
224
+ },
225
+ selinuxMode: "Test string",
226
+ },
227
+ family: "Test string",
228
+ osName: "Test string",
229
+ runtime: {
230
+ domain: "Test string",
231
+ installedApps: {
232
+ entries: [
233
+ {
234
+ applicationName: "Test string",
235
+ installTime: "Test string",
236
+ path: "Test string",
237
+ vendor: "Test string",
238
+ version: "Test string",
239
+ }
240
+ ],
241
+ },
242
+ lastBootTime: "Test string",
243
+ machineName: "Test string",
244
+ network: {
245
+ connections: {
246
+ entries: [
247
+ {
248
+ localIpAddress: "Test string",
249
+ localPort: 42,
250
+ pid: "Test string",
251
+ processName: "Test string",
252
+ protocol: "Test string",
253
+ remoteIpAddress: "Test string",
254
+ remotePort: 42,
255
+ state: "Test string",
256
+ }
257
+ ],
258
+ },
259
+ scanTime: "Test string",
260
+ },
261
+ openFileList: {
262
+ entries: [
263
+ {
264
+ command: "Test string",
265
+ filePath: "Test string",
266
+ fileType: "Test string",
267
+ user: "Test string",
268
+ }
269
+ ],
270
+ },
271
+ processes: {
272
+ entries: [
273
+ {
274
+ attributes: {
275
+ A: "Test string"
276
+ },
277
+ cmdline: "Test string",
278
+ exePath: "Test string",
279
+ pid: "Test string",
280
+ user: "Test string",
281
+ }
282
+ ],
283
+ },
284
+ services: {
285
+ entries: [
286
+ {
287
+ cmdline: "Test string",
288
+ exePath: "Test string",
289
+ pid: "Test string",
290
+ serviceName: "Test string",
291
+ startMode: "Test string",
292
+ state: "Test string",
293
+ }
294
+ ],
295
+ },
296
+ },
297
+ version: "Test string",
298
+ },
299
+ machineName: "Test string",
300
+ memoryMb: 42,
301
+ network: {
302
+ adapters: {
303
+ entries: [
304
+ {
305
+ adapterType: "Test string",
306
+ addresses: {
307
+ entries: [
308
+ {
309
+ assignment: "Test string",
310
+ bcast: "Test string",
311
+ fqdn: "Test string",
312
+ ipAddress: "Test string",
313
+ subnetMask: "Test string",
314
+ }
315
+ ],
316
+ },
317
+ macAddress: "Test string",
318
+ }
319
+ ],
320
+ },
321
+ primaryIpAddress: "Test string",
322
+ primaryMacAddress: "Test string",
323
+ publicIpAddress: "Test string",
324
+ },
325
+ platform: {
326
+ awsEc2Details: {
327
+ location: "Test string",
328
+ machineTypeLabel: "Test string",
329
+ },
330
+ azureVmDetails: {
331
+ location: "Test string",
332
+ machineTypeLabel: "Test string",
333
+ provisioningState: "Test string",
334
+ },
335
+ genericDetails: {
336
+ location: "Test string",
337
+ },
338
+ physicalDetails: {
339
+ location: "Test string",
340
+ },
341
+ vmwareDetails: {
342
+ esxVersion: "Test string",
343
+ osid: "Test string",
344
+ vcenterFolder: "Test string",
345
+ vcenterUri: "Test string",
346
+ vcenterVersion: "Test string",
347
+ vcenterVmId: "Test string",
348
+ },
349
+ },
350
+ powerState: "Test string",
351
+ uuid: "Test string",
352
+ },
353
+ name: "Test string",
354
+ performanceData: {
355
+ dailyResourceUsageAggregations: [
356
+ {
357
+ cpu: {
358
+ utilizationPercentage: {
359
+ average: 42,
360
+ median: 42,
361
+ ninteyFifthPercentile: 42,
362
+ peak: 42,
363
+ },
364
+ },
365
+ date: {
366
+ day: 42,
367
+ month: 42,
368
+ year: 42,
369
+ },
370
+ disk: {
371
+ iops: {
372
+ average: 42,
373
+ median: 42,
374
+ ninteyFifthPercentile: 42,
375
+ peak: 42,
376
+ },
377
+ },
378
+ memory: {
379
+ utilizationPercentage: {
380
+ average: 42,
381
+ median: 42,
382
+ ninteyFifthPercentile: 42,
383
+ peak: 42,
384
+ },
385
+ },
386
+ network: {
387
+ egressBps: {
388
+ average: 42,
389
+ median: 42,
390
+ ninteyFifthPercentile: 42,
391
+ peak: 42,
392
+ },
393
+ ingressBps: {
394
+ average: 42,
395
+ median: 42,
396
+ ninteyFifthPercentile: 42,
397
+ peak: 42,
398
+ },
399
+ },
400
+ }
401
+ ],
402
+ },
403
+ sources: [
404
+ "Test string"
405
+ ],
406
+ updateTime: "Test string",
407
+ },
408
+ requestId: "Test string",
409
+ updateMask: "Test string",
410
+ }
411
+ ],
412
+ });
413
+ /** Deletes an asset. */
414
+ await gapi.client.migrationcenter.projects.locations.assets.delete({
415
+ name: "Test string",
416
+ requestId: "Test string",
417
+ });
418
+ /** Gets the details of an asset. */
419
+ await gapi.client.migrationcenter.projects.locations.assets.get({
420
+ name: "Test string",
421
+ view: "Test string",
422
+ });
423
+ /** Lists all the assets in a given project and location. */
424
+ await gapi.client.migrationcenter.projects.locations.assets.list({
425
+ filter: "Test string",
426
+ orderBy: "Test string",
427
+ pageSize: 42,
428
+ pageToken: "Test string",
429
+ parent: "Test string",
430
+ view: "Test string",
431
+ });
432
+ /** Updates the parameters of an asset. */
433
+ await gapi.client.migrationcenter.projects.locations.assets.patch({
434
+ name: "Test string",
435
+ requestId: "Test string",
436
+ updateMask: "Test string",
437
+ }, {
438
+ assignedGroups: [
439
+ "Test string"
440
+ ],
441
+ attributes: {
442
+ A: "Test string"
443
+ },
444
+ createTime: "Test string",
445
+ insightList: {
446
+ insights: [
447
+ {
448
+ migrationInsight: {
449
+ computeEngineTarget: {
450
+ shape: {
451
+ logicalCoreCount: 42,
452
+ machineType: "Test string",
453
+ memoryMb: 42,
454
+ physicalCoreCount: 42,
455
+ series: "Test string",
456
+ storage: [
457
+ {
458
+ sizeGb: 42,
459
+ type: "Test string",
460
+ }
461
+ ],
462
+ },
463
+ },
464
+ fit: {
465
+ fitLevel: "Test string",
466
+ },
467
+ },
468
+ }
469
+ ],
470
+ updateTime: "Test string",
471
+ },
472
+ labels: {
473
+ A: "Test string"
474
+ },
475
+ machineDetails: {
476
+ architecture: {
477
+ bios: {
478
+ biosName: "Test string",
479
+ id: "Test string",
480
+ manufacturer: "Test string",
481
+ releaseDate: {
482
+ day: 42,
483
+ month: 42,
484
+ year: 42,
485
+ },
486
+ smbiosUuid: "Test string",
487
+ version: "Test string",
488
+ },
489
+ cpuArchitecture: "Test string",
490
+ cpuName: "Test string",
491
+ cpuSocketCount: 42,
492
+ cpuThreadCount: 42,
493
+ firmwareType: "Test string",
494
+ hyperthreading: "Test string",
495
+ vendor: "Test string",
496
+ },
497
+ coreCount: 42,
498
+ createTime: "Test string",
499
+ disks: {
500
+ disks: {
501
+ entries: [
502
+ {
503
+ capacityBytes: "Test string",
504
+ diskLabel: "Test string",
505
+ diskLabelType: "Test string",
506
+ freeBytes: "Test string",
507
+ hwAddress: "Test string",
508
+ interfaceType: "Test string",
509
+ partitions: {
510
+ entries: [
511
+ {
512
+ capacityBytes: "Test string",
513
+ fileSystem: "Test string",
514
+ freeBytes: "Test string",
515
+ mountPoint: "Test string",
516
+ subPartitions: undefined,
517
+ type: "Test string",
518
+ uuid: "Test string",
519
+ }
520
+ ],
521
+ },
522
+ vmware: {
523
+ backingType: "Test string",
524
+ rdmCompatibility: "Test string",
525
+ shared: true,
526
+ vmdkMode: "Test string",
527
+ },
528
+ }
529
+ ],
530
+ },
531
+ totalCapacityBytes: "Test string",
532
+ totalFreeBytes: "Test string",
533
+ },
534
+ guestOs: {
535
+ config: {
536
+ fstab: {
537
+ entries: [
538
+ {
539
+ file: "Test string",
540
+ freq: 42,
541
+ mntops: "Test string",
542
+ passno: 42,
543
+ spec: "Test string",
544
+ vfstype: "Test string",
545
+ }
546
+ ],
547
+ },
548
+ hosts: {
549
+ entries: [
550
+ {
551
+ hostNames: [
552
+ "Test string"
553
+ ],
554
+ ip: "Test string",
555
+ }
556
+ ],
557
+ },
558
+ issue: "Test string",
559
+ nfsExports: {
560
+ entries: [
561
+ {
562
+ exportDirectory: "Test string",
563
+ hosts: [
564
+ "Test string"
565
+ ],
566
+ }
567
+ ],
568
+ },
569
+ selinuxMode: "Test string",
570
+ },
571
+ family: "Test string",
572
+ osName: "Test string",
573
+ runtime: {
574
+ domain: "Test string",
575
+ installedApps: {
576
+ entries: [
577
+ {
578
+ applicationName: "Test string",
579
+ installTime: "Test string",
580
+ path: "Test string",
581
+ vendor: "Test string",
582
+ version: "Test string",
583
+ }
584
+ ],
585
+ },
586
+ lastBootTime: "Test string",
587
+ machineName: "Test string",
588
+ network: {
589
+ connections: {
590
+ entries: [
591
+ {
592
+ localIpAddress: "Test string",
593
+ localPort: 42,
594
+ pid: "Test string",
595
+ processName: "Test string",
596
+ protocol: "Test string",
597
+ remoteIpAddress: "Test string",
598
+ remotePort: 42,
599
+ state: "Test string",
600
+ }
601
+ ],
602
+ },
603
+ scanTime: "Test string",
604
+ },
605
+ openFileList: {
606
+ entries: [
607
+ {
608
+ command: "Test string",
609
+ filePath: "Test string",
610
+ fileType: "Test string",
611
+ user: "Test string",
612
+ }
613
+ ],
614
+ },
615
+ processes: {
616
+ entries: [
617
+ {
618
+ attributes: {
619
+ A: "Test string"
620
+ },
621
+ cmdline: "Test string",
622
+ exePath: "Test string",
623
+ pid: "Test string",
624
+ user: "Test string",
625
+ }
626
+ ],
627
+ },
628
+ services: {
629
+ entries: [
630
+ {
631
+ cmdline: "Test string",
632
+ exePath: "Test string",
633
+ pid: "Test string",
634
+ serviceName: "Test string",
635
+ startMode: "Test string",
636
+ state: "Test string",
637
+ }
638
+ ],
639
+ },
640
+ },
641
+ version: "Test string",
642
+ },
643
+ machineName: "Test string",
644
+ memoryMb: 42,
645
+ network: {
646
+ adapters: {
647
+ entries: [
648
+ {
649
+ adapterType: "Test string",
650
+ addresses: {
651
+ entries: [
652
+ {
653
+ assignment: "Test string",
654
+ bcast: "Test string",
655
+ fqdn: "Test string",
656
+ ipAddress: "Test string",
657
+ subnetMask: "Test string",
658
+ }
659
+ ],
660
+ },
661
+ macAddress: "Test string",
662
+ }
663
+ ],
664
+ },
665
+ primaryIpAddress: "Test string",
666
+ primaryMacAddress: "Test string",
667
+ publicIpAddress: "Test string",
668
+ },
669
+ platform: {
670
+ awsEc2Details: {
671
+ location: "Test string",
672
+ machineTypeLabel: "Test string",
673
+ },
674
+ azureVmDetails: {
675
+ location: "Test string",
676
+ machineTypeLabel: "Test string",
677
+ provisioningState: "Test string",
678
+ },
679
+ genericDetails: {
680
+ location: "Test string",
681
+ },
682
+ physicalDetails: {
683
+ location: "Test string",
684
+ },
685
+ vmwareDetails: {
686
+ esxVersion: "Test string",
687
+ osid: "Test string",
688
+ vcenterFolder: "Test string",
689
+ vcenterUri: "Test string",
690
+ vcenterVersion: "Test string",
691
+ vcenterVmId: "Test string",
692
+ },
693
+ },
694
+ powerState: "Test string",
695
+ uuid: "Test string",
696
+ },
697
+ name: "Test string",
698
+ performanceData: {
699
+ dailyResourceUsageAggregations: [
700
+ {
701
+ cpu: {
702
+ utilizationPercentage: {
703
+ average: 42,
704
+ median: 42,
705
+ ninteyFifthPercentile: 42,
706
+ peak: 42,
707
+ },
708
+ },
709
+ date: {
710
+ day: 42,
711
+ month: 42,
712
+ year: 42,
713
+ },
714
+ disk: {
715
+ iops: {
716
+ average: 42,
717
+ median: 42,
718
+ ninteyFifthPercentile: 42,
719
+ peak: 42,
720
+ },
721
+ },
722
+ memory: {
723
+ utilizationPercentage: {
724
+ average: 42,
725
+ median: 42,
726
+ ninteyFifthPercentile: 42,
727
+ peak: 42,
728
+ },
729
+ },
730
+ network: {
731
+ egressBps: {
732
+ average: 42,
733
+ median: 42,
734
+ ninteyFifthPercentile: 42,
735
+ peak: 42,
736
+ },
737
+ ingressBps: {
738
+ average: 42,
739
+ median: 42,
740
+ ninteyFifthPercentile: 42,
741
+ peak: 42,
742
+ },
743
+ },
744
+ }
745
+ ],
746
+ },
747
+ sources: [
748
+ "Test string"
749
+ ],
750
+ updateTime: "Test string",
751
+ });
752
+ /** Reports a set of frames. */
753
+ await gapi.client.migrationcenter.projects.locations.assets.reportAssetFrames({
754
+ parent: "Test string",
755
+ source: "Test string",
756
+ }, {
757
+ framesData: [
758
+ {
759
+ attributes: {
760
+ A: "Test string"
761
+ },
762
+ labels: {
763
+ A: "Test string"
764
+ },
765
+ machineDetails: {
766
+ architecture: {
767
+ bios: {
768
+ biosName: "Test string",
769
+ id: "Test string",
770
+ manufacturer: "Test string",
771
+ releaseDate: {
772
+ day: 42,
773
+ month: 42,
774
+ year: 42,
775
+ },
776
+ smbiosUuid: "Test string",
777
+ version: "Test string",
778
+ },
779
+ cpuArchitecture: "Test string",
780
+ cpuName: "Test string",
781
+ cpuSocketCount: 42,
782
+ cpuThreadCount: 42,
783
+ firmwareType: "Test string",
784
+ hyperthreading: "Test string",
785
+ vendor: "Test string",
786
+ },
787
+ coreCount: 42,
788
+ createTime: "Test string",
789
+ disks: {
790
+ disks: {
791
+ entries: [
792
+ {
793
+ capacityBytes: "Test string",
794
+ diskLabel: "Test string",
795
+ diskLabelType: "Test string",
796
+ freeBytes: "Test string",
797
+ hwAddress: "Test string",
798
+ interfaceType: "Test string",
799
+ partitions: {
800
+ entries: [
801
+ {
802
+ capacityBytes: "Test string",
803
+ fileSystem: "Test string",
804
+ freeBytes: "Test string",
805
+ mountPoint: "Test string",
806
+ subPartitions: undefined,
807
+ type: "Test string",
808
+ uuid: "Test string",
809
+ }
810
+ ],
811
+ },
812
+ vmware: {
813
+ backingType: "Test string",
814
+ rdmCompatibility: "Test string",
815
+ shared: true,
816
+ vmdkMode: "Test string",
817
+ },
818
+ }
819
+ ],
820
+ },
821
+ totalCapacityBytes: "Test string",
822
+ totalFreeBytes: "Test string",
823
+ },
824
+ guestOs: {
825
+ config: {
826
+ fstab: {
827
+ entries: [
828
+ {
829
+ file: "Test string",
830
+ freq: 42,
831
+ mntops: "Test string",
832
+ passno: 42,
833
+ spec: "Test string",
834
+ vfstype: "Test string",
835
+ }
836
+ ],
837
+ },
838
+ hosts: {
839
+ entries: [
840
+ {
841
+ hostNames: [
842
+ "Test string"
843
+ ],
844
+ ip: "Test string",
845
+ }
846
+ ],
847
+ },
848
+ issue: "Test string",
849
+ nfsExports: {
850
+ entries: [
851
+ {
852
+ exportDirectory: "Test string",
853
+ hosts: [
854
+ "Test string"
855
+ ],
856
+ }
857
+ ],
858
+ },
859
+ selinuxMode: "Test string",
860
+ },
861
+ family: "Test string",
862
+ osName: "Test string",
863
+ runtime: {
864
+ domain: "Test string",
865
+ installedApps: {
866
+ entries: [
867
+ {
868
+ applicationName: "Test string",
869
+ installTime: "Test string",
870
+ path: "Test string",
871
+ vendor: "Test string",
872
+ version: "Test string",
873
+ }
874
+ ],
875
+ },
876
+ lastBootTime: "Test string",
877
+ machineName: "Test string",
878
+ network: {
879
+ connections: {
880
+ entries: [
881
+ {
882
+ localIpAddress: "Test string",
883
+ localPort: 42,
884
+ pid: "Test string",
885
+ processName: "Test string",
886
+ protocol: "Test string",
887
+ remoteIpAddress: "Test string",
888
+ remotePort: 42,
889
+ state: "Test string",
890
+ }
891
+ ],
892
+ },
893
+ scanTime: "Test string",
894
+ },
895
+ openFileList: {
896
+ entries: [
897
+ {
898
+ command: "Test string",
899
+ filePath: "Test string",
900
+ fileType: "Test string",
901
+ user: "Test string",
902
+ }
903
+ ],
904
+ },
905
+ processes: {
906
+ entries: [
907
+ {
908
+ attributes: {
909
+ A: "Test string"
910
+ },
911
+ cmdline: "Test string",
912
+ exePath: "Test string",
913
+ pid: "Test string",
914
+ user: "Test string",
915
+ }
916
+ ],
917
+ },
918
+ services: {
919
+ entries: [
920
+ {
921
+ cmdline: "Test string",
922
+ exePath: "Test string",
923
+ pid: "Test string",
924
+ serviceName: "Test string",
925
+ startMode: "Test string",
926
+ state: "Test string",
927
+ }
928
+ ],
929
+ },
930
+ },
931
+ version: "Test string",
932
+ },
933
+ machineName: "Test string",
934
+ memoryMb: 42,
935
+ network: {
936
+ adapters: {
937
+ entries: [
938
+ {
939
+ adapterType: "Test string",
940
+ addresses: {
941
+ entries: [
942
+ {
943
+ assignment: "Test string",
944
+ bcast: "Test string",
945
+ fqdn: "Test string",
946
+ ipAddress: "Test string",
947
+ subnetMask: "Test string",
948
+ }
949
+ ],
950
+ },
951
+ macAddress: "Test string",
952
+ }
953
+ ],
954
+ },
955
+ primaryIpAddress: "Test string",
956
+ primaryMacAddress: "Test string",
957
+ publicIpAddress: "Test string",
958
+ },
959
+ platform: {
960
+ awsEc2Details: {
961
+ location: "Test string",
962
+ machineTypeLabel: "Test string",
963
+ },
964
+ azureVmDetails: {
965
+ location: "Test string",
966
+ machineTypeLabel: "Test string",
967
+ provisioningState: "Test string",
968
+ },
969
+ genericDetails: {
970
+ location: "Test string",
971
+ },
972
+ physicalDetails: {
973
+ location: "Test string",
974
+ },
975
+ vmwareDetails: {
976
+ esxVersion: "Test string",
977
+ osid: "Test string",
978
+ vcenterFolder: "Test string",
979
+ vcenterUri: "Test string",
980
+ vcenterVersion: "Test string",
981
+ vcenterVmId: "Test string",
982
+ },
983
+ },
984
+ powerState: "Test string",
985
+ uuid: "Test string",
986
+ },
987
+ performanceSamples: [
988
+ {
989
+ cpu: {
990
+ utilizedPercentage: 42,
991
+ },
992
+ disk: {
993
+ averageIops: 42,
994
+ },
995
+ memory: {
996
+ utilizedPercentage: 42,
997
+ },
998
+ network: {
999
+ averageEgressBps: 42,
1000
+ averageIngressBps: 42,
1001
+ },
1002
+ sampleTime: "Test string",
1003
+ }
1004
+ ],
1005
+ reportTime: "Test string",
1006
+ traceToken: "Test string",
1007
+ }
1008
+ ],
1009
+ });
1010
+ /** Adds assets to a group. */
1011
+ await gapi.client.migrationcenter.projects.locations.groups.addAssets({
1012
+ group: "Test string",
1013
+ }, {
1014
+ allowExisting: true,
1015
+ assets: {
1016
+ assetIds: [
1017
+ "Test string"
1018
+ ],
1019
+ },
1020
+ requestId: "Test string",
1021
+ });
1022
+ /** Creates a new group in a given project and location. */
1023
+ await gapi.client.migrationcenter.projects.locations.groups.create({
1024
+ groupId: "Test string",
1025
+ parent: "Test string",
1026
+ requestId: "Test string",
1027
+ }, {
1028
+ createTime: "Test string",
1029
+ description: "Test string",
1030
+ displayName: "Test string",
1031
+ labels: {
1032
+ A: "Test string"
1033
+ },
1034
+ name: "Test string",
1035
+ updateTime: "Test string",
1036
+ });
1037
+ /** Deletes a group. */
1038
+ await gapi.client.migrationcenter.projects.locations.groups.delete({
1039
+ name: "Test string",
1040
+ requestId: "Test string",
1041
+ });
1042
+ /** Gets the details of a group. */
1043
+ await gapi.client.migrationcenter.projects.locations.groups.get({
1044
+ name: "Test string",
1045
+ });
1046
+ /** Lists all groups in a given project and location. */
1047
+ await gapi.client.migrationcenter.projects.locations.groups.list({
1048
+ filter: "Test string",
1049
+ orderBy: "Test string",
1050
+ pageSize: 42,
1051
+ pageToken: "Test string",
1052
+ parent: "Test string",
1053
+ });
1054
+ /** Updates the parameters of a group. */
1055
+ await gapi.client.migrationcenter.projects.locations.groups.patch({
1056
+ name: "Test string",
1057
+ requestId: "Test string",
1058
+ updateMask: "Test string",
1059
+ }, {
1060
+ createTime: "Test string",
1061
+ description: "Test string",
1062
+ displayName: "Test string",
1063
+ labels: {
1064
+ A: "Test string"
1065
+ },
1066
+ name: "Test string",
1067
+ updateTime: "Test string",
1068
+ });
1069
+ /** Removes assets from a group. */
1070
+ await gapi.client.migrationcenter.projects.locations.groups.removeAssets({
1071
+ group: "Test string",
1072
+ }, {
1073
+ allowMissing: true,
1074
+ assets: {
1075
+ assetIds: [
1076
+ "Test string"
1077
+ ],
1078
+ },
1079
+ requestId: "Test string",
1080
+ });
1081
+ /** Creates an import job. */
1082
+ await gapi.client.migrationcenter.projects.locations.importJobs.create({
1083
+ importJobId: "Test string",
1084
+ parent: "Test string",
1085
+ requestId: "Test string",
1086
+ }, {
1087
+ assetSource: "Test string",
1088
+ completeTime: "Test string",
1089
+ createTime: "Test string",
1090
+ displayName: "Test string",
1091
+ executionReport: {
1092
+ executionErrors: {
1093
+ fileValidations: [
1094
+ {
1095
+ fileErrors: [
1096
+ {
1097
+ errorDetails: "Test string",
1098
+ severity: "Test string",
1099
+ }
1100
+ ],
1101
+ fileName: "Test string",
1102
+ partialReport: true,
1103
+ rowErrors: [
1104
+ {
1105
+ errors: [
1106
+ {
1107
+ errorDetails: "Test string",
1108
+ severity: "Test string",
1109
+ }
1110
+ ],
1111
+ rowNumber: 42,
1112
+ vmName: "Test string",
1113
+ vmUuid: "Test string",
1114
+ }
1115
+ ],
1116
+ }
1117
+ ],
1118
+ jobErrors: [
1119
+ {
1120
+ errorDetails: "Test string",
1121
+ severity: "Test string",
1122
+ }
1123
+ ],
1124
+ },
1125
+ framesReported: 42,
1126
+ totalRowsCount: 42,
1127
+ },
1128
+ labels: {
1129
+ A: "Test string"
1130
+ },
1131
+ name: "Test string",
1132
+ state: "Test string",
1133
+ updateTime: "Test string",
1134
+ validationReport: {
1135
+ fileValidations: [
1136
+ {
1137
+ fileErrors: [
1138
+ {
1139
+ errorDetails: "Test string",
1140
+ severity: "Test string",
1141
+ }
1142
+ ],
1143
+ fileName: "Test string",
1144
+ partialReport: true,
1145
+ rowErrors: [
1146
+ {
1147
+ errors: [
1148
+ {
1149
+ errorDetails: "Test string",
1150
+ severity: "Test string",
1151
+ }
1152
+ ],
1153
+ rowNumber: 42,
1154
+ vmName: "Test string",
1155
+ vmUuid: "Test string",
1156
+ }
1157
+ ],
1158
+ }
1159
+ ],
1160
+ jobErrors: [
1161
+ {
1162
+ errorDetails: "Test string",
1163
+ severity: "Test string",
1164
+ }
1165
+ ],
1166
+ },
1167
+ });
1168
+ /** Deletes an import job. */
1169
+ await gapi.client.migrationcenter.projects.locations.importJobs.delete({
1170
+ force: true,
1171
+ name: "Test string",
1172
+ requestId: "Test string",
1173
+ });
1174
+ /** Gets the details of an import job. */
1175
+ await gapi.client.migrationcenter.projects.locations.importJobs.get({
1176
+ name: "Test string",
1177
+ view: "Test string",
1178
+ });
1179
+ /** Lists all import jobs. */
1180
+ await gapi.client.migrationcenter.projects.locations.importJobs.list({
1181
+ filter: "Test string",
1182
+ orderBy: "Test string",
1183
+ pageSize: 42,
1184
+ pageToken: "Test string",
1185
+ parent: "Test string",
1186
+ view: "Test string",
1187
+ });
1188
+ /** Updates an import job. */
1189
+ await gapi.client.migrationcenter.projects.locations.importJobs.patch({
1190
+ name: "Test string",
1191
+ requestId: "Test string",
1192
+ updateMask: "Test string",
1193
+ }, {
1194
+ assetSource: "Test string",
1195
+ completeTime: "Test string",
1196
+ createTime: "Test string",
1197
+ displayName: "Test string",
1198
+ executionReport: {
1199
+ executionErrors: {
1200
+ fileValidations: [
1201
+ {
1202
+ fileErrors: [
1203
+ {
1204
+ errorDetails: "Test string",
1205
+ severity: "Test string",
1206
+ }
1207
+ ],
1208
+ fileName: "Test string",
1209
+ partialReport: true,
1210
+ rowErrors: [
1211
+ {
1212
+ errors: [
1213
+ {
1214
+ errorDetails: "Test string",
1215
+ severity: "Test string",
1216
+ }
1217
+ ],
1218
+ rowNumber: 42,
1219
+ vmName: "Test string",
1220
+ vmUuid: "Test string",
1221
+ }
1222
+ ],
1223
+ }
1224
+ ],
1225
+ jobErrors: [
1226
+ {
1227
+ errorDetails: "Test string",
1228
+ severity: "Test string",
1229
+ }
1230
+ ],
1231
+ },
1232
+ framesReported: 42,
1233
+ totalRowsCount: 42,
1234
+ },
1235
+ labels: {
1236
+ A: "Test string"
1237
+ },
1238
+ name: "Test string",
1239
+ state: "Test string",
1240
+ updateTime: "Test string",
1241
+ validationReport: {
1242
+ fileValidations: [
1243
+ {
1244
+ fileErrors: [
1245
+ {
1246
+ errorDetails: "Test string",
1247
+ severity: "Test string",
1248
+ }
1249
+ ],
1250
+ fileName: "Test string",
1251
+ partialReport: true,
1252
+ rowErrors: [
1253
+ {
1254
+ errors: [
1255
+ {
1256
+ errorDetails: "Test string",
1257
+ severity: "Test string",
1258
+ }
1259
+ ],
1260
+ rowNumber: 42,
1261
+ vmName: "Test string",
1262
+ vmUuid: "Test string",
1263
+ }
1264
+ ],
1265
+ }
1266
+ ],
1267
+ jobErrors: [
1268
+ {
1269
+ errorDetails: "Test string",
1270
+ severity: "Test string",
1271
+ }
1272
+ ],
1273
+ },
1274
+ });
1275
+ /** Runs an import job. */
1276
+ await gapi.client.migrationcenter.projects.locations.importJobs.run({
1277
+ name: "Test string",
1278
+ }, {
1279
+ requestId: "Test string",
1280
+ });
1281
+ /** Validates an import job. */
1282
+ await gapi.client.migrationcenter.projects.locations.importJobs.validate({
1283
+ name: "Test string",
1284
+ }, {
1285
+ requestId: "Test string",
1286
+ });
1287
+ /** Creates an import data file. */
1288
+ await gapi.client.migrationcenter.projects.locations.importJobs.importDataFiles.create({
1289
+ importDataFileId: "Test string",
1290
+ parent: "Test string",
1291
+ requestId: "Test string",
1292
+ }, {
1293
+ createTime: "Test string",
1294
+ displayName: "Test string",
1295
+ format: "Test string",
1296
+ name: "Test string",
1297
+ state: "Test string",
1298
+ uploadFileInfo: {
1299
+ headers: {
1300
+ A: "Test string"
1301
+ },
1302
+ signedUri: "Test string",
1303
+ uriExpirationTime: "Test string",
1304
+ },
1305
+ });
1306
+ /** Delete an import data file. */
1307
+ await gapi.client.migrationcenter.projects.locations.importJobs.importDataFiles.delete({
1308
+ name: "Test string",
1309
+ requestId: "Test string",
1310
+ });
1311
+ /** Gets an import data file. */
1312
+ await gapi.client.migrationcenter.projects.locations.importJobs.importDataFiles.get({
1313
+ name: "Test string",
1314
+ });
1315
+ /** List import data files. */
1316
+ await gapi.client.migrationcenter.projects.locations.importJobs.importDataFiles.list({
1317
+ filter: "Test string",
1318
+ orderBy: "Test string",
1319
+ pageSize: 42,
1320
+ pageToken: "Test string",
1321
+ parent: "Test string",
1322
+ });
1323
+ /**
1324
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this
1325
+ * method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation
1326
+ * completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of
1327
+ * 1, corresponding to `Code.CANCELLED`.
1328
+ */
1329
+ await gapi.client.migrationcenter.projects.locations.operations.cancel({
1330
+ name: "Test string",
1331
+ }, {
1332
+ });
1333
+ /**
1334
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support
1335
+ * this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1336
+ */
1337
+ await gapi.client.migrationcenter.projects.locations.operations.delete({
1338
+ name: "Test string",
1339
+ });
1340
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1341
+ await gapi.client.migrationcenter.projects.locations.operations.get({
1342
+ name: "Test string",
1343
+ });
1344
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1345
+ await gapi.client.migrationcenter.projects.locations.operations.list({
1346
+ filter: "Test string",
1347
+ name: "Test string",
1348
+ pageSize: 42,
1349
+ pageToken: "Test string",
1350
+ });
1351
+ /** Creates a new preference set in a given project and location. */
1352
+ await gapi.client.migrationcenter.projects.locations.preferenceSets.create({
1353
+ parent: "Test string",
1354
+ preferenceSetId: "Test string",
1355
+ requestId: "Test string",
1356
+ }, {
1357
+ createTime: "Test string",
1358
+ description: "Test string",
1359
+ displayName: "Test string",
1360
+ name: "Test string",
1361
+ updateTime: "Test string",
1362
+ virtualMachinePreferences: {
1363
+ commitmentPlan: "Test string",
1364
+ computeEnginePreferences: {
1365
+ licenseType: "Test string",
1366
+ machinePreferences: {
1367
+ allowedMachineSeries: [
1368
+ {
1369
+ code: "Test string",
1370
+ }
1371
+ ],
1372
+ },
1373
+ },
1374
+ regionPreferences: {
1375
+ preferredRegions: [
1376
+ "Test string"
1377
+ ],
1378
+ },
1379
+ sizingOptimizationStrategy: "Test string",
1380
+ soleTenancyPreferences: {
1381
+ commitmentPlan: "Test string",
1382
+ cpuOvercommitRatio: 42,
1383
+ hostMaintenancePolicy: "Test string",
1384
+ nodeTypes: [
1385
+ {
1386
+ nodeName: "Test string",
1387
+ }
1388
+ ],
1389
+ },
1390
+ targetProduct: "Test string",
1391
+ vmwareEnginePreferences: {
1392
+ commitmentPlan: "Test string",
1393
+ cpuOvercommitRatio: 42,
1394
+ memoryOvercommitRatio: 42,
1395
+ storageDeduplicationCompressionRatio: 42,
1396
+ },
1397
+ },
1398
+ });
1399
+ /** Deletes a preference set. */
1400
+ await gapi.client.migrationcenter.projects.locations.preferenceSets.delete({
1401
+ name: "Test string",
1402
+ requestId: "Test string",
1403
+ });
1404
+ /** Gets the details of a preference set. */
1405
+ await gapi.client.migrationcenter.projects.locations.preferenceSets.get({
1406
+ name: "Test string",
1407
+ });
1408
+ /** Lists all the preference sets in a given project and location. */
1409
+ await gapi.client.migrationcenter.projects.locations.preferenceSets.list({
1410
+ orderBy: "Test string",
1411
+ pageSize: 42,
1412
+ pageToken: "Test string",
1413
+ parent: "Test string",
1414
+ });
1415
+ /** Updates the parameters of a preference set. */
1416
+ await gapi.client.migrationcenter.projects.locations.preferenceSets.patch({
1417
+ name: "Test string",
1418
+ requestId: "Test string",
1419
+ updateMask: "Test string",
1420
+ }, {
1421
+ createTime: "Test string",
1422
+ description: "Test string",
1423
+ displayName: "Test string",
1424
+ name: "Test string",
1425
+ updateTime: "Test string",
1426
+ virtualMachinePreferences: {
1427
+ commitmentPlan: "Test string",
1428
+ computeEnginePreferences: {
1429
+ licenseType: "Test string",
1430
+ machinePreferences: {
1431
+ allowedMachineSeries: [
1432
+ {
1433
+ code: "Test string",
1434
+ }
1435
+ ],
1436
+ },
1437
+ },
1438
+ regionPreferences: {
1439
+ preferredRegions: [
1440
+ "Test string"
1441
+ ],
1442
+ },
1443
+ sizingOptimizationStrategy: "Test string",
1444
+ soleTenancyPreferences: {
1445
+ commitmentPlan: "Test string",
1446
+ cpuOvercommitRatio: 42,
1447
+ hostMaintenancePolicy: "Test string",
1448
+ nodeTypes: [
1449
+ {
1450
+ nodeName: "Test string",
1451
+ }
1452
+ ],
1453
+ },
1454
+ targetProduct: "Test string",
1455
+ vmwareEnginePreferences: {
1456
+ commitmentPlan: "Test string",
1457
+ cpuOvercommitRatio: 42,
1458
+ memoryOvercommitRatio: 42,
1459
+ storageDeduplicationCompressionRatio: 42,
1460
+ },
1461
+ },
1462
+ });
1463
+ /** Creates a report configuration. */
1464
+ await gapi.client.migrationcenter.projects.locations.reportConfigs.create({
1465
+ parent: "Test string",
1466
+ reportConfigId: "Test string",
1467
+ requestId: "Test string",
1468
+ }, {
1469
+ createTime: "Test string",
1470
+ description: "Test string",
1471
+ displayName: "Test string",
1472
+ groupPreferencesetAssignments: [
1473
+ {
1474
+ group: "Test string",
1475
+ preferenceSet: "Test string",
1476
+ }
1477
+ ],
1478
+ name: "Test string",
1479
+ updateTime: "Test string",
1480
+ });
1481
+ /** Deletes a ReportConfig. */
1482
+ await gapi.client.migrationcenter.projects.locations.reportConfigs.delete({
1483
+ force: true,
1484
+ name: "Test string",
1485
+ requestId: "Test string",
1486
+ });
1487
+ /** Gets details of a single ReportConfig. */
1488
+ await gapi.client.migrationcenter.projects.locations.reportConfigs.get({
1489
+ name: "Test string",
1490
+ });
1491
+ /** Lists ReportConfigs in a given project and location. */
1492
+ await gapi.client.migrationcenter.projects.locations.reportConfigs.list({
1493
+ filter: "Test string",
1494
+ orderBy: "Test string",
1495
+ pageSize: 42,
1496
+ pageToken: "Test string",
1497
+ parent: "Test string",
1498
+ });
1499
+ /** Creates a report. */
1500
+ await gapi.client.migrationcenter.projects.locations.reportConfigs.reports.create({
1501
+ parent: "Test string",
1502
+ reportId: "Test string",
1503
+ requestId: "Test string",
1504
+ }, {
1505
+ createTime: "Test string",
1506
+ description: "Test string",
1507
+ displayName: "Test string",
1508
+ name: "Test string",
1509
+ state: "Test string",
1510
+ summary: {
1511
+ allAssetsStats: {
1512
+ coreCountHistogram: {
1513
+ buckets: [
1514
+ {
1515
+ count: "Test string",
1516
+ lowerBound: "Test string",
1517
+ upperBound: "Test string",
1518
+ }
1519
+ ],
1520
+ },
1521
+ memoryBytesHistogram: {
1522
+ buckets: [
1523
+ {
1524
+ count: "Test string",
1525
+ lowerBound: "Test string",
1526
+ upperBound: "Test string",
1527
+ }
1528
+ ],
1529
+ },
1530
+ memoryUtilizationChart: {
1531
+ free: "Test string",
1532
+ used: "Test string",
1533
+ },
1534
+ operatingSystem: {
1535
+ dataPoints: [
1536
+ {
1537
+ label: "Test string",
1538
+ value: 42,
1539
+ }
1540
+ ],
1541
+ },
1542
+ storageBytesHistogram: {
1543
+ buckets: [
1544
+ {
1545
+ count: "Test string",
1546
+ lowerBound: "Test string",
1547
+ upperBound: "Test string",
1548
+ }
1549
+ ],
1550
+ },
1551
+ storageUtilizationChart: {
1552
+ free: "Test string",
1553
+ used: "Test string",
1554
+ },
1555
+ totalAssets: "Test string",
1556
+ totalCores: "Test string",
1557
+ totalMemoryBytes: "Test string",
1558
+ totalStorageBytes: "Test string",
1559
+ },
1560
+ groupFindings: [
1561
+ {
1562
+ assetAggregateStats: {
1563
+ coreCountHistogram: {
1564
+ buckets: [
1565
+ {
1566
+ count: "Test string",
1567
+ lowerBound: "Test string",
1568
+ upperBound: "Test string",
1569
+ }
1570
+ ],
1571
+ },
1572
+ memoryBytesHistogram: {
1573
+ buckets: [
1574
+ {
1575
+ count: "Test string",
1576
+ lowerBound: "Test string",
1577
+ upperBound: "Test string",
1578
+ }
1579
+ ],
1580
+ },
1581
+ memoryUtilizationChart: {
1582
+ free: "Test string",
1583
+ used: "Test string",
1584
+ },
1585
+ operatingSystem: {
1586
+ dataPoints: [
1587
+ {
1588
+ label: "Test string",
1589
+ value: 42,
1590
+ }
1591
+ ],
1592
+ },
1593
+ storageBytesHistogram: {
1594
+ buckets: [
1595
+ {
1596
+ count: "Test string",
1597
+ lowerBound: "Test string",
1598
+ upperBound: "Test string",
1599
+ }
1600
+ ],
1601
+ },
1602
+ storageUtilizationChart: {
1603
+ free: "Test string",
1604
+ used: "Test string",
1605
+ },
1606
+ totalAssets: "Test string",
1607
+ totalCores: "Test string",
1608
+ totalMemoryBytes: "Test string",
1609
+ totalStorageBytes: "Test string",
1610
+ },
1611
+ description: "Test string",
1612
+ displayName: "Test string",
1613
+ overlappingAssetCount: "Test string",
1614
+ preferenceSetFindings: [
1615
+ {
1616
+ computeEngineFinding: {
1617
+ allocatedAssetCount: "Test string",
1618
+ allocatedDiskTypes: [
1619
+ "Test string"
1620
+ ],
1621
+ allocatedRegions: [
1622
+ "Test string"
1623
+ ],
1624
+ machineSeriesAllocations: [
1625
+ {
1626
+ allocatedAssetCount: "Test string",
1627
+ machineSeries: {
1628
+ code: "Test string",
1629
+ },
1630
+ }
1631
+ ],
1632
+ },
1633
+ description: "Test string",
1634
+ displayName: "Test string",
1635
+ machinePreferences: {
1636
+ commitmentPlan: "Test string",
1637
+ computeEnginePreferences: {
1638
+ licenseType: "Test string",
1639
+ machinePreferences: {
1640
+ allowedMachineSeries: [
1641
+ {
1642
+ code: "Test string",
1643
+ }
1644
+ ],
1645
+ },
1646
+ },
1647
+ regionPreferences: {
1648
+ preferredRegions: [
1649
+ "Test string"
1650
+ ],
1651
+ },
1652
+ sizingOptimizationStrategy: "Test string",
1653
+ soleTenancyPreferences: {
1654
+ commitmentPlan: "Test string",
1655
+ cpuOvercommitRatio: 42,
1656
+ hostMaintenancePolicy: "Test string",
1657
+ nodeTypes: [
1658
+ {
1659
+ nodeName: "Test string",
1660
+ }
1661
+ ],
1662
+ },
1663
+ targetProduct: "Test string",
1664
+ vmwareEnginePreferences: {
1665
+ commitmentPlan: "Test string",
1666
+ cpuOvercommitRatio: 42,
1667
+ memoryOvercommitRatio: 42,
1668
+ storageDeduplicationCompressionRatio: 42,
1669
+ },
1670
+ },
1671
+ monthlyCostCompute: {
1672
+ currencyCode: "Test string",
1673
+ nanos: 42,
1674
+ units: "Test string",
1675
+ },
1676
+ monthlyCostNetworkEgress: {
1677
+ currencyCode: "Test string",
1678
+ nanos: 42,
1679
+ units: "Test string",
1680
+ },
1681
+ monthlyCostOsLicense: {
1682
+ currencyCode: "Test string",
1683
+ nanos: 42,
1684
+ units: "Test string",
1685
+ },
1686
+ monthlyCostOther: {
1687
+ currencyCode: "Test string",
1688
+ nanos: 42,
1689
+ units: "Test string",
1690
+ },
1691
+ monthlyCostStorage: {
1692
+ currencyCode: "Test string",
1693
+ nanos: 42,
1694
+ units: "Test string",
1695
+ },
1696
+ monthlyCostTotal: {
1697
+ currencyCode: "Test string",
1698
+ nanos: 42,
1699
+ units: "Test string",
1700
+ },
1701
+ soleTenantFinding: {
1702
+ allocatedAssetCount: "Test string",
1703
+ allocatedRegions: [
1704
+ "Test string"
1705
+ ],
1706
+ nodeAllocations: [
1707
+ {
1708
+ allocatedAssetCount: "Test string",
1709
+ node: {
1710
+ nodeName: "Test string",
1711
+ },
1712
+ nodeCount: "Test string",
1713
+ }
1714
+ ],
1715
+ },
1716
+ vmwareEngineFinding: {
1717
+ allocatedAssetCount: "Test string",
1718
+ allocatedRegions: [
1719
+ "Test string"
1720
+ ],
1721
+ nodeAllocations: [
1722
+ {
1723
+ allocatedAssetCount: "Test string",
1724
+ nodeCount: "Test string",
1725
+ vmwareNode: {
1726
+ code: "Test string",
1727
+ },
1728
+ }
1729
+ ],
1730
+ },
1731
+ }
1732
+ ],
1733
+ }
1734
+ ],
1735
+ },
1736
+ type: "Test string",
1737
+ updateTime: "Test string",
1738
+ });
1739
+ /** Deletes a Report. */
1740
+ await gapi.client.migrationcenter.projects.locations.reportConfigs.reports.delete({
1741
+ name: "Test string",
1742
+ requestId: "Test string",
1743
+ });
1744
+ /** Gets details of a single Report. */
1745
+ await gapi.client.migrationcenter.projects.locations.reportConfigs.reports.get({
1746
+ name: "Test string",
1747
+ view: "Test string",
1748
+ });
1749
+ /** Lists Reports in a given ReportConfig. */
1750
+ await gapi.client.migrationcenter.projects.locations.reportConfigs.reports.list({
1751
+ filter: "Test string",
1752
+ orderBy: "Test string",
1753
+ pageSize: 42,
1754
+ pageToken: "Test string",
1755
+ parent: "Test string",
1756
+ view: "Test string",
1757
+ });
1758
+ /** Creates a new source in a given project and location. */
1759
+ await gapi.client.migrationcenter.projects.locations.sources.create({
1760
+ parent: "Test string",
1761
+ requestId: "Test string",
1762
+ sourceId: "Test string",
1763
+ }, {
1764
+ createTime: "Test string",
1765
+ description: "Test string",
1766
+ displayName: "Test string",
1767
+ errorFrameCount: 42,
1768
+ managed: true,
1769
+ name: "Test string",
1770
+ pendingFrameCount: 42,
1771
+ priority: 42,
1772
+ state: "Test string",
1773
+ type: "Test string",
1774
+ updateTime: "Test string",
1775
+ });
1776
+ /** Deletes a source. */
1777
+ await gapi.client.migrationcenter.projects.locations.sources.delete({
1778
+ name: "Test string",
1779
+ requestId: "Test string",
1780
+ });
1781
+ /** Gets the details of a source. */
1782
+ await gapi.client.migrationcenter.projects.locations.sources.get({
1783
+ name: "Test string",
1784
+ });
1785
+ /** Lists all the sources in a given project and location. */
1786
+ await gapi.client.migrationcenter.projects.locations.sources.list({
1787
+ filter: "Test string",
1788
+ orderBy: "Test string",
1789
+ pageSize: 42,
1790
+ pageToken: "Test string",
1791
+ parent: "Test string",
1792
+ });
1793
+ /** Updates the parameters of a source. */
1794
+ await gapi.client.migrationcenter.projects.locations.sources.patch({
1795
+ name: "Test string",
1796
+ requestId: "Test string",
1797
+ updateMask: "Test string",
1798
+ }, {
1799
+ createTime: "Test string",
1800
+ description: "Test string",
1801
+ displayName: "Test string",
1802
+ errorFrameCount: 42,
1803
+ managed: true,
1804
+ name: "Test string",
1805
+ pendingFrameCount: 42,
1806
+ priority: 42,
1807
+ state: "Test string",
1808
+ type: "Test string",
1809
+ updateTime: "Test string",
1810
+ });
1811
+ /** Gets the details of an error frame. */
1812
+ await gapi.client.migrationcenter.projects.locations.sources.errorFrames.get({
1813
+ name: "Test string",
1814
+ view: "Test string",
1815
+ });
1816
+ /** Lists all error frames in a given source and location. */
1817
+ await gapi.client.migrationcenter.projects.locations.sources.errorFrames.list({
1818
+ pageSize: 42,
1819
+ pageToken: "Test string",
1820
+ parent: "Test string",
1821
+ view: "Test string",
1822
+ });
1823
+ }
1824
+ });