google-cloud-vm_migration-v1 0.1.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -68,15 +68,15 @@ module Google
68
68
  # The replication schedule policy.
69
69
  # @!attribute [r] create_time
70
70
  # @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).
71
+ # Output only. The time the migrating VM was created (this refers to this
72
+ # resource and not to the time it was installed in the source).
73
73
  # @!attribute [r] update_time
74
74
  # @return [::Google::Protobuf::Timestamp]
75
75
  # Output only. The last time the migrating VM resource was updated.
76
76
  # @!attribute [r] last_sync
77
77
  # @return [::Google::Cloud::VMMigration::V1::ReplicationSync]
78
- # Output only. The most updated snapshot created time in the source that finished
79
- # replication.
78
+ # Output only. The most updated snapshot created time in the source that
79
+ # finished replication.
80
80
  # @!attribute [r] state
81
81
  # @return [::Google::Cloud::VMMigration::V1::MigratingVm::State]
82
82
  # Output only. State of the MigratingVm.
@@ -85,19 +85,34 @@ module Google
85
85
  # Output only. The last time the migrating VM state was updated.
86
86
  # @!attribute [r] current_sync_info
87
87
  # @return [::Google::Cloud::VMMigration::V1::ReplicationCycle]
88
- # Output only. The percentage progress of the current running replication cycle.
88
+ # Output only. The percentage progress of the current running replication
89
+ # cycle.
89
90
  # @!attribute [r] group
90
91
  # @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
92
+ # Output only. The group this migrating vm is included in, if any. The group
93
+ # is represented by the full path of the appropriate
93
94
  # {::Google::Cloud::VMMigration::V1::Group Group} resource.
94
95
  # @!attribute [rw] labels
95
96
  # @return [::Google::Protobuf::Map{::String => ::String}]
96
97
  # The labels of the migrating VM.
98
+ # @!attribute [r] recent_clone_jobs
99
+ # @return [::Array<::Google::Cloud::VMMigration::V1::CloneJob>]
100
+ # Output only. The recent {::Google::Cloud::VMMigration::V1::CloneJob clone jobs}
101
+ # performed on the migrating VM. This field holds the vm's last completed
102
+ # clone job and the vm's running clone job, if one exists.
103
+ # Note: To have this field populated you need to explicitly request it via
104
+ # the "view" parameter of the Get/List request.
97
105
  # @!attribute [r] error
98
106
  # @return [::Google::Rpc::Status]
99
- # Output only. Provides details on the state of the Migrating VM in case of an
100
- # error in replication.
107
+ # Output only. Provides details on the state of the Migrating VM in case of
108
+ # an error in replication.
109
+ # @!attribute [r] recent_cutover_jobs
110
+ # @return [::Array<::Google::Cloud::VMMigration::V1::CutoverJob>]
111
+ # Output only. The recent cutover jobs performed on the migrating VM.
112
+ # This field holds the vm's last completed cutover job and the vm's
113
+ # running cutover job, if one exists.
114
+ # Note: To have this field populated you need to explicitly request it via
115
+ # the "view" parameter of the Get/List request.
101
116
  class MigratingVm
102
117
  include ::Google::Protobuf::MessageExts
103
118
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -172,11 +187,14 @@ module Google
172
187
  # Output only. Details of the target VM in Compute Engine.
173
188
  # @!attribute [r] create_time
174
189
  # @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
190
+ # Output only. The time the clone job was created (as an API call, not when
191
+ # it was actually created in the target).
192
+ # @!attribute [r] end_time
193
+ # @return [::Google::Protobuf::Timestamp]
194
+ # Output only. The time the clone job was ended.
195
+ # @!attribute [r] name
178
196
  # @return [::String]
179
- # The name of the clone.
197
+ # Output only. The name of the clone.
180
198
  # @!attribute [r] state
181
199
  # @return [::Google::Cloud::VMMigration::V1::CloneJob::State]
