google-apis-vmmigration_v1alpha1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,935 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module VmmigrationV1alpha1
24
+
25
+ class AddGroupMigrationRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AppliedLicense
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class CancelCloneJobRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class CancelCutoverJobRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CancelOperationRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CloneJob
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ComputeEngineTargetDefaults
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ComputeEngineTargetDetails
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ComputeScheduling
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CutoverJob
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DatacenterConnector
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class Empty
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class FetchInventoryResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class FinalizeMigrationRequest
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Group
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Link
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListCloneJobsResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListCutoverJobsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListDatacenterConnectorsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListGroupsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListLocationsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListMigratingVmsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ListOperationsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ListSourcesResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ListTargetProjectsResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ListUtilizationReportsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class LocalizedMessage
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Location
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class MigratingVm
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class MigrationError
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class NetworkInterface
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Operation
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class OperationMetadata
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class PauseMigrationRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class RemoveGroupMigrationRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ReplicationCycle
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ReplicationSync
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ResumeMigrationRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class SchedulePolicy
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class SchedulingNodeAffinity
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Source
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class StartMigrationRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class Status
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class TargetProject
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class TargetVmDetails
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class UtilizationReport
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class VmUtilizationInfo
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class VmUtilizationMetrics
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class VmwareSourceDetails
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class VmwareVmDetails
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class VmwareVmsDetails
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class AddGroupMigrationRequest
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :migrating_vm, as: 'migratingVm'
335
+ end
336
+ end
337
+
338
+ class AppliedLicense
339
+ # @private
340
+ class Representation < Google::Apis::Core::JsonRepresentation
341
+ property :os_license, as: 'osLicense'
342
+ property :type, as: 'type'
343
+ end
344
+ end
345
+
346
+ class CancelCloneJobRequest
347
+ # @private
348
+ class Representation < Google::Apis::Core::JsonRepresentation
349
+ end
350
+ end
351
+
352
+ class CancelCutoverJobRequest
353
+ # @private
354
+ class Representation < Google::Apis::Core::JsonRepresentation
355
+ end
356
+ end
357
+
358
+ class CancelOperationRequest
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ end
362
+ end
363
+
364
+ class CloneJob
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails::Representation
368
+
369
+ property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
370
+
371
+ property :create_time, as: 'createTime'
372
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
373
+
374
+ property :name, as: 'name'
375
+ property :state, as: 'state'
376
+ property :state_time, as: 'stateTime'
377
+ property :target_details, as: 'targetDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
378
+
379
+ end
380
+ end
381
+
382
+ class ComputeEngineTargetDefaults
383
+ # @private
384
+ class Representation < Google::Apis::Core::JsonRepresentation
385
+ property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation
386
+
387
+ property :boot_option, as: 'bootOption'
388
+ property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
389
+
390
+ property :disk_type, as: 'diskType'
391
+ hash :labels, as: 'labels'
392
+ property :license_type, as: 'licenseType'
393
+ property :machine_type, as: 'machineType'
394
+ property :machine_type_series, as: 'machineTypeSeries'
395
+ hash :metadata, as: 'metadata'
396
+ collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1alpha1::NetworkInterface, decorator: Google::Apis::VmmigrationV1alpha1::NetworkInterface::Representation
397
+
398
+ collection :network_tags, as: 'networkTags'
399
+ property :secure_boot, as: 'secureBoot'
400
+ property :service_account, as: 'serviceAccount'
401
+ property :target_project, as: 'targetProject'
402
+ property :vm_name, as: 'vmName'
403
+ property :zone, as: 'zone'
404
+ end
405
+ end
406
+
407
+ class ComputeEngineTargetDetails
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation
411
+
412
+ property :boot_option, as: 'bootOption'
413
+ property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
414
+
415
+ property :disk_type, as: 'diskType'
416
+ hash :labels, as: 'labels'
417
+ property :license_type, as: 'licenseType'
418
+ property :machine_type, as: 'machineType'
419
+ property :machine_type_series, as: 'machineTypeSeries'
420
+ hash :metadata, as: 'metadata'
421
+ collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1alpha1::NetworkInterface, decorator: Google::Apis::VmmigrationV1alpha1::NetworkInterface::Representation
422
+
423
+ collection :network_tags, as: 'networkTags'
424
+ property :project, as: 'project'
425
+ property :secure_boot, as: 'secureBoot'
426
+ property :service_account, as: 'serviceAccount'
427
+ property :vm_name, as: 'vmName'
428
+ property :zone, as: 'zone'
429
+ end
430
+ end
431
+
432
+ class ComputeScheduling
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ property :automatic_restart, as: 'automaticRestart'
436
+ property :min_node_cpus, as: 'minNodeCpus'
437
+ collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::VmmigrationV1alpha1::SchedulingNodeAffinity, decorator: Google::Apis::VmmigrationV1alpha1::SchedulingNodeAffinity::Representation
438
+
439
+ property :on_host_maintenance, as: 'onHostMaintenance'
440
+ property :restart_type, as: 'restartType'
441
+ end
442
+ end
443
+
444
+ class CutoverJob
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails::Representation
448
+
449
+ property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
450
+
451
+ property :create_time, as: 'createTime'
452
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
453
+
454
+ property :name, as: 'name'
455
+ property :progress, as: 'progress'
456
+ property :progress_percent, as: 'progressPercent'
457
+ property :state, as: 'state'
458
+ property :state_message, as: 'stateMessage'
459
+ property :state_time, as: 'stateTime'
460
+ property :target_details, as: 'targetDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
461
+
462
+ end
463
+ end
464
+
465
+ class DatacenterConnector
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ property :bucket, as: 'bucket'
469
+ property :create_time, as: 'createTime'
470
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
471
+
472
+ property :name, as: 'name'
473
+ property :registration_id, as: 'registrationId'
474
+ property :service_account, as: 'serviceAccount'
475
+ property :state, as: 'state'
476
+ property :state_time, as: 'stateTime'
477
+ property :update_time, as: 'updateTime'
478
+ property :version, as: 'version'
479
+ end
480
+ end
481
+
482
+ class Empty
483
+ # @private
484
+ class Representation < Google::Apis::Core::JsonRepresentation
485
+ end
486
+ end
487
+
488
+ class FetchInventoryResponse
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ property :update_time, as: 'updateTime'
492
+ property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails::Representation
493
+
494
+ end
495
+ end
496
+
497
+ class FinalizeMigrationRequest
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ end
501
+ end
502
+
503
+ class Group
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :create_time, as: 'createTime'
507
+ property :description, as: 'description'
508
+ property :display_name, as: 'displayName'
509
+ property :name, as: 'name'
510
+ property :update_time, as: 'updateTime'
511
+ end
512
+ end
513
+
514
+ class Link
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :description, as: 'description'
518
+ property :url, as: 'url'
519
+ end
520
+ end
521
+
522
+ class ListCloneJobsResponse
523
+ # @private
524
+ class Representation < Google::Apis::Core::JsonRepresentation
525
+ collection :clone_jobs, as: 'cloneJobs', class: Google::Apis::VmmigrationV1alpha1::CloneJob, decorator: Google::Apis::VmmigrationV1alpha1::CloneJob::Representation
526
+
527
+ property :next_page_token, as: 'nextPageToken'
528
+ collection :unreachable, as: 'unreachable'
529
+ end
530
+ end
531
+
532
+ class ListCutoverJobsResponse
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ collection :cutover_jobs, as: 'cutoverJobs', class: Google::Apis::VmmigrationV1alpha1::CutoverJob, decorator: Google::Apis::VmmigrationV1alpha1::CutoverJob::Representation
536
+
537
+ property :next_page_token, as: 'nextPageToken'
538
+ collection :unreachable, as: 'unreachable'
539
+ end
540
+ end
541
+
542
+ class ListDatacenterConnectorsResponse
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ collection :datacenter_connectors, as: 'datacenterConnectors', class: Google::Apis::VmmigrationV1alpha1::DatacenterConnector, decorator: Google::Apis::VmmigrationV1alpha1::DatacenterConnector::Representation
546
+
547
+ property :next_page_token, as: 'nextPageToken'
548
+ collection :unreachable, as: 'unreachable'
549
+ end
550
+ end
551
+
552
+ class ListGroupsResponse
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ collection :groups, as: 'groups', class: Google::Apis::VmmigrationV1alpha1::Group, decorator: Google::Apis::VmmigrationV1alpha1::Group::Representation
556
+
557
+ property :next_page_token, as: 'nextPageToken'
558
+ collection :unreachable, as: 'unreachable'
559
+ end
560
+ end
561
+
562
+ class ListLocationsResponse
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ collection :locations, as: 'locations', class: Google::Apis::VmmigrationV1alpha1::Location, decorator: Google::Apis::VmmigrationV1alpha1::Location::Representation
566
+
567
+ property :next_page_token, as: 'nextPageToken'
568
+ end
569
+ end
570
+
571
+ class ListMigratingVmsResponse
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ collection :migrating_vms, as: 'migratingVms', class: Google::Apis::VmmigrationV1alpha1::MigratingVm, decorator: Google::Apis::VmmigrationV1alpha1::MigratingVm::Representation
575
+
576
+ property :next_page_token, as: 'nextPageToken'
577
+ collection :unreachable, as: 'unreachable'
578
+ end
579
+ end
580
+
581
+ class ListOperationsResponse
582
+ # @private
583
+ class Representation < Google::Apis::Core::JsonRepresentation
584
+ property :next_page_token, as: 'nextPageToken'
585
+ collection :operations, as: 'operations', class: Google::Apis::VmmigrationV1alpha1::Operation, decorator: Google::Apis::VmmigrationV1alpha1::Operation::Representation
586
+
587
+ end
588
+ end
589
+
590
+ class ListSourcesResponse
591
+ # @private
592
+ class Representation < Google::Apis::Core::JsonRepresentation
593
+ property :next_page_token, as: 'nextPageToken'
594
+ collection :sources, as: 'sources', class: Google::Apis::VmmigrationV1alpha1::Source, decorator: Google::Apis::VmmigrationV1alpha1::Source::Representation
595
+
596
+ collection :unreachable, as: 'unreachable'
597
+ end
598
+ end
599
+
600
+ class ListTargetProjectsResponse
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ property :next_page_token, as: 'nextPageToken'
604
+ collection :target_projects, as: 'targetProjects', class: Google::Apis::VmmigrationV1alpha1::TargetProject, decorator: Google::Apis::VmmigrationV1alpha1::TargetProject::Representation
605
+
606
+ collection :unreachable, as: 'unreachable'
607
+ end
608
+ end
609
+
610
+ class ListUtilizationReportsResponse
611
+ # @private
612
+ class Representation < Google::Apis::Core::JsonRepresentation
613
+ property :next_page_token, as: 'nextPageToken'
614
+ collection :unreachable, as: 'unreachable'
615
+ collection :utilization_reports, as: 'utilizationReports', class: Google::Apis::VmmigrationV1alpha1::UtilizationReport, decorator: Google::Apis::VmmigrationV1alpha1::UtilizationReport::Representation
616
+
617
+ end
618
+ end
619
+
620
+ class LocalizedMessage
621
+ # @private
622
+ class Representation < Google::Apis::Core::JsonRepresentation
623
+ property :locale, as: 'locale'
624
+ property :message, as: 'message'
625
+ end
626
+ end
627
+
628
+ class Location
629
+ # @private
630
+ class Representation < Google::Apis::Core::JsonRepresentation
631
+ property :display_name, as: 'displayName'
632
+ hash :labels, as: 'labels'
633
+ property :location_id, as: 'locationId'
634
+ hash :metadata, as: 'metadata'
635
+ property :name, as: 'name'
636
+ end
637
+ end
638
+
639
+ class MigratingVm
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults::Representation
643
+
644
+ property :compute_engine_vm_defaults, as: 'computeEngineVmDefaults', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
645
+
646
+ property :create_time, as: 'createTime'
647
+ property :current_sync_info, as: 'currentSyncInfo', class: Google::Apis::VmmigrationV1alpha1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation
648
+
649
+ property :description, as: 'description'
650
+ property :display_name, as: 'displayName'
651
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
652
+
653
+ property :group, as: 'group'
654
+ hash :labels, as: 'labels'
655
+ property :last_sync, as: 'lastSync', class: Google::Apis::VmmigrationV1alpha1::ReplicationSync, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationSync::Representation
656
+
657
+ property :name, as: 'name'
658
+ property :policy, as: 'policy', class: Google::Apis::VmmigrationV1alpha1::SchedulePolicy, decorator: Google::Apis::VmmigrationV1alpha1::SchedulePolicy::Representation
659
+
660
+ collection :recent_clone_jobs, as: 'recentCloneJobs', class: Google::Apis::VmmigrationV1alpha1::CloneJob, decorator: Google::Apis::VmmigrationV1alpha1::CloneJob::Representation
661
+
662
+ collection :recent_cutover_jobs, as: 'recentCutoverJobs', class: Google::Apis::VmmigrationV1alpha1::CutoverJob, decorator: Google::Apis::VmmigrationV1alpha1::CutoverJob::Representation
663
+
664
+ property :source_vm_id, as: 'sourceVmId'
665
+ property :state, as: 'state'
666
+ property :state_time, as: 'stateTime'
667
+ property :target_defaults, as: 'targetDefaults', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
668
+
669
+ property :update_time, as: 'updateTime'
670
+ end
671
+ end
672
+
673
+ class MigrationError
674
+ # @private
675
+ class Representation < Google::Apis::Core::JsonRepresentation
676
+ property :action_item, as: 'actionItem', class: Google::Apis::VmmigrationV1alpha1::LocalizedMessage, decorator: Google::Apis::VmmigrationV1alpha1::LocalizedMessage::Representation
677
+
678
+ property :code, as: 'code'
679
+ property :error_message, as: 'errorMessage', class: Google::Apis::VmmigrationV1alpha1::LocalizedMessage, decorator: Google::Apis::VmmigrationV1alpha1::LocalizedMessage::Representation
680
+
681
+ property :error_time, as: 'errorTime'
682
+ collection :help_links, as: 'helpLinks', class: Google::Apis::VmmigrationV1alpha1::Link, decorator: Google::Apis::VmmigrationV1alpha1::Link::Representation
683
+
684
+ end
685
+ end
686
+
687
+ class NetworkInterface
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ property :external_ip, as: 'externalIp'
691
+ property :internal_ip, as: 'internalIp'
692
+ property :network, as: 'network'
693
+ property :subnetwork, as: 'subnetwork'
694
+ end
695
+ end
696
+
697
+ class Operation
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ property :done, as: 'done'
701
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
702
+
703
+ hash :metadata, as: 'metadata'
704
+ property :name, as: 'name'
705
+ hash :response, as: 'response'
706
+ end
707
+ end
708
+
709
+ class OperationMetadata
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ property :api_version, as: 'apiVersion'
713
+ property :create_time, as: 'createTime'
714
+ property :end_time, as: 'endTime'
715
+ property :requested_cancellation, as: 'requestedCancellation'
716
+ property :status_message, as: 'statusMessage'
717
+ property :target, as: 'target'
718
+ property :verb, as: 'verb'
719
+ end
720
+ end
721
+
722
+ class PauseMigrationRequest
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ end
726
+ end
727
+
728
+ class RemoveGroupMigrationRequest
729
+ # @private
730
+ class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :migrating_vm, as: 'migratingVm'
732
+ end
733
+ end
734
+
735
+ class ReplicationCycle
736
+ # @private
737
+ class Representation < Google::Apis::Core::JsonRepresentation
738
+ property :progress, as: 'progress'
739
+ property :progress_percent, as: 'progressPercent'
740
+ property :start_time, as: 'startTime'
741
+ end
742
+ end
743
+
744
+ class ReplicationSync
745
+ # @private
746
+ class Representation < Google::Apis::Core::JsonRepresentation
747
+ property :last_sync_time, as: 'lastSyncTime'
748
+ end
749
+ end
750
+
751
+ class ResumeMigrationRequest
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ end
755
+ end
756
+
757
+ class SchedulePolicy
758
+ # @private
759
+ class Representation < Google::Apis::Core::JsonRepresentation
760
+ property :idle_duration, as: 'idleDuration'
761
+ property :skip_os_adaptation, as: 'skipOsAdaptation'
762
+ end
763
+ end
764
+
765
+ class SchedulingNodeAffinity
766
+ # @private
767
+ class Representation < Google::Apis::Core::JsonRepresentation
768
+ property :key, as: 'key'
769
+ property :operator, as: 'operator'
770
+ collection :values, as: 'values'
771
+ end
772
+ end
773
+
774
+ class Source
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ property :create_time, as: 'createTime'
778
+ property :description, as: 'description'
779
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
780
+
781
+ hash :labels, as: 'labels'
782
+ property :name, as: 'name'
783
+ property :update_time, as: 'updateTime'
784
+ property :vmware, as: 'vmware', class: Google::Apis::VmmigrationV1alpha1::VmwareSourceDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareSourceDetails::Representation
785
+
786
+ end
787
+ end
788
+
789
+ class StartMigrationRequest
790
+ # @private
791
+ class Representation < Google::Apis::Core::JsonRepresentation
792
+ end
793
+ end
794
+
795
+ class Status
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ property :code, as: 'code'
799
+ collection :details, as: 'details'
800
+ property :message, as: 'message'
801
+ end
802
+ end
803
+
804
+ class TargetProject
805
+ # @private
806
+ class Representation < Google::Apis::Core::JsonRepresentation
807
+ property :create_time, as: 'createTime'
808
+ property :description, as: 'description'
809
+ property :name, as: 'name'
810
+ property :project, as: 'project'
811
+ property :update_time, as: 'updateTime'
812
+ end
813
+ end
814
+
815
+ class TargetVmDetails
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation
819
+
820
+ property :boot_option, as: 'bootOption'
821
+ property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
822
+
823
+ property :disk_type, as: 'diskType'
824
+ property :external_ip, as: 'externalIp'
825
+ property :internal_ip, as: 'internalIp'
826
+ hash :labels, as: 'labels'
827
+ property :license_type, as: 'licenseType'
828
+ property :machine_type, as: 'machineType'
829
+ property :machine_type_series, as: 'machineTypeSeries'
830
+ hash :metadata, as: 'metadata'
831
+ property :name, as: 'name'
832
+ property :network, as: 'network'
833
+ collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1alpha1::NetworkInterface, decorator: Google::Apis::VmmigrationV1alpha1::NetworkInterface::Representation
834
+
835
+ collection :network_tags, as: 'networkTags'
836
+ property :project, as: 'project'
837
+ property :secure_boot, as: 'secureBoot'
838
+ property :service_account, as: 'serviceAccount'
839
+ property :subnetwork, as: 'subnetwork'
840
+ property :target_project, as: 'targetProject'
841
+ property :zone, as: 'zone'
842
+ end
843
+ end
844
+
845
+ class UtilizationReport
846
+ # @private
847
+ class Representation < Google::Apis::Core::JsonRepresentation
848
+ property :create_time, as: 'createTime'
849
+ property :display_name, as: 'displayName'
850
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
851
+
852
+ property :frame_end_time, as: 'frameEndTime'
853
+ property :name, as: 'name'
854
+ property :state, as: 'state'
855
+ property :state_time, as: 'stateTime'
856
+ property :time_frame, as: 'timeFrame'
857
+ property :vm_count, as: 'vmCount'
858
+ collection :vms, as: 'vms', class: Google::Apis::VmmigrationV1alpha1::VmUtilizationInfo, decorator: Google::Apis::VmmigrationV1alpha1::VmUtilizationInfo::Representation
859
+
860
+ property :vms_count, as: 'vmsCount'
861
+ end
862
+ end
863
+
864
+ class VmUtilizationInfo
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ property :utilization, as: 'utilization', class: Google::Apis::VmmigrationV1alpha1::VmUtilizationMetrics, decorator: Google::Apis::VmmigrationV1alpha1::VmUtilizationMetrics::Representation
868
+
869
+ property :vm_id, as: 'vmId'
870
+ property :vmware_vm_details, as: 'vmwareVmDetails', class: Google::Apis::VmmigrationV1alpha1::VmwareVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmDetails::Representation
871
+
872
+ end
873
+ end
874
+
875
+ class VmUtilizationMetrics
876
+ # @private
877
+ class Representation < Google::Apis::Core::JsonRepresentation
878
+ property :cpu_average, as: 'cpuAverage'
879
+ property :cpu_average_percent, as: 'cpuAveragePercent'
880
+ property :cpu_max, as: 'cpuMax'
881
+ property :cpu_max_percent, as: 'cpuMaxPercent'
882
+ property :disk_io_rate_average, :numeric_string => true, as: 'diskIoRateAverage'
883
+ property :disk_io_rate_average_kbps, :numeric_string => true, as: 'diskIoRateAverageKbps'
884
+ property :disk_io_rate_max, :numeric_string => true, as: 'diskIoRateMax'
885
+ property :disk_io_rate_max_kbps, :numeric_string => true, as: 'diskIoRateMaxKbps'
886
+ property :memory_average, as: 'memoryAverage'
887
+ property :memory_average_percent, as: 'memoryAveragePercent'
888
+ property :memory_max, as: 'memoryMax'
889
+ property :memory_max_percent, as: 'memoryMaxPercent'
890
+ property :network_throughput_average, :numeric_string => true, as: 'networkThroughputAverage'
891
+ property :network_throughput_average_kbps, :numeric_string => true, as: 'networkThroughputAverageKbps'
892
+ property :network_throughput_max, :numeric_string => true, as: 'networkThroughputMax'
893
+ property :network_throughput_max_kbps, :numeric_string => true, as: 'networkThroughputMaxKbps'
894
+ end
895
+ end
896
+
897
+ class VmwareSourceDetails
898
+ # @private
899
+ class Representation < Google::Apis::Core::JsonRepresentation
900
+ property :password, as: 'password'
901
+ property :thumbprint, as: 'thumbprint'
902
+ property :username, as: 'username'
903
+ property :vcenter_ip, as: 'vcenterIp'
904
+ end
905
+ end
906
+
907
+ class VmwareVmDetails
908
+ # @private
909
+ class Representation < Google::Apis::Core::JsonRepresentation
910
+ property :boot_option, as: 'bootOption'
911
+ property :committed_storage, :numeric_string => true, as: 'committedStorage'
912
+ property :committed_storage_mb, :numeric_string => true, as: 'committedStorageMb'
913
+ property :cpu_count, as: 'cpuCount'
914
+ property :datacenter_description, as: 'datacenterDescription'
915
+ property :datacenter_id, as: 'datacenterId'
916
+ property :disk_count, as: 'diskCount'
917
+ property :display_name, as: 'displayName'
918
+ property :guest_description, as: 'guestDescription'
919
+ property :memory_mb, as: 'memoryMb'
920
+ property :power_state, as: 'powerState'
921
+ property :uuid, as: 'uuid'
922
+ property :vm_id, as: 'vmId'
923
+ end
924
+ end
925
+
926
+ class VmwareVmsDetails
927
+ # @private
928
+ class Representation < Google::Apis::Core::JsonRepresentation
929
+ collection :details, as: 'details', class: Google::Apis::VmmigrationV1alpha1::VmwareVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmDetails::Representation
930
+
931
+ end
932
+ end
933
+ end
934
+ end
935
+ end