google-cloud-vm_migration-v1 0.3.0 → 0.5.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 +2 -2
- data/lib/google/cloud/vm_migration/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/vm_migration/v1/rest.rb +38 -0
- data/lib/google/cloud/vm_migration/v1/version.rb +1 -1
- data/lib/google/cloud/vm_migration/v1/vm_migration/client.rb +372 -156
- data/lib/google/cloud/vm_migration/v1/vm_migration/operations.rb +12 -14
- data/lib/google/cloud/vm_migration/v1/vm_migration/paths.rb +23 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/client.rb +4031 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/operations.rb +793 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/service_stub.rb +2783 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest.rb +54 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration.rb +7 -1
- data/lib/google/cloud/vm_migration/v1.rb +7 -2
- data/lib/google/cloud/vmmigration/v1/vmmigration_pb.rb +196 -0
- data/lib/google/cloud/vmmigration/v1/vmmigration_services_pb.rb +4 -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 +505 -6
- 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 +57 -8
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/vm_migration/v1/version"
|
24
|
+
require "google/cloud/vm_migration/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/vm_migration/v1/vm_migration/credentials"
|
27
|
+
require "google/cloud/vm_migration/v1/vm_migration/paths"
|
28
|
+
require "google/cloud/vm_migration/v1/vm_migration/rest/operations"
|
29
|
+
require "google/cloud/vm_migration/v1/vm_migration/rest/client"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module VMMigration
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# VM Migration Service
|
37
|
+
#
|
38
|
+
# To load this service and instantiate a REST client:
|
39
|
+
#
|
40
|
+
# require "google/cloud/vm_migration/v1/vm_migration/rest"
|
41
|
+
# client = ::Google::Cloud::VMMigration::V1::VMMigration::Rest::Client.new
|
42
|
+
#
|
43
|
+
module VMMigration
|
44
|
+
# Client for the REST transport
|
45
|
+
module Rest
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
54
|
+
require "google/cloud/vm_migration/v1/vm_migration/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/vm_migration/v1/vm_migration/credentials"
|
|
26
26
|
require "google/cloud/vm_migration/v1/vm_migration/paths"
|
27
27
|
require "google/cloud/vm_migration/v1/vm_migration/operations"
|
28
28
|
require "google/cloud/vm_migration/v1/vm_migration/client"
|
29
|
+
require "google/cloud/vm_migration/v1/vm_migration/rest"
|
29
30
|
|
30
31
|
module Google
|
31
32
|
module Cloud
|
@@ -34,11 +35,16 @@ module Google
|
|
34
35
|
##
|
35
36
|
# VM Migration Service
|
36
37
|
#
|
37
|
-
#
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
38
39
|
#
|
39
40
|
# require "google/cloud/vm_migration/v1/vm_migration"
|
40
41
|
# client = ::Google::Cloud::VMMigration::V1::VMMigration::Client.new
|
41
42
|
#
|
43
|
+
# @example Load this service and instantiate a REST client
|
44
|
+
#
|
45
|
+
# require "google/cloud/vm_migration/v1/vm_migration/rest"
|
46
|
+
# client = ::Google::Cloud::VMMigration::V1::VMMigration::Rest::Client.new
|
47
|
+
#
|
42
48
|
module VMMigration
|
43
49
|
end
|
44
50
|
end
|
@@ -23,13 +23,18 @@ module Google
|
|
23
23
|
module Cloud
|
24
24
|
module VMMigration
|
25
25
|
##
|
26
|
-
#
|
26
|
+
# API client module.
|
27
27
|
#
|
28
|
-
# @example
|
28
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
29
29
|
#
|
30
30
|
# require "google/cloud/vm_migration/v1"
|
31
31
|
# client = ::Google::Cloud::VMMigration::V1::VMMigration::Client.new
|
32
32
|
#
|
33
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
34
|
+
#
|
35
|
+
# require "google/cloud/vm_migration/v1"
|
36
|
+
# client = ::Google::Cloud::VMMigration::V1::VMMigration::Rest::Client.new
|
37
|
+
#
|
33
38
|
module V1
|
34
39
|
end
|
35
40
|
end
|
@@ -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"
|
@@ -43,6 +76,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
43
76
|
oneof :target_vm_defaults do
|
44
77
|
optional :compute_engine_target_defaults, :message, 26, "google.cloud.vmmigration.v1.ComputeEngineTargetDefaults"
|
45
78
|
end
|
79
|
+
oneof :source_vm_details do
|
80
|
+
optional :aws_source_vm_details, :message, 29, "google.cloud.vmmigration.v1.AwsSourceVmDetails"
|
81
|
+
end
|
46
82
|
end
|
47
83
|
add_enum "google.cloud.vmmigration.v1.MigratingVm.State" do
|
48
84
|
value :STATE_UNSPECIFIED, 0
|
@@ -65,6 +101,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
65
101
|
optional :state, :enum, 12, "google.cloud.vmmigration.v1.CloneJob.State"
|
66
102
|
optional :state_time, :message, 14, "google.protobuf.Timestamp"
|
67
103
|
optional :error, :message, 17, "google.rpc.Status"
|
104
|
+
repeated :steps, :message, 23, "google.cloud.vmmigration.v1.CloneStep"
|
68
105
|
oneof :target_vm_details do
|
69
106
|
optional :compute_engine_target_details, :message, 20, "google.cloud.vmmigration.v1.ComputeEngineTargetDetails"
|
70
107
|
end
|
@@ -79,6 +116,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
79
116
|
value :CANCELLING, 6
|
80
117
|
value :ADAPTING_OS, 7
|
81
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
|
82
134
|
add_message "google.cloud.vmmigration.v1.CutoverJob" do
|
83
135
|
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
84
136
|
optional :end_time, :message, 16, "google.protobuf.Timestamp"
|
@@ -88,6 +140,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
88
140
|
optional :progress_percent, :int32, 13
|
89
141
|
optional :error, :message, 9, "google.rpc.Status"
|
90
142
|
optional :state_message, :string, 10
|
143
|
+
repeated :steps, :message, 17, "google.cloud.vmmigration.v1.CutoverStep"
|
91
144
|
oneof :target_vm_details do
|
92
145
|
optional :compute_engine_target_details, :message, 14, "google.cloud.vmmigration.v1.ComputeEngineTargetDetails"
|
93
146
|
end
|
@@ -102,6 +155,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
102
155
|
value :ACTIVE, 6
|
103
156
|
value :ADAPTING_OS, 7
|
104
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
|
105
171
|
add_message "google.cloud.vmmigration.v1.CreateCloneJobRequest" do
|
106
172
|
optional :parent, :string, 1
|
107
173
|
optional :clone_job_id, :string, 2
|
@@ -136,6 +202,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
136
202
|
optional :description, :string, 6
|
137
203
|
oneof :source_details do
|
138
204
|
optional :vmware, :message, 10, "google.cloud.vmmigration.v1.VmwareSourceDetails"
|
205
|
+
optional :aws, :message, 12, "google.cloud.vmmigration.v1.AwsSourceDetails"
|
139
206
|
end
|
140
207
|
end
|
141
208
|
add_message "google.cloud.vmmigration.v1.VmwareSourceDetails" do
|
@@ -144,6 +211,32 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
144
211
|
optional :vcenter_ip, :string, 3
|
145
212
|
optional :thumbprint, :string, 4
|
146
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
|
147
240
|
add_message "google.cloud.vmmigration.v1.DatacenterConnector" do
|
148
241
|
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
149
242
|
optional :update_time, :message, 2, "google.protobuf.Timestamp"
|
@@ -249,13 +342,65 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
249
342
|
value :EFI, 1
|
250
343
|
value :BIOS, 2
|
251
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
|
252
393
|
add_message "google.cloud.vmmigration.v1.VmwareVmsDetails" do
|
253
394
|
repeated :details, :message, 1, "google.cloud.vmmigration.v1.VmwareVmDetails"
|
254
395
|
end
|
396
|
+
add_message "google.cloud.vmmigration.v1.AwsVmsDetails" do
|
397
|
+
repeated :details, :message, 1, "google.cloud.vmmigration.v1.AwsVmDetails"
|
398
|
+
end
|
255
399
|
add_message "google.cloud.vmmigration.v1.FetchInventoryResponse" do
|
256
400
|
optional :update_time, :message, 2, "google.protobuf.Timestamp"
|
257
401
|
oneof :SourceVms do
|
258
402
|
optional :vmware_vms, :message, 1, "google.cloud.vmmigration.v1.VmwareVmsDetails"
|
403
|
+
optional :aws_vms, :message, 3, "google.cloud.vmmigration.v1.AwsVmsDetails"
|
259
404
|
end
|
260
405
|
end
|
261
406
|
add_message "google.cloud.vmmigration.v1.UtilizationReport" do
|
@@ -634,6 +779,30 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
634
779
|
value :UTILIZATION_REPORT_ERROR, 8
|
635
780
|
value :APPLIANCE_UPGRADE_ERROR, 9
|
636
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
|
805
|
+
end
|
637
806
|
add_enum "google.cloud.vmmigration.v1.UtilizationReportView" do
|
638
807
|
value :UTILIZATION_REPORT_VIEW_UNSPECIFIED, 0
|
639
808
|
value :BASIC, 1
|
@@ -668,13 +837,24 @@ module Google
|
|
668
837
|
module VMMigration
|
669
838
|
module V1
|
670
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
|
671
845
|
ReplicationSync = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ReplicationSync").msgclass
|
672
846
|
MigratingVm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.MigratingVm").msgclass
|
673
847
|
MigratingVm::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.MigratingVm.State").enummodule
|
674
848
|
CloneJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CloneJob").msgclass
|
675
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
|
676
854
|
CutoverJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CutoverJob").msgclass
|
677
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
|
678
858
|
CreateCloneJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CreateCloneJobRequest").msgclass
|
679
859
|
CancelCloneJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CancelCloneJobRequest").msgclass
|
680
860
|
CancelCloneJobResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.CancelCloneJobResponse").msgclass
|
@@ -683,6 +863,10 @@ module Google
|
|
683
863
|
GetCloneJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.GetCloneJobRequest").msgclass
|
684
864
|
Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.Source").msgclass
|
685
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
|
686
870
|
DatacenterConnector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.DatacenterConnector").msgclass
|
687
871
|
DatacenterConnector::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.DatacenterConnector.State").enummodule
|
688
872
|
UpgradeStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UpgradeStatus").msgclass
|
@@ -699,7 +883,14 @@ module Google
|
|
699
883
|
VmwareVmDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.VmwareVmDetails").msgclass
|
700
884
|
VmwareVmDetails::PowerState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.VmwareVmDetails.PowerState").enummodule
|
701
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
|
702
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
|
703
894
|
FetchInventoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.FetchInventoryResponse").msgclass
|
704
895
|
UtilizationReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UtilizationReport").msgclass
|
705
896
|
UtilizationReport::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UtilizationReport.State").enummodule
|
@@ -770,6 +961,11 @@ module Google
|
|
770
961
|
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.OperationMetadata").msgclass
|
771
962
|
MigrationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.MigrationError").msgclass
|
772
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
|
773
969
|
UtilizationReportView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.UtilizationReportView").enummodule
|
774
970
|
MigratingVmView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.MigratingVmView").enummodule
|
775
971
|
ComputeEngineDiskType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vmmigration.v1.ComputeEngineDiskType").enummodule
|
@@ -150,6 +150,10 @@ module Google
|
|
150
150
|
# NOTE: TargetProject is a global resource; hence the only supported value
|
151
151
|
# for location is `global`.
|
152
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
|
153
157
|
end
|
154
158
|
|
155
159
|
Stub = Service.rpc_stub_class
|