182
200
  # Output only. State of the clone job.
@@ -185,7 +203,8 @@ module Google
185
203
  # Output only. The time the state was last updated.
186
204
  # @!attribute [r] error
187
205
  # @return [::Google::Rpc::Status]
188
- # Output only. Provides details for the errors that led to the Clone Job's state.
206
+ # Output only. Provides details for the errors that led to the Clone Job's
207
+ # state.
189
208
  class CloneJob
190
209
  include ::Google::Protobuf::MessageExts
191
210
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -227,8 +246,11 @@ module Google
227
246
  # Output only. Details of the target VM in Compute Engine.
228
247
  # @!attribute [r] create_time
229
248
  # @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).
249
+ # Output only. The time the cutover job was created (as an API call, not when
250
+ # it was actually created in the target).
251
+ # @!attribute [r] end_time
252
+ # @return [::Google::Protobuf::Timestamp]
253
+ # Output only. The time the cutover job had finished.
232
254
  # @!attribute [r] name
233
255
  # @return [::String]
234
256
  # Output only. The name of the cutover job.
@@ -243,10 +265,12 @@ module Google
243
265
  # Output only. The current progress in percentage of the cutover job.
244
266
  # @!attribute [r] error
245
267
  # @return [::Google::Rpc::Status]
246
- # Output only. Provides details for the errors that led to the Cutover Job's state.
268
+ # Output only. Provides details for the errors that led to the Cutover Job's
269
+ # state.
247
270
  # @!attribute [r] state_message
248
271
  # @return [::String]
249
- # Output only. A message providing possible extra details about the current state.
272
+ # Output only. A message providing possible extra details about the current
273
+ # state.
250
274
  class CutoverJob
251
275
  include ::Google::Protobuf::MessageExts
252
276
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -331,10 +355,10 @@ module Google
331
355
  # Required. The parent, which owns this collection of source VMs.
332
356
  # @!attribute [rw] page_size
333
357
  # @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.
358
+ # Optional. The maximum number of clone jobs to return. The service may
359
+ # return fewer than this value. If unspecified, at most 500 clone jobs will
360
+ # be returned. The maximum value is 1000; values above 1000 will be coerced
361
+ # to 1000.
338
362
  # @!attribute [rw] page_token
339
363
  # @return [::String]
340
364
  # Required. A page token, received from a previous `ListCloneJobs` call.
@@ -359,8 +383,8 @@ module Google
359
383
  # Output only. The list of clone jobs response.
360
384
  # @!attribute [r] next_page_token
361
385
  # @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.
386
+ # Output only. A token, which can be sent as `page_token` to retrieve the
387
+ # next page. If this field is omitted, there are no subsequent pages.
364
388
  # @!attribute [r] unreachable
365
389
  # @return [::Array<::String>]
366
390
  # Output only. Locations that could not be reached.
@@ -419,8 +443,8 @@ module Google
419
443
  # The credentials username.
420
444
  # @!attribute [rw] password
421
445
  # @return [::String]
422
- # Input only. The credentials password. This is write only and can not be read in a GET
423
- # operation.
446
+ # Input only. The credentials password. This is write only and can not be
447
+ # read in a GET operation.
424
448
  # @!attribute [rw] vcenter_ip
425
449
  # @return [::String]
426
450
  # The ip address of the vcenter this Source represents.
@@ -437,8 +461,8 @@ module Google
437
461
  # to connect the Datacenter to GCP and support vm migration data transfer.
438
462
  # @!attribute [r] create_time
439
463
  # @return [::Google::Protobuf::Timestamp]
440
- # Output only. The time the connector was created (as an API call, not when it was
441
- # actually installed).
464
+ # Output only. The time the connector was created (as an API call, not when
465
+ # it was actually installed).
442
466
  # @!attribute [r] update_time
443
467
  # @return [::Google::Protobuf::Timestamp]
