google-cloud-vm_migration-v1 0.2.0 → 0.4.0

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.
@@ -23,15 +23,110 @@ module Google
23
23
  module V1
24
24
  # ReplicationCycle contains information about the current replication cycle
25
25
  # status.
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # The identifier of the ReplicationCycle.
29
+ # @!attribute [rw] cycle_number
30
+ # @return [::Integer]
31
+ # The cycle's ordinal number.
26
32
  # @!attribute [rw] start_time
27
33
  # @return [::Google::Protobuf::Timestamp]
28
34
  # The time the replication cycle has started.
35
+ # @!attribute [rw] end_time
36
+ # @return [::Google::Protobuf::Timestamp]
37
+ # The time the replication cycle has ended.
38
+ # @!attribute [rw] total_pause_duration
39
+ # @return [::Google::Protobuf::Duration]
40
+ # The accumulated duration the replication cycle was paused.
29
41
  # @!attribute [rw] progress_percent
30
42
  # @return [::Integer]
31
43
  # The current progress in percentage of this cycle.
44
+ # Was replaced by 'steps' field, which breaks down the cycle progression more
45
+ # accurately.
46
+ # @!attribute [rw] steps
47
+ # @return [::Array<::Google::Cloud::VMMigration::V1::CycleStep>]
48
+ # The cycle's steps list representing its progress.
49
+ # @!attribute [rw] state
50
+ # @return [::Google::Cloud::VMMigration::V1::ReplicationCycle::State]
51
+ # State of the ReplicationCycle.
52
+ # @!attribute [rw] error
53
+ # @return [::Google::Rpc::Status]
54
+ # Provides details on the state of the cycle in case of an error.
32
55
  class ReplicationCycle
33
56
  include ::Google::Protobuf::MessageExts
34
57
  extend ::Google::Protobuf::MessageExts::ClassMethods
58
+
59
+ # Possible states of a replication cycle.
60
+ module State
61
+ # The state is unknown. This is used for API compatibility only and is not
62
+ # used by the system.
63
+ STATE_UNSPECIFIED = 0
64
+
65
+ # The replication cycle is running.
66
+ RUNNING = 1
67
+
68
+ # The replication cycle is paused.
69
+ PAUSED = 2
70
+
71
+ # The replication cycle finished with errors.
72
+ FAILED = 3
73
+
74
+ # The replication cycle finished successfully.
75
+ SUCCEEDED = 4
76
+ end
77
+ end
78
+
79
+ # CycleStep holds information about a step progress.
80
+ # @!attribute [rw] initializing_replication
81
+ # @return [::Google::Cloud::VMMigration::V1::InitializingReplicationStep]
82
+ # Initializing replication step.
83
+ # @!attribute [rw] replicating
84
+ # @return [::Google::Cloud::VMMigration::V1::ReplicatingStep]
85
+ # Replicating step.
86
+ # @!attribute [rw] post_processing
87
+ # @return [::Google::Cloud::VMMigration::V1::PostProcessingStep]
88
+ # Post processing step.
89
+ # @!attribute [rw] start_time
90
+ # @return [::Google::Protobuf::Timestamp]
91
+ # The time the cycle step has started.
92
+ # @!attribute [rw] end_time
93
+ # @return [::Google::Protobuf::Timestamp]
94
+ # The time the cycle step has ended.
95
+ class CycleStep
96
+ include ::Google::Protobuf::MessageExts
97
+ extend ::Google::Protobuf::MessageExts::ClassMethods
98
+ end
99
+
100
+ # InitializingReplicationStep contains specific step details.
101
+ class InitializingReplicationStep
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # ReplicatingStep contains specific step details.
107
+ # @!attribute [rw] total_bytes
108
+ # @return [::Integer]
109
+ # Total bytes to be handled in the step.
110
+ # @!attribute [rw] replicated_bytes
111
+ # @return [::Integer]
112
+ # Replicated bytes in the step.
113
+ # @!attribute [rw] last_two_minutes_average_bytes_per_second
114
+ # @return [::Integer]
115
+ # The source disks replication rate for the last 2 minutes in bytes per
116
+ # second.
117
+ # @!attribute [rw] last_thirty_minutes_average_bytes_per_second
118
+ # @return [::Integer]
119
+ # The source disks replication rate for the last 30 minutes in bytes per
120
+ # second.
121
+ class ReplicatingStep
122
+ include ::Google::Protobuf::MessageExts
123
+ extend ::Google::Protobuf::MessageExts::ClassMethods
124
+ end
125
+
126
+ # PostProcessingStep contains specific step details.
127
+ class PostProcessingStep
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
130
  end
36
131
 
37
132
  # ReplicationSync contain information about the last replica sync to the cloud.
@@ -49,6 +144,9 @@ module Google
49
144
  # @!attribute [rw] compute_engine_target_defaults
50
145
  # @return [::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults]
51
146
  # Details of the target VM in Compute Engine.
147
+ # @!attribute [r] aws_source_vm_details
148
+ # @return [::Google::Cloud::VMMigration::V1::AwsSourceVmDetails]
149
+ # Output only. Details of the VM from an AWS source.
52
150
  # @!attribute [r] name
53
151
  # @return [::String]
54
152
  # Output only. The identifier of the MigratingVm.
@@ -68,15 +166,15 @@ module Google
68
166
  # The replication schedule policy.
69
167
  # @!attribute [r] create_time
70
168
  # @return [::Google::Protobuf::Timestamp]
71
- # Output only. The time the migrating VM was created (this refers to this resource and not
72
- # to the time it was installed in the source).
169
+ # Output only. The time the migrating VM was created (this refers to this
170
+ # resource and not to the time it was installed in the source).
73
171
  # @!attribute [r] update_time
74
172
  # @return [::Google::Protobuf::Timestamp]
75
173
  # Output only. The last time the migrating VM resource was updated.
76
174
  # @!attribute [r] last_sync
77
175
  # @return [::Google::Cloud::VMMigration::V1::ReplicationSync]
78
- # Output only. The most updated snapshot created time in the source that finished
79
- # replication.
176
+ # Output only. The most updated snapshot created time in the source that
177
+ # finished replication.
80
178
  # @!attribute [r] state
81
179
  # @return [::Google::Cloud::VMMigration::V1::MigratingVm::State]
82
180
  # Output only. State of the MigratingVm.
@@ -85,19 +183,34 @@ module Google
85
183
  # Output only. The last time the migrating VM state was updated.
86
184
  # @!attribute [r] current_sync_info
87
185
  # @return [::Google::Cloud::VMMigration::V1::ReplicationCycle]
88
- # Output only. The percentage progress of the current running replication cycle.
186
+ # Output only. The percentage progress of the current running replication
187
+ # cycle.
89
188
  # @!attribute [r] group
90
189
  # @return [::String]
91
- # Output only. The group this migrating vm is included in, if any. The group is
92
- # represented by the full path of the appropriate
190
+ # Output only. The group this migrating vm is included in, if any. The group
191
+ # is represented by the full path of the appropriate
93
192
  # {::Google::Cloud::VMMigration::V1::Group Group} resource.
94
193
  # @!attribute [rw] labels
95
194
  # @return [::Google::Protobuf::Map{::String => ::String}]
96
195
  # The labels of the migrating VM.
