google-cloud-vm_migration-v1 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +1 -1
- data/lib/google/cloud/vm_migration/v1/version.rb +1 -1
- data/lib/google/cloud/vm_migration/v1/vm_migration/client.rb +375 -22
- data/lib/google/cloud/vm_migration/v1/vm_migration/paths.rb +23 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration.rb +1 -1
- data/lib/google/cloud/vm_migration/v1.rb +2 -2
- data/lib/google/cloud/vmmigration/v1/vmmigration_pb.rb +252 -0
- data/lib/google/cloud/vmmigration/v1/vmmigration_services_pb.rb +7 -0
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/vmmigration/v1/vmmigration.rb +769 -90
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/error_details.rb +102 -66
- data/proto_docs/google/rpc/status.rb +4 -2
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +48 -5
@@ -17,8 +17,41 @@ require 'google/rpc/status_pb'
|
|
17
17
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
18
|
add_file("google/cloud/vmmigration/v1/vmmigration.proto", :syntax => :proto3) do
|
19
19
|
add_message "google.cloud.vmmigration.v1.ReplicationCycle" do
|
20
|
+
optional :name, :string, 13
|
21
|
+
optional :cycle_number, :int32, 10
|
20
22
|
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
23
|
+
optional :end_time, :message, 6, "google.protobuf.Timestamp"
|
24
|
+
optional :total_pause_duration, :message, 7, "google.protobuf.Duration"
|
21
25
|
optional :progress_percent, :int32, 5
|
26
|
+
repeated :steps, :message, 9, "google.cloud.vmmigration.v1.CycleStep"
|
27
|
+
optional :state, :enum, 11, "google.cloud.vmmigration.v1.ReplicationCycle.State"
|
28
|
+
optional :error, :message, 12, "google.rpc.Status"
|
29
|
+
end
|
30
|
+
add_enum "google.cloud.vmmigration.v1.ReplicationCycle.State" do
|
31
|
+
value :STATE_UNSPECIFIED, 0
|
32
|
+
value :RUNNING, 1
|
33
|
+
value :PAUSED, 2
|
34
|
+
value :FAILED, 3
|
35
|
+
value :SUCCEEDED, 4
|
36
|
+
end
|
37
|
+
add_message "google.cloud.vmmigration.v1.CycleStep" do
|
38
|
+
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
39
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
40
|
+
oneof :step do
|
41
|
+
optional :initializing_replication, :message, 3, "google.cloud.vmmigration.v1.InitializingReplicationStep"
|
42
|
+
optional :replicating, :message, 4, "google.cloud.vmmigration.v1.ReplicatingStep"
|
43
|
+
optional :post_processing, :message, 5, "google.cloud.vmmigration.v1.PostProcessingStep"
|
44
|
+
end
|
45
|
+
end
|
46
|
+
add_message "google.cloud.vmmigration.v1.InitializingReplicationStep" do
|
47
|
+
end
|
48
|
+
add_message "google.cloud.vmmigration.v1.ReplicatingStep" do
|
49
|
+
optional :total_bytes, :int64, 1
|
50
|
+
optional :replicated_bytes, :int64, 2
|
51
|
+
optional :last_two_minutes_average_bytes_per_second, :int64, 3
|
52
|
+
optional :last_thirty_minutes_average_bytes_per_second, :int64, 4
|
53
|
+
end
|
54
|
+
add_message "google.cloud.vmmigration.v1.PostProcessingStep" do
|
22
55
|
end
|
23
56
|
add_message "google.cloud.vmmigration.v1.ReplicationSync" do
|
24
57
|
optional :last_sync_time, :message, 1, "google.protobuf.Timestamp"
|
@@ -37,10 +70,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
37
70
|
optional :current_sync_info, :message, 13, "google.cloud.vmmigration.v1.ReplicationCycle"
|
38
71
|
optional :group, :string, 15
|
39
72
|
map :labels, :string, :string, 16
|
73
|
+
repeated :recent_clone_jobs, :message, 17, "google.cloud.vmmigration.v1.CloneJob"
|
40
74
|
optional :error, :message, 19, "google.rpc.Status"
|
75
|
+
repeated :recent_cutover_jobs, :message, 20, "google.cloud.vmmigration.v1.CutoverJob"
|
41
76
|
oneof :target_vm_defaults do
|
42
77
|
optional :compute_engine_target_defaults, :message, 26, "google.cloud.vmmigration.v1.ComputeEngineTargetDefaults"
|
43
78
|
end
|
79
|
+
oneof :source_vm_details do
|
80
|
+
optional :aws_source_vm_details, :message, 29, "google.cloud.vmmigration.v1.AwsSourceVmDetails"
|
81
|
+
end
|
44
82
|
end
|
45
83
|
add_enum "google.cloud.vmmigration.v1.MigratingVm.State" do
|
46
84
|
value :STATE_UNSPECIFIED, 0
|
@@ -58,10 +96,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
58
96
|
end
|
59
97
|
add_message "google.cloud.vmmigration.v1.CloneJob" do
|
60
98
|
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
99
|
+
optional :end_time, :message, 22, "google.protobuf.Timestamp"
|
61
100
|
optional :name, :string, 3
|
62
101
|
optional :state, :enum, 12, "google.cloud.vmmigration.v1.CloneJob.State"
|
63
102
|
optional :state_time, :message, 14, "google.protobuf.Timestamp"
|
64
103
|
optional :error, :message, 17, "google.rpc.Status"
|
104
|
+
repeated :steps, :message, 23, "google.cloud.vmmigration.v1.CloneStep"
|
65
105
|
oneof :target_vm_details do
|
66
106
|
optional :compute_engine_target_details, :message, 20, "google.cloud.vmmigration.v1.ComputeEngineTargetDetails"
|
67
107
|
end
|
@@ -76,14 +116,31 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
76
116
|
value :CANCELLING, 6
|
77
117
|
value :ADAPTING_OS, 7
|
78
118
|
end
|
119
|
+
add_message "google.cloud.vmmigration.v1.CloneStep" do
|
120
|
+
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
121
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
122
|
+
oneof :step do
|
123
|
+
optional :adapting_os, :message, 3, "google.cloud.vmmigration.v1.AdaptingOSStep"
|
124
|
+
optional :preparing_vm_disks, :message, 4, "google.cloud.vmmigration.v1.PreparingVMDisksStep"
|
125
|
+
optional :instantiating_migrated_vm, :message, 5, "google.cloud.vmmigration.v1.InstantiatingMigratedVMStep"
|
126
|
+
end
|
127
|
+
end
|
128
|
+
add_message "google.cloud.vmmigration.v1.AdaptingOSStep" do
|
129
|
+
end
|
130
|
+
add_message "google.cloud.vmmigration.v1.PreparingVMDisksStep" do
|
131
|
+
end
|
132
|
+
add_message "google.cloud.vmmigration.v1.InstantiatingMigratedVMStep" do
|
133
|
+
end
|
79
134
|
add_message "google.cloud.vmmigration.v1.CutoverJob" do
|
80
135
|
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
136
|
+
optional :end_time, :message, 16, "google.protobuf.Timestamp"
|
81
137
|
optional :name, :string, 3
|
82
138
|
optional :state, :enum, 5, "google.cloud.vmmigration.v1.CutoverJob.State"
|
83
139
|
optional :state_time, :message, 6, "google.protobuf.Timestamp"
|
84
140
|
optional :progress_percent, :int32, 13
|
85
141
|
optional :error, :message, 9, "google.rpc.Status"
|
86
142
|
optional :state_message, :string, 10
|
143
|
+
repeated :steps, :message, 17, "google.cloud.vmmigration.v1.CutoverStep"
|
87
144
|
oneof :target_vm_details do
|
88
145
|
optional :compute_engine_target_details, :message, 14, "google.cloud.vmmigration.v1.ComputeEngineTargetDetails"
|
89
146
|
end
|
@@ -98,6 +155,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
98
155
|
value :ACTIVE, 6
|
99
156
|
value :ADAPTING_OS, 7
|
100
157
|
end
|
158
|
+
add_message "google.cloud.vmmigration.v1.CutoverStep" do
|
159
|
+
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
160
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
161
|
+
oneof :step do
|
162
|
+
optional :previous_replication_cycle, :message, 3, "google.cloud.vmmigration.v1.ReplicationCycle"
|
163
|
+
optional :shutting_down_source_vm, :message, 4, "google.cloud.vmmigration.v1.ShuttingDownSourceVMStep"
|
164
|
+
optional :final_sync, :message, 5, "google.cloud.vmmigration.v1.ReplicationCycle"
|
165
|
+
optional :preparing_vm_disks, :message, 6, "google.cloud.vmmigration.v1.PreparingVMDisksStep"
|
166
|
+
optional :instantiating_migrated_vm, :message, 7, "google.cloud.vmmigration.v1.InstantiatingMigratedVMStep"
|
167
|
+
end
|
168
|
+
end
|
169
|
+
add_message "google.cloud.vmmigration.v1.ShuttingDownSourceVMStep" do
|
170
|
+
end
|
101
171
|
add_message "google.cloud.vmmigration.v1.CreateCloneJobRequest" do
|
102
172
|
optional :parent, :string, 1
|
103
173
|
optional :clone_job_id, :string, 2
|
@@ -132,6 +202,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
132
202
|
optional :description, :string, 6
|
133
203
|
oneof :source_details do
|
134
204
|
optional :vmware, :message, 10, "google.cloud.vmmigration.v1.VmwareSourceDetails"
|
205
|
+
optional :aws, :message, 12, "google.cloud.vmmigration.v1.AwsSourceDetails"
|
135
206
|
end
|
136
207
|
end
|
137
208
|
add_message "google.cloud.vmmigration.v1.VmwareSourceDetails" do
|
@@ -140,6 +211,32 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
140
211
|
optional :vcenter_ip, :string, 3
|
141
212
|
optional :thumbprint, :string, 4
|
142
213
|
end
|
214
|
+
add_message "google.cloud.vmmigration.v1.AwsSourceDetails" do
|
215
|
+
optional :aws_region, :string, 3
|
216
|
+
optional :state, :enum, 4, "google.cloud.vmmigration.v1.AwsSourceDetails.State"
|
217
|
+
optional :error, :message, 5, "google.rpc.Status"
|
218
|
+
repeated :inventory_tag_list, :message, 10, "google.cloud.vmmigration.v1.AwsSourceDetails.Tag"
|
219
|
+
repeated :inventory_security_group_names, :string, 7
|
220
|
+
map :migration_resources_user_tags, :string, :string, 8
|
221
|
+
optional :public_ip, :string, 9
|
222
|
+
oneof :credentials_type do
|
223
|
+
optional :access_key_creds, :message, 11, "google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials"
|
224
|
+
end
|
225
|
+
end
|
226
|
+
add_message "google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials" do
|
227
|
+
optional :access_key_id, :string, 1
|
228
|
+
optional :secret_access_key, :string, 2
|
229
|
+
end
|
230
|
+
add_message "google.cloud.vmmigration.v1.AwsSourceDetails.Tag" do
|
231
|
+
optional :key, :string, 1
|
232
|
+
optional :value, :string, 2
|
233
|
+
end
|
234
|
+
add_enum "google.cloud.vmmigration.v1.AwsSourceDetails.State" do
|
235
|
+
value :STATE_UNSPECIFIED, 0
|
236
|
+
value :PENDING, 1
|
237
|
+
value :FAILED, 2
|
238
|
+
value :ACTIVE, 3
|
239
|
+
end
|
143
240
|
add_message "google.cloud.vmmigration.v1.DatacenterConnector" do
|
144
241
|
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
145
242
|
optional :update_time, :message, 2, "google.protobuf.Timestamp"
|
@@ -151,6 +248,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
151
248
|
optional :state, :enum, 7, "google.cloud.vmmigration.v1.DatacenterConnector.State"
|
152
249
|
optional :state_time, :message, 8, "google.protobuf.Timestamp"
|
153
250
|
optional :error, :message, 11, "google.rpc.Status"
|
251
|
+
optional :appliance_infrastructure_version, :string, 13
|
252
|
+
optional :appliance_software_version, :string, 14
|
253
|
+
optional :available_versions, :message, 15, "google.cloud.vmmigration.v1.AvailableUpdates"
|
254
|
+
optional :upgrade_status, :message, 16, "google.cloud.vmmigration.v1.UpgradeStatus"
|
154
255
|
end
|
155
256
|
add_enum "google.cloud.vmmigration.v1.DatacenterConnector.State" do
|
156
257
|
value :STATE_UNSPECIFIED, 0
|
@@ -159,6 +260,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
159
260
|
value :FAILED, 3
|
160
261
|
value :ACTIVE, 4
|
161
262
|
end
|
263
|
+
add_message "google.cloud.vmmigration.v1.UpgradeStatus" do
|
264
|
+
optional :version, :string, 1
|
265
|
+
optional :state, :enum, 2, "google.cloud.vmmigration.v1.UpgradeStatus.State"
|
266
|
+
optional :error, :message, 3, "google.rpc.Status"
|
267
|
+
optional :start_time, :message, 4, "google.protobuf.Timestamp"
|
268
|
+
optional :previous_version, :string, 5
|
269
|
+
end
|
270
|
+
add_enum "google.cloud.vmmigration.v1.UpgradeStatus.State" do
|
271
|
+
value :STATE_UNSPECIFIED, 0
|
272
|
+
value :RUNNING, 1
|
273
|
+
value :FAILED, 2
|
274
|
+
value :SUCCEEDED, 3
|
275
|
+
end
|
276
|
+
add_message "google.cloud.vmmigration.v1.AvailableUpdates" do
|
277
|
+
optional :new_deployable_appliance, :message, 1, "google.cloud.vmmigration.v1.ApplianceVersion"
|
278
|
+
optional :in_place_update, :message, 2, "google.cloud.vmmigration.v1.ApplianceVersion"
|
279
|
+
end
|
280
|
+
add_message "google.cloud.vmmigration.v1.ApplianceVersion" do
|
281
|
+
optional :version, :string, 1
|
282
|
+
optional :uri, :string, 2
|
283
|
+
optional :critical, :bool, 3
|
284
|
+
optional :release_notes_uri, :string, 4
|
285
|
+
end
|
162
286
|
add_message "google.cloud.vmmigration.v1.ListSourcesRequest" do
|
163
287
|
optional :parent, :string, 1
|
164
288
|
optional :page_size, :int32, 2
|
@@ -218,13 +342,65 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
218
342
|
value :EFI, 1
|
219
343
|
value :BIOS, 2
|
220
344
|
end
|
345
|
+
add_message "google.cloud.vmmigration.v1.AwsVmDetails" do
|
346
|
+
optional :vm_id, :string, 1
|
347
|
+
optional :display_name, :string, 2
|
348
|
+
optional :source_id, :string, 3
|
349
|
+
optional :source_description, :string, 4
|
350
|
+
optional :power_state, :enum, 5, "google.cloud.vmmigration.v1.AwsVmDetails.PowerState"
|
351
|
+
optional :cpu_count, :int32, 6
|
352
|
+
optional :memory_mb, :int32, 7
|
353
|
+
optional :disk_count, :int32, 8
|
354
|
+
optional :committed_storage_mb, :int64, 9
|
355
|
+
optional :os_description, :string, 10
|
356
|
+
optional :boot_option, :enum, 11, "google.cloud.vmmigration.v1.AwsVmDetails.BootOption"
|
357
|
+
optional :instance_type, :string, 12
|
358
|
+
optional :vpc_id, :string, 13
|
359
|
+
repeated :security_groups, :message, 14, "google.cloud.vmmigration.v1.AwsSecurityGroup"
|
360
|
+
map :tags, :string, :string, 15
|
361
|
+
optional :zone, :string, 16
|
362
|
+
optional :virtualization_type, :enum, 17, "google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType"
|
363
|
+
optional :architecture, :enum, 18, "google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture"
|
364
|
+
end
|
365
|
+
add_enum "google.cloud.vmmigration.v1.AwsVmDetails.PowerState" do
|
366
|
+
value :POWER_STATE_UNSPECIFIED, 0
|
367
|
+
value :ON, 1
|
368
|
+
value :OFF, 2
|
369
|
+
value :SUSPENDED, 3
|
370
|
+
value :PENDING, 4
|
371
|
+
end
|
372
|
+
add_enum "google.cloud.vmmigration.v1.AwsVmDetails.BootOption" do
|
373
|
+
value :BOOT_OPTION_UNSPECIFIED, 0
|
374
|
+
value :EFI, 1
|
375
|
+
value :BIOS, 2
|
376
|
+
end
|
377
|
+
add_enum "google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType" do
|
378
|
+
value :VM_VIRTUALIZATION_TYPE_UNSPECIFIED, 0
|
379
|
+
value :HVM, 1
|
380
|
+
value :PARAVIRTUAL, 2
|
381
|
+
end
|
382
|
+
add_enum "google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture" do
|
383
|
+
value :VM_ARCHITECTURE_UNSPECIFIED, 0
|
384
|
+
value :I386, 1
|
385
|
+
value :X86_64, 2
|
386
|
+
value :ARM64, 3
|
387
|
+
value :X86_64_MAC, 4
|
388
|
+
end
|
389
|
+
add_message "google.cloud.vmmigration.v1.AwsSecurityGroup" do
|
390
|
+
optional :id, :string, 1
|
391
|
+
optional :name, :string, 2
|
392
|
+
end
|
221
393
|
add_message "google.cloud.vmmigration.v1.VmwareVmsDetails" do
|
222
394
|
repeated :details, :message, 1, "google.cloud.vmmigration.v1.VmwareVmDetails"
|
223
395
|
end
|
396
|
+
add_message "google.cloud.vmmigration.v1.AwsVmsDetails" do
|
397
|
+
repeated :details, :message, 1, "google.cloud.vmmigration.v1.AwsVmDetails"
|
398
|
+
end
|
224
399
|
add_message "google.cloud.vmmigration.v1.FetchInventoryResponse" do
|
225
400
|
optional :update_time, :message, 2, "google.protobuf.Timestamp"
|
226
401
|
oneof :SourceVms do
|
227
402
|
optional :vmware_vms, :message, 1, "google.cloud.vmmigration.v1.VmwareVmsDetails"
|
403
|
+
optional :aws_vms, :message, 3, "google.cloud.vmmigration.v1.AwsVmsDetails"
|
228
404
|
end
|
229
405
|
end
|
230
406
|
add_message "google.cloud.vmmigration.v1.UtilizationReport" do
|
@@ -313,6 +489,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
313
489
|
optional :name, :string, 1
|
314
490
|
optional :request_id, :string, 2
|
315
491
|
end
|
492
|
+
add_message "google.cloud.vmmigration.v1.UpgradeApplianceRequest" do
|
493
|
+
optional :datacenter_connector, :string, 1
|
494
|
+
optional :request_id, :string, 2
|
495
|
+
end
|
496
|
+
add_message "google.cloud.vmmigration.v1.UpgradeApplianceResponse" do
|
497
|
+
end
|
316
498
|
add_message "google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest" do
|
317
499
|
optional :parent, :string, 1
|
318
500
|
optional :page_size, :int32, 2
|
@@ -337,6 +519,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
337
519
|
optional :secure_boot, :bool, 14
|
338
520
|
optional :boot_option, :enum, 15, "google.cloud.vmmigration.v1.ComputeEngineBootOption"
|
339
521
|
map :metadata, :string, :string, 16
|
522
|
+
repeated :additional_licenses, :string, 17
|
523
|
+
optional :hostname, :string, 18
|
340
524
|
end
|
341
525
|
add_message "google.cloud.vmmigration.v1.ComputeEngineTargetDetails" do
|
342
526
|
optional :vm_name, :string, 1
|
@@ -355,6 +539,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
355
539
|
optional :secure_boot, :bool, 14
|
356
540
|
optional :boot_option, :enum, 15, "google.cloud.vmmigration.v1.ComputeEngineBootOption"
|
357
541
|
map :metadata, :string, :string, 16
|
542
|
+
repeated :additional_licenses, :string, 17
|
543
|
+
optional :hostname, :string, 18
|
358
544
|
end
|
359
545
|
add_message "google.cloud.vmmigration.v1.NetworkInterface" do
|
360
546
|
optional :network, :string, 1
|
@@ -414,6 +600,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
414
600
|
optional :page_token, :string, 3
|
415
601
|
optional :filter, :string, 4
|
416
602
|
optional :order_by, :string, 5
|
603
|
+
optional :view, :enum, 6, "google.cloud.vmmigration.v1.MigratingVmView"
|
417
604
|
end
|
418
605
|
add_message "google.cloud.vmmigration.v1.ListMigratingVmsResponse" do
|
419
606
|
repeated :migrating_vms, :message, 1, "google.cloud.vmmigration.v1.MigratingVm"
|
@@ -422,6 +609,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
422
609
|
end
|
423
610
|
add_message "google.cloud.vmmigration.v1.GetMigratingVmRequest" do
|
424
611
|
optional :name, :string, 1
|
612
|
+
optional :view, :enum, 2, "google.cloud.vmmigration.v1.MigratingVmView"
|
425
613
|
end
|
426
614
|
add_message "google.cloud.vmmigration.v1.UpdateMigratingVmRequest" do
|
427
615
|
optional :update_mask, :message, 1, "google.protobuf.FieldMask"
|
@@ -589,12 +777,42 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
589
777
|
value :CLONE_ERROR, 6
|
590
778
|
value :CUTOVER_ERROR, 7
|
591
779
|
value :UTILIZATION_REPORT_ERROR, 8
|
780
|
+
value :APPLIANCE_UPGRADE_ERROR, 9
|
781
|
+
end
|
782
|
+
add_message "google.cloud.vmmigration.v1.AwsSourceVmDetails" do
|
783
|
+
optional :firmware, :enum, 1, "google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware"
|
784
|
+
optional :committed_storage_bytes, :int64, 2
|
785
|
+
end
|
786
|
+
add_enum "google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware" do
|
787
|
+
value :FIRMWARE_UNSPECIFIED, 0
|
788
|
+
value :EFI, 1
|
789
|
+
value :BIOS, 2
|
790
|
+
end
|
791
|
+
add_message "google.cloud.vmmigration.v1.ListReplicationCyclesRequest" do
|
792
|
+
optional :parent, :string, 1
|
793
|
+
optional :page_size, :int32, 2
|
794
|
+
optional :page_token, :string, 3
|
795
|
+
optional :filter, :string, 4
|
796
|
+
optional :order_by, :string, 5
|
797
|
+
end
|
798
|
+
add_message "google.cloud.vmmigration.v1.ListReplicationCyclesResponse" do
|
799
|
+
repeated :replication_cycles, :message, 1, "google.cloud.vmmigration.v1.ReplicationCycle"
|
800
|
+
optional :next_page_token, :string, 2
|
801
|
+
repeated :unreachable, :string, 3
|
802
|
+
end
|
803
|
+
add_message "google.cloud.vmmigration.v1.GetReplicationCycleRequest" do
|
804
|
+
optional :name, :string, 1
|
592
805
|
end
|
593
806
|
add_enum "google.cloud.vmmigration.v1.UtilizationReportView" do
|
594
807
|
value :UTILIZATION_REPORT_VIEW_UNSPECIFIED, 0
|
595
808
|
value :BASIC, 1
|
596
809
|
value :FULL, 2
|
597
810
|
end
|
811
|
+
add_enum "google.cloud.vmmigration.v1.MigratingVmView" do
|
812
|
+
value :MIGRATING_VM_VIEW_UNSPECIFIED, 0
|
813
|
+
value :MIGRATING_VM_VIEW_BASIC, 1
|
814
|
+
value :MIGRATING_VM_VIEW_FULL, 2
|
815
|
+
end
|
598
816
|
add_enum "google.cloud.vmmigration.v1.ComputeEngineDiskType" do
|
599
817
|
value :COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED, 0
|
600
818
|
value :COMPUTE_ENGINE_DISK_TYPE_STANDARD, 1
|
@@ -619,13 +837,24 @@ module Google
|
|
619
837
|
module VMMigration
|
620
838
|
module V1
|
621
839
|
ReplicationCycle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ReplicationCycle").msgclass
|
840
|
+
ReplicationCycle::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ReplicationCycle.State").enummodule
|
841
|
+
CycleStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CycleStep").msgclass
|
842
|
+
InitializingReplicationStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.InitializingReplicationStep").msgclass
|
843
|
+
ReplicatingStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ReplicatingStep").msgclass
|
844
|
+
PostProcessingStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.PostProcessingStep").msgclass
|
622
845
|
ReplicationSync = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ReplicationSync").msgclass
|
623
846
|
MigratingVm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.MigratingVm").msgclass
|
624
847
|
MigratingVm::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.MigratingVm.State").enummodule
|
625
848
|
CloneJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CloneJob").msgclass
|
626
849
|
CloneJob::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CloneJob.State").enummodule
|
850
|
+
CloneStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CloneStep").msgclass
|
851
|
+
AdaptingOSStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AdaptingOSStep").msgclass
|
852
|
+
PreparingVMDisksStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.PreparingVMDisksStep").msgclass
|
853
|
+
InstantiatingMigratedVMStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.InstantiatingMigratedVMStep").msgclass
|
627
854
|
CutoverJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CutoverJob").msgclass
|
628
855
|
CutoverJob::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CutoverJob.State").enummodule
|
856
|
+
CutoverStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CutoverStep").msgclass
|
857
|
+
ShuttingDownSourceVMStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ShuttingDownSourceVMStep").msgclass
|
629
858
|
CreateCloneJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CreateCloneJobRequest").msgclass
|
630
859
|
CancelCloneJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CancelCloneJobRequest").msgclass
|
631
860
|
CancelCloneJobResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CancelCloneJobResponse").msgclass
|
@@ -634,8 +863,16 @@ module Google
|
|
634
863
|
GetCloneJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.GetCloneJobRequest").msgclass
|
635
864
|
Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.Source").msgclass
|
636
865
|
VmwareSourceDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.VmwareSourceDetails").msgclass
|
866
|
+
AwsSourceDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsSourceDetails").msgclass
|
867
|
+
AwsSourceDetails::AccessKeyCredentials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials").msgclass
|
868
|
+
AwsSourceDetails::Tag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsSourceDetails.Tag").msgclass
|
869
|
+
AwsSourceDetails::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsSourceDetails.State").enummodule
|
637
870
|
DatacenterConnector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.DatacenterConnector").msgclass
|
638
871
|
DatacenterConnector::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.DatacenterConnector.State").enummodule
|
872
|
+
UpgradeStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UpgradeStatus").msgclass
|
873
|
+
UpgradeStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UpgradeStatus.State").enummodule
|
874
|
+
AvailableUpdates = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AvailableUpdates").msgclass
|
875
|
+
ApplianceVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ApplianceVersion").msgclass
|
639
876
|
ListSourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ListSourcesRequest").msgclass
|
640
877
|
ListSourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ListSourcesResponse").msgclass
|
641
878
|
GetSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.GetSourceRequest").msgclass
|
@@ -646,7 +883,14 @@ module Google
|
|
646
883
|
VmwareVmDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.VmwareVmDetails").msgclass
|
647
884
|
VmwareVmDetails::PowerState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.VmwareVmDetails.PowerState").enummodule
|
648
885
|
VmwareVmDetails::BootOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.VmwareVmDetails.BootOption").enummodule
|
886
|
+
AwsVmDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsVmDetails").msgclass
|
887
|
+
AwsVmDetails::PowerState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsVmDetails.PowerState").enummodule
|
888
|
+
AwsVmDetails::BootOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsVmDetails.BootOption").enummodule
|
889
|
+
AwsVmDetails::VmVirtualizationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType").enummodule
|
890
|
+
AwsVmDetails::VmArchitecture = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture").enummodule
|
891
|
+
AwsSecurityGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsSecurityGroup").msgclass
|
649
892
|
VmwareVmsDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.VmwareVmsDetails").msgclass
|
893
|
+
AwsVmsDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsVmsDetails").msgclass
|
650
894
|
FetchInventoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.FetchInventoryResponse").msgclass
|
651
895
|
UtilizationReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UtilizationReport").msgclass
|
652
896
|
UtilizationReport::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UtilizationReport.State").enummodule
|
@@ -662,6 +906,8 @@ module Google
|
|
662
906
|
GetDatacenterConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.GetDatacenterConnectorRequest").msgclass
|
663
907
|
CreateDatacenterConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest").msgclass
|
664
908
|
DeleteDatacenterConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest").msgclass
|
909
|
+
UpgradeApplianceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UpgradeApplianceRequest").msgclass
|
910
|
+
UpgradeApplianceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UpgradeApplianceResponse").msgclass
|
665
911
|
ListDatacenterConnectorsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest").msgclass
|
666
912
|
ComputeEngineTargetDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ComputeEngineTargetDefaults").msgclass
|
667
913
|
ComputeEngineTargetDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ComputeEngineTargetDetails").msgclass
|
@@ -715,7 +961,13 @@ module Google
|
|
715
961
|
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.OperationMetadata").msgclass
|
716
962
|
MigrationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.MigrationError").msgclass
|
717
963
|
MigrationError::ErrorCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.MigrationError.ErrorCode").enummodule
|
964
|
+
AwsSourceVmDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsSourceVmDetails").msgclass
|
965
|
+
AwsSourceVmDetails::Firmware = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware").enummodule
|
966
|
+
ListReplicationCyclesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ListReplicationCyclesRequest").msgclass
|
967
|
+
ListReplicationCyclesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ListReplicationCyclesResponse").msgclass
|
968
|
+
GetReplicationCycleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.GetReplicationCycleRequest").msgclass
|
718
969
|
UtilizationReportView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UtilizationReportView").enummodule
|
970
|
+
MigratingVmView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.MigratingVmView").enummodule
|
719
971
|
ComputeEngineDiskType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ComputeEngineDiskType").enummodule
|
720
972
|
ComputeEngineLicenseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ComputeEngineLicenseType").enummodule
|
721
973
|
ComputeEngineBootOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ComputeEngineBootOption").enummodule
|
@@ -65,6 +65,9 @@ module Google
|
|
65
65
|
rpc :CreateDatacenterConnector, ::Google::Cloud::VMMigration::V1::CreateDatacenterConnectorRequest, ::Google::Longrunning::Operation
|
66
66
|
# Deletes a single DatacenterConnector.
|
67
67
|
rpc :DeleteDatacenterConnector, ::Google::Cloud::VMMigration::V1::DeleteDatacenterConnectorRequest, ::Google::Longrunning::Operation
|
68
|
+
# Upgrades the appliance relate to this DatacenterConnector to the in-place
|
69
|
+
# updateable version.
|
70
|
+
rpc :UpgradeAppliance, ::Google::Cloud::VMMigration::V1::UpgradeApplianceRequest, ::Google::Longrunning::Operation
|
68
71
|
# Creates a new MigratingVm in a given Source.
|
69
72
|
rpc :CreateMigratingVm, ::Google::Cloud::VMMigration::V1::CreateMigratingVmRequest, ::Google::Longrunning::Operation
|
70
73
|
# Lists MigratingVms in a given Source.
|
@@ -147,6 +150,10 @@ module Google
|
|
147
150
|
# NOTE: TargetProject is a global resource; hence the only supported value
|
148
151
|
# for location is `global`.
|
149
152
|
rpc :DeleteTargetProject, ::Google::Cloud::VMMigration::V1::DeleteTargetProjectRequest, ::Google::Longrunning::Operation
|
153
|
+
# Lists ReplicationCycles in a given MigratingVM.
|
154
|
+
rpc :ListReplicationCycles, ::Google::Cloud::VMMigration::V1::ListReplicationCyclesRequest, ::Google::Cloud::VMMigration::V1::ListReplicationCyclesResponse
|
155
|
+
# Gets details of a single ReplicationCycle.
|
156
|
+
rpc :GetReplicationCycle, ::Google::Cloud::VMMigration::V1::GetReplicationCycleRequest, ::Google::Cloud::VMMigration::V1::ReplicationCycle
|
150
157
|
end
|
151
158
|
|
152
159
|
Stub = Service.rpc_stub_class
|