444
468
  # Output only. The last time the connector was updated with an API call.
@@ -447,9 +471,9 @@ module Google
447
471
  # Output only. The connector's name.
448
472
  # @!attribute [rw] registration_id
449
473
  # @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.
474
+ # Immutable. A unique key for this connector. This key is internal to the OVA
475
+ # connector and is supplied with its creation during the registration process
476
+ # and can not be modified.
453
477
  # @!attribute [rw] service_account
454
478
  # @return [::String]
455
479
  # The service account to use in the connector when communicating with the
@@ -460,17 +484,35 @@ module Google
460
484
  # connector during the registration process and can not be modified.
461
485
  # @!attribute [r] bucket
462
486
  # @return [::String]
463
- # Output only. The communication channel between the datacenter connector and GCP.
487
+ # Output only. The communication channel between the datacenter connector and
488
+ # GCP.
464
489
  # @!attribute [r] state
465
490
  # @return [::Google::Cloud::VMMigration::V1::DatacenterConnector::State]
466
- # Output only. State of the DatacenterConnector, as determined by the health checks.
491
+ # Output only. State of the DatacenterConnector, as determined by the health
492
+ # checks.
467
493
  # @!attribute [r] state_time
468
494
  # @return [::Google::Protobuf::Timestamp]
469
495
  # Output only. The time the state was last set.
470
496
  # @!attribute [r] error
471
497
  # @return [::Google::Rpc::Status]
472
- # Output only. Provides details on the state of the Datacenter Connector in case of an
473
- # error.
498
+ # Output only. Provides details on the state of the Datacenter Connector in
499
+ # case of an error.
500
+ # @!attribute [r] appliance_infrastructure_version
501
+ # @return [::String]
502
+ # Output only. Appliance OVA version.
503
+ # This is the OVA which is manually installed by the user and contains the
504
+ # infrastructure for the automatically updatable components on the appliance.
505
+ # @!attribute [r] appliance_software_version
506
+ # @return [::String]
507
+ # Output only. Appliance last installed update bundle version.
508
+ # This is the version of the automatically updatable components on the
509
+ # appliance.
510
+ # @!attribute [r] available_versions
511
+ # @return [::Google::Cloud::VMMigration::V1::AvailableUpdates]
512
+ # Output only. The available versions for updating this appliance.
513
+ # @!attribute [r] upgrade_status
514
+ # @return [::Google::Cloud::VMMigration::V1::UpgradeStatus]
515
+ # Output only. The status of the current / last upgradeAppliance operation.
474
516
  class DatacenterConnector
475
517
  include ::Google::Protobuf::MessageExts
476
518
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -497,6 +539,76 @@ module Google
497
539
  end
498
540
  end
499
541
 