196
+ # @!attribute [r] recent_clone_jobs
197
+ # @return [::Array<::Google::Cloud::VMMigration::V1::CloneJob>]
198
+ # Output only. The recent {::Google::Cloud::VMMigration::V1::CloneJob clone jobs}
199
+ # performed on the migrating VM. This field holds the vm's last completed
200
+ # clone job and the vm's running clone job, if one exists.
201
+ # Note: To have this field populated you need to explicitly request it via
202
+ # the "view" parameter of the Get/List request.
97
203
  # @!attribute [r] error
98
204
  # @return [::Google::Rpc::Status]
99
- # Output only. Provides details on the state of the Migrating VM in case of an
100
- # error in replication.
205
+ # Output only. Provides details on the state of the Migrating VM in case of
206
+ # an error in replication.
207
+ # @!attribute [r] recent_cutover_jobs
208
+ # @return [::Array<::Google::Cloud::VMMigration::V1::CutoverJob>]
209
+ # Output only. The recent cutover jobs performed on the migrating VM.
210
+ # This field holds the vm's last completed cutover job and the vm's
211
+ # running cutover job, if one exists.
212
+ # Note: To have this field populated you need to explicitly request it via
213
+ # the "view" parameter of the Get/List request.
101
214
  class MigratingVm
102
215
  include ::Google::Protobuf::MessageExts
103
216
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -172,11 +285,14 @@ module Google
172
285
  # Output only. Details of the target VM in Compute Engine.
173
286
  # @!attribute [r] create_time
174
287
  # @return [::Google::Protobuf::Timestamp]
175
- # Output only. The time the clone job was created (as an API call, not when it was
176
- # actually created in the target).
177
- # @!attribute [rw] name
288
+ # Output only. The time the clone job was created (as an API call, not when
289
+ # it was actually created in the target).
290
+ # @!attribute [r] end_time
291
+ # @return [::Google::Protobuf::Timestamp]
292
+ # Output only. The time the clone job was ended.
293
+ # @!attribute [r] name
178
294
  # @return [::String]
179
- # The name of the clone.
295
+ # Output only. The name of the clone.
180
296
  # @!attribute [r] state
181
297
  # @return [::Google::Cloud::VMMigration::V1::CloneJob::State]
182
298
  # Output only. State of the clone job.
@@ -185,7 +301,11 @@ module Google
185
301
  # Output only. The time the state was last updated.
186
302
  # @!attribute [r] error
187
303
  # @return [::Google::Rpc::Status]
188
- # Output only. Provides details for the errors that led to the Clone Job's state.
304
+ # Output only. Provides details for the errors that led to the Clone Job's
305
+ # state.
306
+ # @!attribute [r] steps
307
+ # @return [::Array<::Google::Cloud::VMMigration::V1::CloneStep>]
308
+ # Output only. The clone steps list representing its progress.
189
309
  class CloneJob
190
310
  include ::Google::Protobuf::MessageExts
191
311
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -219,6 +339,45 @@ module Google
219
339
  end
220
340
  end
221
341
 
342
+ # CloneStep holds information about the clone step progress.
343
+ # @!attribute [rw] adapting_os
344
+ # @return [::Google::Cloud::VMMigration::V1::AdaptingOSStep]
345
+ # Adapting OS step.
346
+ # @!attribute [rw] preparing_vm_disks
347
+ # @return [::Google::Cloud::VMMigration::V1::PreparingVMDisksStep]
348
+ # Preparing VM disks step.
349
+ # @!attribute [rw] instantiating_migrated_vm
350
+ # @return [::Google::Cloud::VMMigration::V1::InstantiatingMigratedVMStep]
351
+ # Instantiating migrated VM step.
352
+ # @!attribute [rw] start_time
353
+ # @return [::Google::Protobuf::Timestamp]
354
+ # The time the step has started.
355
+ # @!attribute [rw] end_time
356
+ # @return [::Google::Protobuf::Timestamp]
357
+ # The time the step has ended.
358
+ class CloneStep
359
+ include ::Google::Protobuf::MessageExts
360
+ extend ::Google::Protobuf::MessageExts::ClassMethods
361
+ end
362
+
363
+ # AdaptingOSStep contains specific step details.
364
+ class AdaptingOSStep
365
+ include ::Google::Protobuf::MessageExts
366
+ extend ::Google::Protobuf::MessageExts::ClassMethods
367
+ end
368
+
369
+ # PreparingVMDisksStep contains specific step details.
370
+ class PreparingVMDisksStep
371
+ include ::Google::Protobuf::MessageExts
372
+ extend ::Google::Protobuf::MessageExts::ClassMethods
373
+ end
374
+
375
+ # InstantiatingMigratedVMStep contains specific step details.
376
+ class InstantiatingMigratedVMStep
377
+ include ::Google::Protobuf::MessageExts
378
+ extend ::Google::Protobuf::MessageExts::ClassMethods
379
+ end
380
+
222
381
  # CutoverJob message describes a cutover of a migrating VM. The CutoverJob is
223
382
  # the operation of shutting down the VM, creating a snapshot and
224
383
  # clonning the VM using the replicated snapshot.
@@ -227,8 +386,11 @@ module Google
227
386
  # Output only. Details of the target VM in Compute Engine.
228
387
  # @!attribute [r] create_time
229
388
  # @return [::Google::Protobuf::Timestamp]
230
- # Output only. The time the cutover job was created (as an API call, not when it was
231
- # actually created in the target).
389
+ # Output only. The time the cutover job was created (as an API call, not when
390
+ # it was actually created in the target).
391
+ # @!attribute [r] end_time
392
+ # @return [::Google::Protobuf::Timestamp]
393
+ # Output only. The time the cutover job had finished.
232
394
  # @!attribute [r] name
233
395
  # @return [::String]
234
396
  # Output only. The name of the cutover job.
@@ -243,10 +405,15 @@ module Google
243
405
  # Output only. The current progress in percentage of the cutover job.
244
406
  # @!attribute [r] error
245
407
  # @return [::Google::Rpc::Status]
246
- # Output only. Provides details for the errors that led to the Cutover Job's state.
408
+ # Output only. Provides details for the errors that led to the Cutover Job's
409
+ # state.
247
410
  # @!attribute [r] state_message
248
411
  # @return [::String]
249
- # Output only. A message providing possible extra details about the current state.
412
+ # Output only. A message providing possible extra details about the current
413
+ # state.
414
+ # @!attribute [r] steps
415
+ # @return [::Array<::Google::Cloud::VMMigration::V1::CutoverStep>]
416
+ # Output only. The cutover steps list representing its progress.
250
417
  class CutoverJob
251
418
  include ::Google::Protobuf::MessageExts
252
419
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -280,6 +447,39 @@ module Google
280
447
  end
281
448
  end
282
449
 
450
+ # CutoverStep holds information about the cutover step progress.
451
+ # @!attribute [rw] previous_replication_cycle
452
+ # @return [::Google::Cloud::VMMigration::V1::ReplicationCycle]
453
+ # A replication cycle prior cutover step.
454
+ # @!attribute [rw] shutting_down_source_vm
455
+ # @return [::Google::Cloud::VMMigration::V1::ShuttingDownSourceVMStep]
456
+ # Shutting down VM step.
457
+ # @!attribute [rw] final_sync
458
+ # @return [::Google::Cloud::VMMigration::V1::ReplicationCycle]
459
+ # Final sync step.
460
+ # @!attribute [rw] preparing_vm_disks
461
+ # @return [::Google::Cloud::VMMigration::V1::PreparingVMDisksStep]
462
+ # Preparing VM disks step.
463
+ # @!attribute [rw] instantiating_migrated_vm
464
+ # @return [::Google::Cloud::VMMigration::V1::InstantiatingMigratedVMStep]
465
+ # Instantiating migrated VM step.
466
+ # @!attribute [rw] start_time
467
+ # @return [::Google::Protobuf::Timestamp]
468
+ # The time the step has started.
469
+ # @!attribute [rw] end_time
470
+ # @return [::Google::Protobuf::Timestamp]
471
+ # The time the step has ended.
472
+ class CutoverStep
473
+ include ::Google::Protobuf::MessageExts
474
+ extend ::Google::Protobuf::MessageExts::ClassMethods
475
+ end
476
+
477
+ # ShuttingDownSourceVMStep contains specific step details.
478
+ class ShuttingDownSourceVMStep
479
+ include ::Google::Protobuf::MessageExts
480
+ extend ::Google::Protobuf::MessageExts::ClassMethods
481
+ end
482
+
283
483
  # Request message for 'CreateCloneJob' request.