542
+ # UpgradeStatus contains information about upgradeAppliance operation.
543
+ # @!attribute [rw] version
544
+ # @return [::String]
545
+ # The version to upgrade to.
546
+ # @!attribute [rw] state
547
+ # @return [::Google::Cloud::VMMigration::V1::UpgradeStatus::State]
548
+ # The state of the upgradeAppliance operation.
549
+ # @!attribute [rw] error
550
+ # @return [::Google::Rpc::Status]
551
+ # Provides details on the state of the upgrade operation in case of an error.
552
+ # @!attribute [rw] start_time
553
+ # @return [::Google::Protobuf::Timestamp]
554
+ # The time the operation was started.
555
+ # @!attribute [rw] previous_version
556
+ # @return [::String]
557
+ # The version from which we upgraded.
558
+ class UpgradeStatus
559
+ include ::Google::Protobuf::MessageExts
560
+ extend ::Google::Protobuf::MessageExts::ClassMethods
561
+
562
+ # The possible values of the state.
563
+ module State
564
+ # The state was not sampled by the health checks yet.
565
+ STATE_UNSPECIFIED = 0
566
+
567
+ # The upgrade has started.
568
+ RUNNING = 1
569
+
570
+ # The upgrade failed.
571
+ FAILED = 2
572
+
573
+ # The upgrade finished successfully.
574
+ SUCCEEDED = 3
575
+ end
576
+ end
577
+
578
+ # Holds informatiom about the available versions for upgrade.
579
+ # @!attribute [rw] new_deployable_appliance
580
+ # @return [::Google::Cloud::VMMigration::V1::ApplianceVersion]
581
+ # The newest deployable version of the appliance.
582
+ # The current appliance can't be updated into this version, and the owner
583
+ # must manually deploy this OVA to a new appliance.
584
+ # @!attribute [rw] in_place_update
585
+ # @return [::Google::Cloud::VMMigration::V1::ApplianceVersion]
586
+ # The latest version for in place update.
587
+ # The current appliance can be updated to this version using the API or m4c
588
+ # CLI.
589
+ class AvailableUpdates
590
+ include ::Google::Protobuf::MessageExts
591
+ extend ::Google::Protobuf::MessageExts::ClassMethods
592
+ end
593
+
594
+ # Describes an appliance version.
595
+ # @!attribute [rw] version
596
+ # @return [::String]
597
+ # The appliance version.
598
+ # @!attribute [rw] uri
599
+ # @return [::String]
600
+ # A link for downloading the version.
601
+ # @!attribute [rw] critical
602
+ # @return [::Boolean]
603
+ # Determine whether it's critical to upgrade the appliance to this version.
604
+ # @!attribute [rw] release_notes_uri
605
+ # @return [::String]
606
+ # Link to a page that contains the version release notes.
607
+ class ApplianceVersion
608
+ include ::Google::Protobuf::MessageExts
609
+ extend ::Google::Protobuf::MessageExts::ClassMethods
610
+ end
611
+
500
612
  # Request message for 'ListSources' request.
501
613
  # @!attribute [rw] parent
502
614
  # @return [::String]
@@ -531,8 +643,8 @@ module Google
531
643
  # Output only. The list of sources response.
532
644
  # @!attribute [r] next_page_token
533
645
  # @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.
646
+ # Output only. A token, which can be sent as `page_token` to retrieve the
647
+ # next page. If this field is omitted, there are no subsequent pages.
536
648
  # @!attribute [r] unreachable
537
649
  # @return [::Array<::String>]
538
650
  # Output only. Locations that could not be reached.
@@ -684,7 +796,7 @@ module Google
684
796
  # @!attribute [rw] guest_description
685
797
  # @return [::String]
686
798
  # The VM's OS. See for example
687
- # https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
799
+ # 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
800
  # for types of strings this might hold.
689
801
  # @!attribute [r] boot_option
690
802
  # @return [::Google::Cloud::VMMigration::V1::VmwareVmDetails::BootOption]
@@ -732,13 +844,13 @@ module Google
732
844
 
733
845
  # Response message for
734
846
  # {::Google::Cloud::VMMigration::V1::VMMigration::Client#fetch_inventory fetchInventory}.
735
- # @!attribute [r] vmware_vms
847
+ # @!attribute [rw] vmware_vms
736
848
  # @return [::Google::Cloud::VMMigration::V1::VmwareVmsDetails]
737
- # Output only. The description of the VMs in a Source of type Vmware.
849
+ # The description of the VMs in a Source of type Vmware.
738
850
  # @!attribute [r] update_time
739
851
  # @return [::Google::Protobuf::Timestamp]
740
- # Output only. The timestamp when the source was last queried (if the result is from the
741
- # cache).
852
+ # Output only. The timestamp when the source was last queried (if the result
853
+ # is from the cache).
742
854
  class FetchInventoryResponse
743
855
  include ::Google::Protobuf::MessageExts
744
856
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -760,19 +872,20 @@ module Google
760
872
  # Output only. The time the state was last set.
761
873
  # @!attribute [r] error
762
874
  # @return [::Google::Rpc::Status]
763
- # Output only. Provides details on the state of the report in case of an error.
875
+ # Output only. Provides details on the state of the report in case of an
876
+ # error.
764
877
  # @!attribute [r] create_time
765
878
  # @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).
879
+ # Output only. The time the report was created (this refers to the time of
880
+ # the request, not the time the report creation completed).
768
881
  # @!attribute [rw] time_frame
769
882
  # @return [::Google::Cloud::VMMigration::V1::UtilizationReport::TimeFrame]
770
883
  # Time frame of the report.
771
884
  # @!attribute [r] frame_end_time
772
885
  # @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
886
+ # Output only. The point in time when the time frame ends. Notice that the
887
+ # time frame is counted backwards. For instance if the "frame_end_time" value
888
+ # is 2021/01/20 and the time frame is WEEK then the report covers the week
776
889
  # between 2021/01/20 and 2021/01/14.
777
890
  # @!attribute [r] vm_count
778
891
  # @return [::Integer]
@@ -881,8 +994,8 @@ module Google
881
994
  # 1000.
882
995
  # @!attribute [rw] page_token
883
996
  # @return [::String]
884
- # Required. A page token, received from a previous `ListUtilizationReports` call.
885
- # Provide this to retrieve the subsequent page.
997
+ # Required. A page token, received from a previous `ListUtilizationReports`
998
+ # call. Provide this to retrieve the subsequent page.
886
999
  #
887
1000
  # When paginating, all other parameters provided to `ListUtilizationReports`
888
1001
  # must match the call that provided the page token.
@@ -903,8 +1016,8 @@ module Google
903
1016
  # Output only. The list of reports.
904
1017
  # @!attribute [r] next_page_token
905
1018
  # @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.
1019
+ # Output only. A token, which can be sent as `page_token` to retrieve the
1020
+ # next page. If this field is omitted, there are no subsequent pages.
908
1021
  # @!attribute [r] unreachable
909
1022
  # @return [::Array<::String>]
910
1023
  # Output only. Locations that could not be reached.
@@ -935,8 +1048,8 @@ module Google
935
1048
  # Required. The report to create.
936
1049
  # @!attribute [rw] utilization_report_id
937
1050
  # @return [::String]
938
- # Required. The ID to use for the report, which will become the final component of
939
- # the reports's resource name.
1051
+ # Required. The ID to use for the report, which will become the final
1052
+ # component of the reports's resource name.
940
1053
  #
941
1054
  # This value maximum length is 63 characters, and valid characters
942
1055
  # are /[a-z][0-9]-/. It must start with an english letter and must not
@@ -991,8 +1104,8 @@ module Google
991
1104
  # Output only. The list of sources response.
992
1105
  # @!attribute [r] next_page_token
993
1106
  # @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.
1107
+ # Output only. A token, which can be sent as `page_token` to retrieve the
1108
+ # next page. If this field is omitted, there are no subsequent pages.
996
1109
  # @!attribute [r] unreachable
997
1110
  # @return [::Array<::String>]
998
1111
  # Output only. Locations that could not be reached.
@@ -1067,20 +1180,50 @@ module Google
1067
1180
  extend ::Google::Protobuf::MessageExts::ClassMethods
1068
1181
  end
1069
1182
 