284
484
  # @!attribute [rw] parent
285
485
  # @return [::String]
@@ -331,10 +531,10 @@ module Google
331
531
  # Required. The parent, which owns this collection of source VMs.
332
532
  # @!attribute [rw] page_size
333
533
  # @return [::Integer]
334
- # Optional. The maximum number of clone jobs to return. The service may return
335
- # fewer than this value. If unspecified, at most 500 clone jobs will be
336
- # returned. The maximum value is 1000; values above 1000 will be coerced to
337
- # 1000.
534
+ # Optional. The maximum number of clone jobs to return. The service may
535
+ # return fewer than this value. If unspecified, at most 500 clone jobs will
536
+ # be returned. The maximum value is 1000; values above 1000 will be coerced
537
+ # to 1000.
338
538
  # @!attribute [rw] page_token
339
539
  # @return [::String]
340
540
  # Required. A page token, received from a previous `ListCloneJobs` call.
@@ -359,8 +559,8 @@ module Google
359
559
  # Output only. The list of clone jobs response.
360
560
  # @!attribute [r] next_page_token
361
561
  # @return [::String]
362
- # Output only. A token, which can be sent as `page_token` to retrieve the next page.
363
- # If this field is omitted, there are no subsequent pages.
562
+ # Output only. A token, which can be sent as `page_token` to retrieve the
563
+ # next page. If this field is omitted, there are no subsequent pages.
364
564
  # @!attribute [r] unreachable
365
565
  # @return [::Array<::String>]
366
566
  # Output only. Locations that could not be reached.
@@ -383,6 +583,9 @@ module Google
383
583
  # @!attribute [rw] vmware
384
584
  # @return [::Google::Cloud::VMMigration::V1::VmwareSourceDetails]
385
585
  # Vmware type source details.
586
+ # @!attribute [rw] aws
587
+ # @return [::Google::Cloud::VMMigration::V1::AwsSourceDetails]
588
+ # AWS type source details.
386
589
  # @!attribute [r] name
387
590
  # @return [::String]
388
591
  # Output only. The Source name.
@@ -419,8 +622,8 @@ module Google
419
622
  # The credentials username.
420
623
  # @!attribute [rw] password
421
624
  # @return [::String]
422
- # Input only. The credentials password. This is write only and can not be read in a GET
423
- # operation.
625
+ # Input only. The credentials password. This is write only and can not be
626
+ # read in a GET operation.
424
627
  # @!attribute [rw] vcenter_ip
425
628
  # @return [::String]
426
629
  # The ip address of the vcenter this Source represents.
@@ -432,13 +635,102 @@ module Google
432
635
  extend ::Google::Protobuf::MessageExts::ClassMethods
433
636
  end
434
637
 
435
- # DatacenterConnector message describes a connector between the Source and GCP,
436
- # which is installed on a vmware datacenter (an OVA vm installed by the user)
437
- # to connect the Datacenter to GCP and support vm migration data transfer.
638
+ # AwsSourceDetails message describes a specific source details for the
639
+ # AWS source type.
640
+ # @!attribute [rw] access_key_creds
641
+ # @return [::Google::Cloud::VMMigration::V1::AwsSourceDetails::AccessKeyCredentials]
642
+ # AWS Credentials using access key id and secret.
643
+ # @!attribute [rw] aws_region
644
+ # @return [::String]
645
+ # Immutable. The AWS region that the source VMs will be migrated from.
646
+ # @!attribute [r] state
647
+ # @return [::Google::Cloud::VMMigration::V1::AwsSourceDetails::State]
648
+ # Output only. State of the source as determined by the health check.
649
+ # @!attribute [r] error
650
+ # @return [::Google::Rpc::Status]
651
+ # Output only. Provides details on the state of the Source in case of an
652
+ # error.
653
+ # @!attribute [rw] inventory_tag_list
654
+ # @return [::Array<::Google::Cloud::VMMigration::V1::AwsSourceDetails::Tag>]
655
+ # AWS resource tags to limit the scope of the source inventory.
656
+ # @!attribute [rw] inventory_security_group_names
657
+ # @return [::Array<::String>]
658
+ # AWS security group names to limit the scope of the source
659
+ # inventory.
660
+ # @!attribute [rw] migration_resources_user_tags
661
+ # @return [::Google::Protobuf::Map{::String => ::String}]
662
+ # User specified tags to add to every M2VM generated resource in AWS.
663
+ # These tags will be set in addition to the default tags that are set as part
664
+ # of the migration process. The tags must not begin with the reserved prefix
665
+ # `m2vm`.
666
+ # @!attribute [r] public_ip
667
+ # @return [::String]
668
+ # Output only. The source's public IP. All communication initiated by this
669
+ # source will originate from this IP.
670
+ class AwsSourceDetails
671
+ include ::Google::Protobuf::MessageExts
672
+ extend ::Google::Protobuf::MessageExts::ClassMethods
673
+
674
+ # Message describing AWS Credentials using access key id and secret.
675
+ # @!attribute [rw] access_key_id
676
+ # @return [::String]
677
+ # AWS access key ID.
678
+ # @!attribute [rw] secret_access_key
679
+ # @return [::String]
680
+ # Input only. AWS secret access key.
681
+ class AccessKeyCredentials
682
+ include ::Google::Protobuf::MessageExts
683
+ extend ::Google::Protobuf::MessageExts::ClassMethods
684
+ end
685
+
686
+ # Tag is an AWS tag representation.
687
+ # @!attribute [rw] key
688
+ # @return [::String]
689
+ # Key of tag.
690
+ # @!attribute [rw] value
691
+ # @return [::String]
692
+ # Value of tag.
693
+ class Tag
694
+ include ::Google::Protobuf::MessageExts
695
+ extend ::Google::Protobuf::MessageExts::ClassMethods
696
+ end
697
+
698
+ # @!attribute [rw] key
699
+ # @return [::String]
700
+ # @!attribute [rw] value
701
+ # @return [::String]
702
+ class MigrationResourcesUserTagsEntry
703
+ include ::Google::Protobuf::MessageExts
704
+ extend ::Google::Protobuf::MessageExts::ClassMethods
705
+ end
706
+
707
+ # The possible values of the state.
708
+ module State
709
+ # The state is unknown. This is used for API compatibility only and is not
710
+ # used by the system.
711
+ STATE_UNSPECIFIED = 0
712
+
713
+ # The state was not sampled by the health checks yet.
714
+ PENDING = 1
715
+
716
+ # The source is available but might not be usable yet due to invalid
717
+ # credentials or another reason.
718
+ # The error message will contain further details.
719
+ FAILED = 2
720
+
721
+ # The source exists and its credentials were verified.
722
+ ACTIVE = 3
723
+ end
724
+ end
725
+
726
+ # DatacenterConnector message describes a connector between the Source and
727
+ # Google Cloud, which is installed on a vmware datacenter (an OVA vm installed
728
+ # by the user) to connect the Datacenter to Google Cloud and support vm
729
+ # migration data transfer.
438
730
  # @!attribute [r] create_time
439
731
  # @return [::Google::Protobuf::Timestamp]
440
- # Output only. The time the connector was created (as an API call, not when it was
441
- # actually installed).
732
+ # Output only. The time the connector was created (as an API call, not when
733
+ # it was actually installed).
442
734
  # @!attribute [r] update_time
443
735
  # @return [::Google::Protobuf::Timestamp]
444
736
  # Output only. The last time the connector was updated with an API call.
@@ -447,9 +739,9 @@ module Google
447
739
  # Output only. The connector's name.
448
740
  # @!attribute [rw] registration_id
449
741
  # @return [::String]
450
- # Immutable. A unique key for this connector. This key is internal to the OVA connector
451
- # and is supplied with its creation during the registration process and can
452
- # not be modified.
742
+ # Immutable. A unique key for this connector. This key is internal to the OVA
743
+ # connector and is supplied with its creation during the registration process
744
+ # and can not be modified.
453
745
  # @!attribute [rw] service_account
454
746
  # @return [::String]
455
747
  # The service account to use in the connector when communicating with the
@@ -460,17 +752,35 @@ module Google
460
752
  # connector during the registration process and can not be modified.
461
753
  # @!attribute [r] bucket
462
754
  # @return [::String]
463
- # Output only. The communication channel between the datacenter connector and GCP.
755
+ # Output only. The communication channel between the datacenter connector and
756
+ # Google Cloud.
464
757
  # @!attribute [r] state
465
758
  # @return [::Google::Cloud::VMMigration::V1::DatacenterConnector::State]
466
- # Output only. State of the DatacenterConnector, as determined by the health checks.
759
+ # Output only. State of the DatacenterConnector, as determined by the health
760
+ # checks.
467
761
  # @!attribute [r] state_time
468
762
  # @return [::Google::Protobuf::Timestamp]
469
763
  # Output only. The time the state was last set.
470
764
  # @!attribute [r] error
471
765
  # @return [::Google::Rpc::Status]
472
- # Output only. Provides details on the state of the Datacenter Connector in case of an
473
- # error.
766
+ # Output only. Provides details on the state of the Datacenter Connector in
767
+ # case of an error.
768
+ # @!attribute [r] appliance_infrastructure_version
769
+ # @return [::String]
770
+ # Output only. Appliance OVA version.
771
+ # This is the OVA which is manually installed by the user and contains the
772
+ # infrastructure for the automatically updatable components on the appliance.
773
+ # @!attribute [r] appliance_software_version
774
+ # @return [::String]
775
+ # Output only. Appliance last installed update bundle version.
776
+ # This is the version of the automatically updatable components on the
777
+ # appliance.
778
+ # @!attribute [r] available_versions
779
+ # @return [::Google::Cloud::VMMigration::V1::AvailableUpdates]
780
+ # Output only. The available versions for updating this appliance.
781
+ # @!attribute [r] upgrade_status
782
+ # @return [::Google::Cloud::VMMigration::V1::UpgradeStatus]
783
+ # Output only. The status of the current / last upgradeAppliance operation.
474
784
  class DatacenterConnector
475
785
  include ::Google::Protobuf::MessageExts
476
786
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -497,6 +807,76 @@ module Google
497
807
  end
498
808
  end
499
809
 
810
+ # UpgradeStatus contains information about upgradeAppliance operation.
811
+ # @!attribute [rw] version
812
+ # @return [::String]
813
+ # The version to upgrade to.
814
+ # @!attribute [rw] state
815
+ # @return [::Google::Cloud::VMMigration::V1::UpgradeStatus::State]
816
+ # The state of the upgradeAppliance operation.
817
+ # @!attribute [rw] error
818
+ # @return [::Google::Rpc::Status]
819
+ # Provides details on the state of the upgrade operation in case of an error.
820
+ # @!attribute [rw] start_time
821
+ # @return [::Google::Protobuf::Timestamp]
822
+ # The time the operation was started.
823
+ # @!attribute [rw] previous_version
824
+ # @return [::String]
825
+ # The version from which we upgraded.
826
+ class UpgradeStatus
827
+ include ::Google::Protobuf::MessageExts
828
+ extend ::Google::Protobuf::MessageExts::ClassMethods
829
+
830
+ # The possible values of the state.
831
+ module State
832
+ # The state was not sampled by the health checks yet.
833
+ STATE_UNSPECIFIED = 0
834
+
835
+ # The upgrade has started.
836
+ RUNNING = 1
837
+
838
+ # The upgrade failed.
839
+ FAILED = 2
840
+
841
+ # The upgrade finished successfully.
842
+ SUCCEEDED = 3
843
+ end
844
+ end
845
+
846
+ # Holds informatiom about the available versions for upgrade.
847
+ # @!attribute [rw] new_deployable_appliance
848
+ # @return [::Google::Cloud::VMMigration::V1::ApplianceVersion]
849
+ # The newest deployable version of the appliance.
850
+ # The current appliance can't be updated into this version, and the owner
851
+ # must manually deploy this OVA to a new appliance.
852
+ # @!attribute [rw] in_place_update
853
+ # @return [::Google::Cloud::VMMigration::V1::ApplianceVersion]
854
+ # The latest version for in place update.
855
+ # The current appliance can be updated to this version using the API or m4c
856
+ # CLI.
857
+ class AvailableUpdates
858
+ include ::Google::Protobuf::MessageExts
859
+ extend ::Google::Protobuf::MessageExts::ClassMethods
860
+ end
861
+
862
+ # Describes an appliance version.
863
+ # @!attribute [rw] version
864
+ # @return [::String]
865
+ # The appliance version.
866
+ # @!attribute [rw] uri
867
+ # @return [::String]
868
+ # A link for downloading the version.
869
+ # @!attribute [rw] critical
870
+ # @return [::Boolean]
871
+ # Determine whether it's critical to upgrade the appliance to this version.
872
+ # @!attribute [rw] release_notes_uri
873
+ # @return [::String]
874
+ # Link to a page that contains the version release notes.
875
+ class ApplianceVersion
876
+ include ::Google::Protobuf::MessageExts
877
+ extend ::Google::Protobuf::MessageExts::ClassMethods
878
+ end
879
+
500
880
  # Request message for 'ListSources' request.
501
881
  # @!attribute [rw] parent
502
882
  # @return [::String]
@@ -531,8 +911,8 @@ module Google
531
911
  # Output only. The list of sources response.
532
912
  # @!attribute [r] next_page_token
533
913
  # @return [::String]
534
- # Output only. A token, which can be sent as `page_token` to retrieve the next page.
535
- # If this field is omitted, there are no subsequent pages.
914
+ # Output only. A token, which can be sent as `page_token` to retrieve the
915
+ # next page. If this field is omitted, there are no subsequent pages.
536
916
  # @!attribute [r] unreachable
537
917
  # @return [::Array<::String>]
538
918
  # Output only. Locations that could not be reached.
@@ -684,7 +1064,7 @@ module Google
684
1064
  # @!attribute [rw] guest_description
685
1065
  # @return [::String]
686
1066
  # The VM's OS. See for example