1183
+ # Request message for 'UpgradeAppliance' request.
1184
+ # @!attribute [rw] datacenter_connector
1185
+ # @return [::String]
1186
+ # Required. The DatacenterConnector name.
1187
+ # @!attribute [rw] request_id
1188
+ # @return [::String]
1189
+ # A request ID to identify requests. Specify a unique request ID
1190
+ # so that if you must retry your request, the server will know to ignore
1191
+ # the request if it has already been completed. The server will guarantee
1192
+ # that for at least 60 minutes after the first request.
1193
+ #
1194
+ # For example, consider a situation where you make an initial request and t
1195
+ # he request times out. If you make the request again with the same request
1196
+ # ID, the server can check if original operation with the same request ID
1197
+ # was received, and if so, will ignore the second request. This prevents
1198
+ # clients from accidentally creating duplicate commitments.
1199
+ #
1200
+ # The request ID must be a valid UUID with the exception that zero UUID is
1201
+ # not supported (00000000-0000-0000-0000-000000000000).
1202
+ class UpgradeApplianceRequest
1203
+ include ::Google::Protobuf::MessageExts
1204
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1205
+ end
1206
+
1207
+ # Response message for 'UpgradeAppliance' request.
1208
+ class UpgradeApplianceResponse
1209
+ include ::Google::Protobuf::MessageExts
1210
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1211
+ end
1212
+
1070
1213
  # Request message for 'ListDatacenterConnectors' request.
1071
1214
  # @!attribute [rw] parent
1072
1215
  # @return [::String]
1073
1216
  # Required. The parent, which owns this collection of connectors.
1074
1217
  # @!attribute [rw] page_size
1075
1218
  # @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
1219
+ # Optional. The maximum number of connectors to return. The service may
1220
+ # return fewer than this value. If unspecified, at most 500 sources will be
1078
1221
  # returned. The maximum value is 1000; values above 1000 will be coerced to
1079
1222
  # 1000.
1080
1223
  # @!attribute [rw] page_token
1081
1224
  # @return [::String]
1082
- # Required. A page token, received from a previous `ListDatacenterConnectors` call.
1083
- # Provide this to retrieve the subsequent page.
1225
+ # Required. A page token, received from a previous `ListDatacenterConnectors`
1226
+ # call. Provide this to retrieve the subsequent page.
1084
1227
  #
1085
1228
  # When paginating, all other parameters provided to
1086
1229
  # `ListDatacenterConnectors` must match the call that provided the page
@@ -1148,6 +1291,12 @@ module Google
1148
1291
  # @!attribute [rw] metadata
1149
1292
  # @return [::Google::Protobuf::Map{::String => ::String}]
1150
1293
  # The metadata key/value pairs to assign to the VM.
1294
+ # @!attribute [rw] additional_licenses
1295
+ # @return [::Array<::String>]
1296
+ # Additional licenses to assign to the VM.
1297
+ # @!attribute [rw] hostname
1298
+ # @return [::String]
1299
+ # The hostname to assign to the VM.
1151
1300
  class ComputeEngineTargetDefaults
1152
1301
  include ::Google::Protobuf::MessageExts
1153
1302
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1222,6 +1371,12 @@ module Google
1222
1371
  # @!attribute [rw] metadata
1223
1372
  # @return [::Google::Protobuf::Map{::String => ::String}]
1224
1373
  # The metadata key/value pairs to assign to the VM.
1374
+ # @!attribute [rw] additional_licenses
1375
+ # @return [::Array<::String>]
1376
+ # Additional licenses to assign to the VM.
1377
+ # @!attribute [rw] hostname
1378
+ # @return [::String]
1379
+ # The hostname to assign to the VM.
1225
1380
  class ComputeEngineTargetDetails
1226
1381
  include ::Google::Protobuf::MessageExts
1227
1382
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1427,10 +1582,10 @@ module Google
1427
1582
  # Required. The parent, which owns this collection of MigratingVms.
1428
1583
  # @!attribute [rw] page_size
1429
1584
  # @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.
1585
+ # Optional. The maximum number of migrating VMs to return. The service may
1586
+ # return fewer than this value. If unspecified, at most 500 migrating VMs
1587
+ # will be returned. The maximum value is 1000; values above 1000 will be
1588
+ # coerced to 1000.
1434
1589
  # @!attribute [rw] page_token
1435
1590
  # @return [::String]