687
- # https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
1067
+ # https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
688
1068
  # for types of strings this might hold.
689
1069
  # @!attribute [r] boot_option
690
1070
  # @return [::Google::Cloud::VMMigration::V1::VmwareVmDetails::BootOption]
@@ -721,6 +1101,148 @@ module Google
721
1101
  end
722
1102
  end
723
1103
 
1104
+ # AwsVmDetails describes a VM in AWS.
1105
+ # @!attribute [rw] vm_id
1106
+ # @return [::String]
1107
+ # The VM ID in AWS.
1108
+ # @!attribute [rw] display_name
1109
+ # @return [::String]
1110
+ # The display name of the VM. Note that this value is not necessarily unique.
1111
+ # @!attribute [rw] source_id
1112
+ # @return [::String]
1113
+ # The id of the AWS's source this VM is connected to.
1114
+ # @!attribute [rw] source_description
1115
+ # @return [::String]
1116
+ # The descriptive name of the AWS's source this VM is connected to.
1117
+ # @!attribute [r] power_state
1118
+ # @return [::Google::Cloud::VMMigration::V1::AwsVmDetails::PowerState]
1119
+ # Output only. The power state of the VM at the moment list was taken.
1120
+ # @!attribute [rw] cpu_count
1121
+ # @return [::Integer]
1122
+ # The number of cpus the VM has.
1123
+ # @!attribute [rw] memory_mb
1124
+ # @return [::Integer]
1125
+ # The memory size of the VM in MB.
1126
+ # @!attribute [rw] disk_count
1127
+ # @return [::Integer]
1128
+ # The number of disks the VM has.
1129
+ # @!attribute [rw] committed_storage_mb
1130
+ # @return [::Integer]
1131
+ # The total size of the storage allocated to the VM in MB.
1132
+ # @!attribute [rw] os_description
1133
+ # @return [::String]
1134
+ # The VM's OS.
1135
+ # @!attribute [rw] boot_option
1136
+ # @return [::Google::Cloud::VMMigration::V1::AwsVmDetails::BootOption]
1137
+ # The VM Boot Option.
1138
+ # @!attribute [rw] instance_type
1139
+ # @return [::String]
1140
+ # The instance type of the VM.
1141
+ # @!attribute [rw] vpc_id
1142
+ # @return [::String]
1143
+ # The VPC ID the VM belongs to.
1144
+ # @!attribute [rw] security_groups
1145
+ # @return [::Array<::Google::Cloud::VMMigration::V1::AwsSecurityGroup>]
1146
+ # The security groups the VM belongs to.
1147
+ # @!attribute [rw] tags
1148
+ # @return [::Google::Protobuf::Map{::String => ::String}]
1149
+ # The tags of the VM.
1150
+ # @!attribute [rw] zone
1151
+ # @return [::String]
1152
+ # The AWS zone of the VM.
1153
+ # @!attribute [rw] virtualization_type
1154
+ # @return [::Google::Cloud::VMMigration::V1::AwsVmDetails::VmVirtualizationType]
1155
+ # The virtualization type.
1156
+ # @!attribute [rw] architecture
1157
+ # @return [::Google::Cloud::VMMigration::V1::AwsVmDetails::VmArchitecture]
1158
+ # The CPU architecture.
1159
+ class AwsVmDetails
1160
+ include ::Google::Protobuf::MessageExts
1161
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1162
+
1163
+ # @!attribute [rw] key
1164
+ # @return [::String]
1165
+ # @!attribute [rw] value
1166
+ # @return [::String]
1167
+ class TagsEntry
1168
+ include ::Google::Protobuf::MessageExts
1169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1170
+ end
1171
+
1172
+ # Possible values for the power state of the VM.
1173
+ module PowerState
1174
+ # Power state is not specified.
1175
+ POWER_STATE_UNSPECIFIED = 0
1176
+
1177
+ # The VM is turned on.
1178
+ ON = 1
1179
+
1180
+ # The VM is turned off.
1181
+ OFF = 2
1182
+
1183
+ # The VM is suspended. This is similar to hibernation or sleep
1184
+ # mode.
1185
+ SUSPENDED = 3
1186
+
1187
+ # The VM is starting.
1188
+ PENDING = 4
1189
+ end
1190
+
1191
+ # The possible values for the vm boot option.
1192
+ module BootOption
1193
+ # The boot option is unknown.
1194
+ BOOT_OPTION_UNSPECIFIED = 0
1195
+
1196
+ # The boot option is UEFI.
1197
+ EFI = 1
1198
+
1199
+ # The boot option is LEGACY-BIOS.
1200
+ BIOS = 2
1201
+ end
1202
+
1203
+ # Possible values for the virtualization types of the VM.
1204
+ module VmVirtualizationType
1205
+ # The virtualization type is unknown.
1206
+ VM_VIRTUALIZATION_TYPE_UNSPECIFIED = 0
1207
+
1208
+ # The virtualziation type is HVM.
1209
+ HVM = 1
1210
+
1211
+ # The virtualziation type is PARAVIRTUAL.
1212
+ PARAVIRTUAL = 2
1213
+ end
1214
+
1215
+ # Possible values for the architectures of the VM.
1216
+ module VmArchitecture
1217
+ # The architecture is unknown.
1218
+ VM_ARCHITECTURE_UNSPECIFIED = 0
1219
+
1220
+ # The architecture is I386.
1221
+ I386 = 1
1222
+
1223
+ # The architecture is X86_64.
1224
+ X86_64 = 2
1225
+
1226
+ # The architecture is ARM64.
1227
+ ARM64 = 3
1228
+
1229
+ # The architecture is X86_64_MAC.
1230
+ X86_64_MAC = 4
1231
+ end
1232
+ end
1233
+
1234
+ # AwsSecurityGroup describes a security group of an AWS VM.
1235
+ # @!attribute [rw] id
1236
+ # @return [::String]
1237
+ # The AWS security group id.
1238
+ # @!attribute [rw] name
1239
+ # @return [::String]
1240
+ # The AWS security group name.
1241
+ class AwsSecurityGroup
1242
+ include ::Google::Protobuf::MessageExts
1243
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1244
+ end
1245
+
724
1246
  # VmwareVmsDetails describes VMs in vCenter.
725
1247
  # @!attribute [rw] details
726
1248
  # @return [::Array<::Google::Cloud::VMMigration::V1::VmwareVmDetails>]
@@ -730,15 +1252,27 @@ module Google
730
1252
  extend ::Google::Protobuf::MessageExts::ClassMethods
731
1253
  end
732
1254
 
1255
+ # AWSVmsDetails describes VMs in AWS.
1256
+ # @!attribute [rw] details
1257
+ # @return [::Array<::Google::Cloud::VMMigration::V1::AwsVmDetails>]
1258
+ # The details of the AWS VMs.
1259
+ class AwsVmsDetails
1260
+ include ::Google::Protobuf::MessageExts
1261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1262
+ end
1263
+
733
1264
  # Response message for
734
1265
  # {::Google::Cloud::VMMigration::V1::VMMigration::Client#fetch_inventory fetchInventory}.
735
- # @!attribute [r] vmware_vms
1266
+ # @!attribute [rw] vmware_vms
736
1267
  # @return [::Google::Cloud::VMMigration::V1::VmwareVmsDetails]
737
- # Output only. The description of the VMs in a Source of type Vmware.
1268
+ # The description of the VMs in a Source of type Vmware.
1269
+ # @!attribute [rw] aws_vms
1270
+ # @return [::Google::Cloud::VMMigration::V1::AwsVmsDetails]
1271
+ # The description of the VMs in a Source of type AWS.
738
1272
  # @!attribute [r] update_time
739
1273
  # @return [::Google::Protobuf::Timestamp]
740
- # Output only. The timestamp when the source was last queried (if the result is from the
741
- # cache).
1274
+ # Output only. The timestamp when the source was last queried (if the result
1275
+ # is from the cache).
742
1276
  class FetchInventoryResponse
743
1277
  include ::Google::Protobuf::MessageExts
744
1278
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -760,19 +1294,20 @@ module Google
760
1294
  # Output only. The time the state was last set.
761
1295
  # @!attribute [r] error
762
1296
  # @return [::Google::Rpc::Status]
763
- # Output only. Provides details on the state of the report in case of an error.
1297
+ # Output only. Provides details on the state of the report in case of an
1298
+ # error.
764
1299
  # @!attribute [r] create_time
765
1300
  # @return [::Google::Protobuf::Timestamp]
766
- # Output only. The time the report was created (this refers to the time of the request,
767
- # not the time the report creation completed).
1301
+ # Output only. The time the report was created (this refers to the time of
1302
+ # the request, not the time the report creation completed).
768
1303
  # @!attribute [rw] time_frame
769
1304
  # @return [::Google::Cloud::VMMigration::V1::UtilizationReport::TimeFrame]
770
1305
  # Time frame of the report.
771
1306
  # @!attribute [r] frame_end_time
772
1307
  # @return [::Google::Protobuf::Timestamp]
773
- # Output only. The point in time when the time frame ends. Notice that the time
774
- # frame is counted backwards. For instance if the "frame_end_time" value is
775
- # 2021/01/20 and the time frame is WEEK then the report covers the week
1308
+ # Output only. The point in time when the time frame ends. Notice that the
1309
+ # time frame is counted backwards. For instance if the "frame_end_time" value
1310
+ # is 2021/01/20 and the time frame is WEEK then the report covers the week
776
1311
  # between 2021/01/20 and 2021/01/14.
777
1312
  # @!attribute [r] vm_count
778
1313
  # @return [::Integer]
@@ -881,8 +1416,8 @@ module Google
881
1416
  # 1000.
882
1417
  # @!attribute [rw] page_token
883
1418
  # @return [::String]
884
- # Required. A page token, received from a previous `ListUtilizationReports` call.
885
- # Provide this to retrieve the subsequent page.
1419
+ # Required. A page token, received from a previous `ListUtilizationReports`
1420
+ # call. Provide this to retrieve the subsequent page.
886
1421
  #
887
1422
  # When paginating, all other parameters provided to `ListUtilizationReports`
888
1423
  # must match the call that provided the page token.
@@ -903,8 +1438,8 @@ module Google
903
1438
  # Output only. The list of reports.
904
1439
  # @!attribute [r] next_page_token
905
1440
  # @return [::String]
906
- # Output only. A token, which can be sent as `page_token` to retrieve the next page.
907
- # If this field is omitted, there are no subsequent pages.
1441
+ # Output only. A token, which can be sent as `page_token` to retrieve the
1442
+ # next page. If this field is omitted, there are no subsequent pages.
908
1443
  # @!attribute [r] unreachable
909
1444
  # @return [::Array<::String>]
910
1445
  # Output only. Locations that could not be reached.
@@ -935,8 +1470,8 @@ module Google
935
1470
  # Required. The report to create.
936
1471
  # @!attribute [rw] utilization_report_id
937
1472
  # @return [::String]
938
- # Required. The ID to use for the report, which will become the final component of
939
- # the reports's resource name.
1473
+ # Required. The ID to use for the report, which will become the final
1474
+ # component of the reports's resource name.
940
1475
  #
941
1476
  # This value maximum length is 63 characters, and valid characters
942
1477
  # are /[a-z][0-9]-/. It must start with an english letter and must not
@@ -991,8 +1526,8 @@ module Google
991
1526
  # Output only. The list of sources response.
992
1527
  # @!attribute [r] next_page_token
993
1528
  # @return [::String]
994
- # Output only. A token, which can be sent as `page_token` to retrieve the next page.
995
- # If this field is omitted, there are no subsequent pages.
1529
+ # Output only. A token, which can be sent as `page_token` to retrieve the
1530
+ # next page. If this field is omitted, there are no subsequent pages.
996
1531
  # @!attribute [r] unreachable
997
1532
  # @return [::Array<::String>]
998
1533
  # Output only. Locations that could not be reached.
@@ -1067,20 +1602,50 @@ module Google
1067
1602
  extend ::Google::Protobuf::MessageExts::ClassMethods
1068
1603
  end
1069
1604
 
1605
+ # Request message for 'UpgradeAppliance' request.
1606
+ # @!attribute [rw] datacenter_connector
1607
+ # @return [::String]
1608
+ # Required. The DatacenterConnector name.
1609
+ # @!attribute [rw] request_id
1610
+ # @return [::String]
1611
+ # A request ID to identify requests. Specify a unique request ID
1612
+ # so that if you must retry your request, the server will know to ignore
1613
+ # the request if it has already been completed. The server will guarantee
1614
+ # that for at least 60 minutes after the first request.
1615
+ #
1616
+ # For example, consider a situation where you make an initial request and t
1617
+ # he request times out. If you make the request again with the same request
1618
+ # ID, the server can check if original operation with the same request ID
1619
+ # was received, and if so, will ignore the second request. This prevents
1620
+ # clients from accidentally creating duplicate commitments.
1621
+ #
1622
+ # The request ID must be a valid UUID with the exception that zero UUID is
1623
+ # not supported (00000000-0000-0000-0000-000000000000).
1624
+ class UpgradeApplianceRequest
1625
+ include ::Google::Protobuf::MessageExts
1626
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1627
+ end
1628
+
1629
+ # Response message for 'UpgradeAppliance' request.
1630
+ class UpgradeApplianceResponse
1631
+ include ::Google::Protobuf::MessageExts
1632
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1633
+ end
1634
+
1070
1635
  # Request message for 'ListDatacenterConnectors' request.
1071
1636
  # @!attribute [rw] parent
1072
1637
  # @return [::String]
1073
1638
  # Required. The parent, which owns this collection of connectors.
1074
1639
  # @!attribute [rw] page_size
1075
1640
  # @return [::Integer]
1076
- # Optional. The maximum number of connectors to return. The service may return
1077
- # fewer than this value. If unspecified, at most 500 sources will be
1641
+ # Optional. The maximum number of connectors to return. The service may
1642
+ # return fewer than this value. If unspecified, at most 500 sources will be
1078
1643
  # returned. The maximum value is 1000; values above 1000 will be coerced to
1079
1644
  # 1000.
1080
1645
  # @!attribute [rw] page_token
1081
1646
  # @return [::String]
1082
- # Required. A page token, received from a previous `ListDatacenterConnectors` call.
1083
- # Provide this to retrieve the subsequent page.
1647
+ # Required. A page token, received from a previous `ListDatacenterConnectors`
1648
+ # call. Provide this to retrieve the subsequent page.
1084
1649
  #
1085
1650
  # When paginating, all other parameters provided to
1086
1651
  # `ListDatacenterConnectors` must match the call that provided the page
@@ -1148,6 +1713,12 @@ module Google
1148
1713
  # @!attribute [rw] metadata
1149
1714
  # @return [::Google::Protobuf::Map{::String => ::String}]
1150
1715
  # The metadata key/value pairs to assign to the VM.