1436
1591
  # Required. A page token, received from a previous `ListMigratingVms` call.
@@ -1444,6 +1599,9 @@ module Google
1444
1599
  # @!attribute [rw] order_by
1445
1600
  # @return [::String]
1446
1601
  # Optional. the order by fields for the result.
1602
+ # @!attribute [rw] view
1603
+ # @return [::Google::Cloud::VMMigration::V1::MigratingVmView]
1604
+ # Optional. The level of details of each migrating VM.
1447
1605
  class ListMigratingVmsRequest
1448
1606
  include ::Google::Protobuf::MessageExts
1449
1607
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1455,8 +1613,8 @@ module Google
1455
1613
  # Output only. The list of Migrating VMs response.
1456
1614
  # @!attribute [r] next_page_token
1457
1615
  # @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.
1616
+ # Output only. A token, which can be sent as `page_token` to retrieve the
1617
+ # next page. If this field is omitted, there are no subsequent pages.
1460
1618
  # @!attribute [r] unreachable
1461
1619
  # @return [::Array<::String>]
1462
1620
  # Output only. Locations that could not be reached.
@@ -1469,6 +1627,9 @@ module Google
1469
1627
  # @!attribute [rw] name
1470
1628
  # @return [::String]
1471
1629
  # Required. The name of the MigratingVm.
1630
+ # @!attribute [rw] view
1631
+ # @return [::Google::Cloud::VMMigration::V1::MigratingVmView]
1632
+ # Optional. The level of details of the migrating VM.
1472
1633
  class GetMigratingVmRequest
1473
1634
  include ::Google::Protobuf::MessageExts
1474
1635
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1576,9 +1737,9 @@ module Google
1576
1737
 
1577
1738
  # TargetProject message represents a target Compute Engine project for a
1578
1739
  # migration or a clone.
1579
- # @!attribute [rw] name
1740
+ # @!attribute [r] name
1580
1741
  # @return [::String]
1581
- # The name of the target project.
1742
+ # Output only. The name of the target project.
1582
1743
  # @!attribute [rw] project
1583
1744
  # @return [::String]
1584
1745
  # The target project ID (number) or project name.
@@ -1587,8 +1748,8 @@ module Google
1587
1748
  # The target project's description.
1588
1749
  # @!attribute [r] create_time
1589
1750
  # @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).
1751
+ # Output only. The time this target project resource was created (not related
1752
+ # to when the Compute Engine project it points to was created).
1592
1753
  # @!attribute [r] update_time
1593
1754
  # @return [::Google::Protobuf::Timestamp]
1594
1755
  # Output only. The last time the target project resource was updated.
@@ -1640,8 +1801,8 @@ module Google
1640
1801
  # Output only. The list of target response.
1641
1802
  # @!attribute [r] next_page_token
1642
1803
  # @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.
1804
+ # Output only. A token, which can be sent as `page_token` to retrieve the
1805
+ # next page. If this field is omitted, there are no subsequent pages.
1645
1806
  # @!attribute [r] unreachable
1646
1807
  # @return [::Array<::String>]
1647
1808
  # Output only. Locations that could not be reached.
@@ -1737,9 +1898,9 @@ module Google
1737
1898
 
1738
1899
  # Describes message for 'Group' resource. The Group is a collections of several
1739
1900
  # MigratingVms.
1740
- # @!attribute [rw] name
1901
+ # @!attribute [r] name
1741
1902
  # @return [::String]
1742
- # The Group name.
1903
+ # Output only. The Group name.
1743
1904
  # @!attribute [r] create_time
1744
1905
  # @return [::Google::Protobuf::Timestamp]
1745
1906
  # Output only. The create time timestamp.
@@ -1791,8 +1952,8 @@ module Google
1791
1952
  # Output only. The list of groups response.
1792
1953
  # @!attribute [r] next_page_token
1793
1954
  # @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.