1716
+ # @!attribute [rw] additional_licenses
1717
+ # @return [::Array<::String>]
1718
+ # Additional licenses to assign to the VM.
1719
+ # @!attribute [rw] hostname
1720
+ # @return [::String]
1721
+ # The hostname to assign to the VM.
1151
1722
  class ComputeEngineTargetDefaults
1152
1723
  include ::Google::Protobuf::MessageExts
1153
1724
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1178,7 +1749,7 @@ module Google
1178
1749
  # The name of the VM to create.
1179
1750
  # @!attribute [rw] project
1180
1751
  # @return [::String]
1181
- # The GCP target project ID or project name.
1752
+ # The Google Cloud target project ID or project name.
1182
1753
  # @!attribute [rw] zone
1183
1754
  # @return [::String]
1184
1755
  # The zone in which to create the VM.
@@ -1222,6 +1793,12 @@ module Google
1222
1793
  # @!attribute [rw] metadata
1223
1794
  # @return [::Google::Protobuf::Map{::String => ::String}]
1224
1795
  # The metadata key/value pairs to assign to the VM.
1796
+ # @!attribute [rw] additional_licenses
1797
+ # @return [::Array<::String>]
1798
+ # Additional licenses to assign to the VM.
1799
+ # @!attribute [rw] hostname
1800
+ # @return [::String]
1801
+ # The hostname to assign to the VM.
1225
1802
  class ComputeEngineTargetDetails
1226
1803
  include ::Google::Protobuf::MessageExts
1227
1804
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1287,7 +1864,7 @@ module Google
1287
1864
  # The license type is Pay As You Go license type.
1288
1865
  PAYG = 2
1289
1866
 
1290
- # The license type is is Bring Your Own License type.
1867
+ # The license type is Bring Your Own License type.
1291
1868
  BYOL = 3
1292
1869
  end
1293
1870
  end
@@ -1427,10 +2004,10 @@ module Google
1427
2004
  # Required. The parent, which owns this collection of MigratingVms.
1428
2005
  # @!attribute [rw] page_size
1429
2006
  # @return [::Integer]
1430
- # Optional. The maximum number of migrating VMs to return. The service may return
1431
- # fewer than this value. If unspecified, at most 500 migrating VMs will be
1432
- # returned. The maximum value is 1000; values above 1000 will be coerced to
1433
- # 1000.
2007
+ # Optional. The maximum number of migrating VMs to return. The service may
2008
+ # return fewer than this value. If unspecified, at most 500 migrating VMs
2009
+ # will be returned. The maximum value is 1000; values above 1000 will be
2010
+ # coerced to 1000.
1434
2011
  # @!attribute [rw] page_token
1435
2012
  # @return [::String]
1436
2013
  # Required. A page token, received from a previous `ListMigratingVms` call.
@@ -1444,6 +2021,9 @@ module Google
1444
2021
  # @!attribute [rw] order_by
1445
2022
  # @return [::String]
1446
2023
  # Optional. the order by fields for the result.
2024
+ # @!attribute [rw] view
2025
+ # @return [::Google::Cloud::VMMigration::V1::MigratingVmView]
2026
+ # Optional. The level of details of each migrating VM.
1447
2027
  class ListMigratingVmsRequest
1448
2028
  include ::Google::Protobuf::MessageExts
1449
2029
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1455,8 +2035,8 @@ module Google
1455
2035
  # Output only. The list of Migrating VMs response.
1456
2036
  # @!attribute [r] next_page_token
1457
2037
  # @return [::String]
1458
- # Output only. A token, which can be sent as `page_token` to retrieve the next page.
1459
- # If this field is omitted, there are no subsequent pages.
2038
+ # Output only. A token, which can be sent as `page_token` to retrieve the
2039
+ # next page. If this field is omitted, there are no subsequent pages.
1460
2040
  # @!attribute [r] unreachable
1461
2041
  # @return [::Array<::String>]
1462
2042
  # Output only. Locations that could not be reached.
@@ -1469,6 +2049,9 @@ module Google
1469
2049
  # @!attribute [rw] name
1470
2050
  # @return [::String]
1471
2051
  # Required. The name of the MigratingVm.
2052
+ # @!attribute [rw] view
2053
+ # @return [::Google::Cloud::VMMigration::V1::MigratingVmView]
2054
+ # Optional. The level of details of the migrating VM.
1472
2055
  class GetMigratingVmRequest
1473
2056
  include ::Google::Protobuf::MessageExts
1474
2057
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1576,9 +2159,9 @@ module Google
1576
2159
 
1577
2160
  # TargetProject message represents a target Compute Engine project for a
1578
2161
  # migration or a clone.
1579
- # @!attribute [rw] name
2162
+ # @!attribute [r] name
1580
2163
  # @return [::String]
1581
- # The name of the target project.
2164
+ # Output only. The name of the target project.
1582
2165
  # @!attribute [rw] project
1583
2166
  # @return [::String]
1584
2167
  # The target project ID (number) or project name.
@@ -1587,8 +2170,8 @@ module Google
1587
2170
  # The target project's description.
1588
2171
  # @!attribute [r] create_time
1589
2172
  # @return [::Google::Protobuf::Timestamp]
1590
- # Output only. The time this target project resource was created (not related to when the
1591
- # Compute Engine project it points to was created).
2173
+ # Output only. The time this target project resource was created (not related
2174
+ # to when the Compute Engine project it points to was created).
1592
2175
  # @!attribute [r] update_time
1593
2176
  # @return [::Google::Protobuf::Timestamp]
1594
2177
  # Output only. The last time the target project resource was updated.
@@ -1640,8 +2223,8 @@ module Google
1640
2223
  # Output only. The list of target response.
1641
2224
  # @!attribute [r] next_page_token
1642
2225
  # @return [::String]
1643
- # Output only. A token, which can be sent as `page_token` to retrieve the next page.
1644
- # If this field is omitted, there are no subsequent pages.
2226
+ # Output only. A token, which can be sent as `page_token` to retrieve the
2227
+ # next page. If this field is omitted, there are no subsequent pages.
1645
2228
  # @!attribute [r] unreachable
1646
2229
  # @return [::Array<::String>]
1647
2230
  # Output only. Locations that could not be reached.
@@ -1737,9 +2320,9 @@ module Google
1737
2320
 
1738
2321
  # Describes message for 'Group' resource. The Group is a collections of several
1739
2322
  # MigratingVms.
1740
- # @!attribute [rw] name
2323
+ # @!attribute [r] name
1741
2324
  # @return [::String]
1742
- # The Group name.
2325
+ # Output only. The Group name.
1743
2326
  # @!attribute [r] create_time
1744
2327
  # @return [::Google::Protobuf::Timestamp]
1745
2328
  # Output only. The create time timestamp.
@@ -1791,8 +2374,8 @@ module Google
1791
2374
  # Output only. The list of groups response.
1792
2375
  # @!attribute [r] next_page_token
1793
2376
  # @return [::String]
1794
- # Output only. A token, which can be sent as `page_token` to retrieve the next page.
1795
- # If this field is omitted, there are no subsequent pages.
2377
+ # Output only. A token, which can be sent as `page_token` to retrieve the
2378
+ # next page. If this field is omitted, there are no subsequent pages.
1796
2379
  # @!attribute [r] unreachable
1797
2380
  # @return [::Array<::String>]
1798
2381
  # Output only. Locations that could not be reached.
@@ -1982,10 +2565,10 @@ module Google
1982
2565
  # Required. The parent, which owns this collection of migrating VMs.