1955
+ # Output only. A token, which can be sent as `page_token` to retrieve the
1956
+ # next page. If this field is omitted, there are no subsequent pages.
1796
1957
  # @!attribute [r] unreachable
1797
1958
  # @return [::Array<::String>]
1798
1959
  # Output only. Locations that could not be reached.
@@ -1982,10 +2143,10 @@ module Google
1982
2143
  # Required. The parent, which owns this collection of migrating VMs.
1983
2144
  # @!attribute [rw] page_size
1984
2145
  # @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.
2146
+ # Optional. The maximum number of cutover jobs to return. The service may
2147
+ # return fewer than this value. If unspecified, at most 500 cutover jobs will
2148
+ # be returned. The maximum value is 1000; values above 1000 will be coerced
2149
+ # to 1000.
1989
2150
  # @!attribute [rw] page_token
1990
2151
  # @return [::String]
1991
2152
  # Required. A page token, received from a previous `ListCutoverJobs` call.
@@ -2010,8 +2171,8 @@ module Google
2010
2171
  # Output only. The list of cutover jobs response.
2011
2172
  # @!attribute [r] next_page_token
2012
2173
  # @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.
2174
+ # Output only. A token, which can be sent as `page_token` to retrieve the
2175
+ # next page. If this field is omitted, there are no subsequent pages.
2015
2176
  # @!attribute [r] unreachable
2016
2177
  # @return [::Array<::String>]
2017
2178
  # Output only. Locations that could not be reached.
@@ -2049,8 +2210,9 @@ module Google
2049
2210
  # @return [::Boolean]
2050
2211
  # Output only. Identifies whether the user has requested cancellation
2051
2212
  # 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`.
2213
+ # have [Operation.error][] value with a
2214
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
2215
+ # `Code.CANCELLED`.
2054
2216
  # @!attribute [r] api_version
2055
2217
  # @return [::String]
2056
2218
  # Output only. API version used to start the operation.
@@ -2073,7 +2235,8 @@ module Google
2073
2235
  # Output only. Suggested action for solving the error.
2074
2236
  # @!attribute [r] help_links
2075
2237
  # @return [::Array<::Google::Rpc::Help::Link>]
2076
- # Output only. URL(s) pointing to additional information on handling the current error.
2238
+ # Output only. URL(s) pointing to additional information on handling the
2239
+ # current error.
2077
2240
  # @!attribute [r] error_time
2078
2241
  # @return [::Google::Protobuf::Timestamp]
2079
2242
  # Output only. The time the error occurred.
@@ -2111,6 +2274,9 @@ module Google
2111
2274
  # Migrate for Compute encountered an error during utilization report
2112
2275
  # creation.
2113
2276
  UTILIZATION_REPORT_ERROR = 8
2277
+
2278
+ # Migrate for Compute encountered an error during appliance upgrade.
2279
+ APPLIANCE_UPGRADE_ERROR = 9
2114
2280
  end
2115
2281
  end
2116
2282
 
@@ -2129,6 +2295,20 @@ module Google
2129
2295
  FULL = 2
2130
2296
  end
2131
2297
 
2298
+ # Controls the level of details of a Migrating VM.
2299
+ module MigratingVmView
2300
+ # View is unspecified. The API will fallback to the default value.
2301
+ MIGRATING_VM_VIEW_UNSPECIFIED = 0
2302
+
2303
+ # Get the migrating VM basic details.
2304
+ # The basic details do not include the recent clone jobs and recent cutover
2305
+ # jobs lists.
2306
+ MIGRATING_VM_VIEW_BASIC = 1
2307
+
2308
+ # Include everything.
2309
+ MIGRATING_VM_VIEW_FULL = 2
2310
+ end
2311
+
2132
2312
  # Types of disks supported for Compute Engine VM.
2133
2313
  module ComputeEngineDiskType
2134
2314
  # An unspecified disk type. Will be used as STANDARD.