1983
2566
  # @!attribute [rw] page_size
1984
2567
  # @return [::Integer]
1985
- # Optional. The maximum number of cutover jobs to return. The service may return
1986
- # fewer than this value. If unspecified, at most 500 cutover jobs will be
1987
- # returned. The maximum value is 1000; values above 1000 will be coerced to
1988
- # 1000.
2568
+ # Optional. The maximum number of cutover jobs to return. The service may
2569
+ # return fewer than this value. If unspecified, at most 500 cutover jobs will
2570
+ # be returned. The maximum value is 1000; values above 1000 will be coerced
2571
+ # to 1000.
1989
2572
  # @!attribute [rw] page_token
1990
2573
  # @return [::String]
1991
2574
  # Required. A page token, received from a previous `ListCutoverJobs` call.
@@ -2010,8 +2593,8 @@ module Google
2010
2593
  # Output only. The list of cutover jobs response.
2011
2594
  # @!attribute [r] next_page_token
2012
2595
  # @return [::String]
2013
- # Output only. A token, which can be sent as `page_token` to retrieve the next page.
2014
- # If this field is omitted, there are no subsequent pages.
2596
+ # Output only. A token, which can be sent as `page_token` to retrieve the
2597
+ # next page. If this field is omitted, there are no subsequent pages.
2015
2598
  # @!attribute [r] unreachable
2016
2599
  # @return [::Array<::String>]
2017
2600
  # Output only. Locations that could not be reached.
@@ -2049,8 +2632,9 @@ module Google
2049
2632
  # @return [::Boolean]
2050
2633
  # Output only. Identifies whether the user has requested cancellation
2051
2634
  # of the operation. Operations that have successfully been cancelled
2052
- # have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
2053
- # corresponding to `Code.CANCELLED`.
2635
+ # have [Operation.error][] value with a
2636
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
2637
+ # `Code.CANCELLED`.
2054
2638
  # @!attribute [r] api_version
2055
2639
  # @return [::String]
2056
2640
  # Output only. API version used to start the operation.
@@ -2073,7 +2657,8 @@ module Google
2073
2657
  # Output only. Suggested action for solving the error.
2074
2658
  # @!attribute [r] help_links
2075
2659
  # @return [::Array<::Google::Rpc::Help::Link>]
2076
- # Output only. URL(s) pointing to additional information on handling the current error.
2660
+ # Output only. URL(s) pointing to additional information on handling the
2661
+ # current error.
2077
2662
  # @!attribute [r] error_time
2078
2663
  # @return [::Google::Protobuf::Timestamp]
2079
2664
  # Output only. The time the error occurred.
@@ -2111,9 +2696,89 @@ module Google
2111
2696
  # Migrate for Compute encountered an error during utilization report
2112
2697
  # creation.
2113
2698
  UTILIZATION_REPORT_ERROR = 8
2699
+
2700
+ # Migrate for Compute encountered an error during appliance upgrade.
2701
+ APPLIANCE_UPGRADE_ERROR = 9
2702
+ end
2703
+ end
2704
+
2705
+ # Represent the source AWS VM details.
2706
+ # @!attribute [rw] firmware
2707
+ # @return [::Google::Cloud::VMMigration::V1::AwsSourceVmDetails::Firmware]
2708
+ # The firmware type of the source VM.
2709
+ # @!attribute [rw] committed_storage_bytes
2710
+ # @return [::Integer]
2711
+ # The total size of the disks being migrated in bytes.
2712
+ class AwsSourceVmDetails
2713
+ include ::Google::Protobuf::MessageExts
2714
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2715
+
2716
+ # Possible values for AWS VM firmware.
2717
+ module Firmware
2718
+ # The firmware is unknown.
2719
+ FIRMWARE_UNSPECIFIED = 0
2720
+
2721
+ # The firmware is EFI.
2722
+ EFI = 1
2723
+
2724
+ # The firmware is BIOS.
2725
+ BIOS = 2
2114
2726
  end
2115
2727
  end
2116
2728
 
2729
+ # Request message for 'LisReplicationCyclesRequest' request.
2730
+ # @!attribute [rw] parent
2731
+ # @return [::String]
2732
+ # Required. The parent, which owns this collection of ReplicationCycles.
2733
+ # @!attribute [rw] page_size
2734
+ # @return [::Integer]
2735
+ # Optional. The maximum number of replication cycles to return. The service
2736
+ # may return fewer than this value. If unspecified, at most 100 migrating VMs
2737
+ # will be returned. The maximum value is 100; values above 100 will be
2738
+ # coerced to 100.
2739
+ # @!attribute [rw] page_token
2740
+ # @return [::String]
2741
+ # Required. A page token, received from a previous `ListReplicationCycles`
2742
+ # call. Provide this to retrieve the subsequent page.
2743
+ #
2744
+ # When paginating, all other parameters provided to `ListReplicationCycles`
2745
+ # must match the call that provided the page token.
2746
+ # @!attribute [rw] filter
2747
+ # @return [::String]
2748
+ # Optional. The filter request.
2749
+ # @!attribute [rw] order_by
2750
+ # @return [::String]
2751
+ # Optional. the order by fields for the result.
2752
+ class ListReplicationCyclesRequest
2753
+ include ::Google::Protobuf::MessageExts
2754
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2755
+ end
2756
+
2757
+ # Response message for 'ListReplicationCycles' request.
2758
+ # @!attribute [r] replication_cycles
2759
+ # @return [::Array<::Google::Cloud::VMMigration::V1::ReplicationCycle>]
2760
+ # Output only. The list of replication cycles response.
2761
+ # @!attribute [r] next_page_token
2762
+ # @return [::String]
2763
+ # Output only. A token, which can be sent as `page_token` to retrieve the
2764
+ # next page. If this field is omitted, there are no subsequent pages.
2765
+ # @!attribute [r] unreachable
2766
+ # @return [::Array<::String>]
2767
+ # Output only. Locations that could not be reached.
2768
+ class ListReplicationCyclesResponse
2769
+ include ::Google::Protobuf::MessageExts
2770
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2771
+ end
2772
+
2773
+ # Request message for 'GetReplicationCycle' request.
2774
+ # @!attribute [rw] name
2775
+ # @return [::String]
2776
+ # Required. The name of the ReplicationCycle.
2777
+ class GetReplicationCycleRequest
2778
+ include ::Google::Protobuf::MessageExts
2779
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2780
+ end
2781
+
2117
2782
  # Controls the level of details of a Utilization Report.
2118
2783
  module UtilizationReportView
2119
2784
  # The default / unset value.
@@ -2129,6 +2794,20 @@ module Google
2129
2794
  FULL = 2
2130
2795
  end
2131
2796
 
2797
+ # Controls the level of details of a Migrating VM.
2798
+ module MigratingVmView
2799
+ # View is unspecified. The API will fallback to the default value.
2800
+ MIGRATING_VM_VIEW_UNSPECIFIED = 0
2801
+
2802
+ # Get the migrating VM basic details.
2803
+ # The basic details do not include the recent clone jobs and recent cutover
2804
+ # jobs lists.
2805
+ MIGRATING_VM_VIEW_BASIC = 1
2806
+
2807
+ # Include everything.
2808
+ MIGRATING_VM_VIEW_FULL = 2
2809
+ end
2810
+
2132
2811
  # Types of disks supported for Compute Engine VM.
2133
2812
  module ComputeEngineDiskType
2134
2813
  # An unspecified disk type. Will be used as STANDARD.