google-cloud-vm_migration-v1 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -0,0 +1,318 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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
+
20
+ module Google
21
+ module Api
22
+ # Required information for every language.
23
+ # @!attribute [rw] reference_docs_uri
24
+ # @return [::String]
25
+ # Link to automatically generated reference documentation. Example:
26
+ # https://cloud.google.com/nodejs/docs/reference/asset/latest
27
+ # @!attribute [rw] destinations
28
+ # @return [::Array<::Google::Api::ClientLibraryDestination>]
29
+ # The destination where API teams want this client library to be published.
30
+ class CommonLanguageSettings
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+
35
+ # Details about how and where to publish client libraries.
36
+ # @!attribute [rw] version
37
+ # @return [::String]
38
+ # Version of the API to apply these settings to.
39
+ # @!attribute [rw] launch_stage
40
+ # @return [::Google::Api::LaunchStage]
41
+ # Launch stage of this version of the API.
42
+ # @!attribute [rw] rest_numeric_enums
43
+ # @return [::Boolean]
44
+ # When using transport=rest, the client request will encode enums as
45
+ # numbers rather than strings.
46
+ # @!attribute [rw] java_settings
47
+ # @return [::Google::Api::JavaSettings]
48
+ # Settings for legacy Java features, supported in the Service YAML.
49
+ # @!attribute [rw] cpp_settings
50
+ # @return [::Google::Api::CppSettings]
51
+ # Settings for C++ client libraries.
52
+ # @!attribute [rw] php_settings
53
+ # @return [::Google::Api::PhpSettings]
54
+ # Settings for PHP client libraries.
55
+ # @!attribute [rw] python_settings
56
+ # @return [::Google::Api::PythonSettings]
57
+ # Settings for Python client libraries.
58
+ # @!attribute [rw] node_settings
59
+ # @return [::Google::Api::NodeSettings]
60
+ # Settings for Node client libraries.
61
+ # @!attribute [rw] dotnet_settings
62
+ # @return [::Google::Api::DotnetSettings]
63
+ # Settings for .NET client libraries.
64
+ # @!attribute [rw] ruby_settings
65
+ # @return [::Google::Api::RubySettings]
66
+ # Settings for Ruby client libraries.
67
+ # @!attribute [rw] go_settings
68
+ # @return [::Google::Api::GoSettings]
69
+ # Settings for Go client libraries.
70
+ class ClientLibrarySettings
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+
75
+ # This message configures the settings for publishing [Google Cloud Client
76
+ # libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
77
+ # generated from the service config.
78
+ # @!attribute [rw] method_settings
79
+ # @return [::Array<::Google::Api::MethodSettings>]
80
+ # A list of API method settings, e.g. the behavior for methods that use the
81
+ # long-running operation pattern.
82
+ # @!attribute [rw] new_issue_uri
83
+ # @return [::String]
84
+ # Link to a place that API users can report issues. Example:
85
+ # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
+ # @!attribute [rw] documentation_uri
87
+ # @return [::String]
88
+ # Link to product home page. Example:
89
+ # https://cloud.google.com/asset-inventory/docs/overview
90
+ # @!attribute [rw] api_short_name
91
+ # @return [::String]
92
+ # Used as a tracking tag when collecting data about the APIs developer
93
+ # relations artifacts like docs, packages delivered to package managers,
94
+ # etc. Example: "speech".
95
+ # @!attribute [rw] github_label
96
+ # @return [::String]
97
+ # GitHub label to apply to issues and pull requests opened for this API.
98
+ # @!attribute [rw] codeowner_github_teams
99
+ # @return [::Array<::String>]
100
+ # GitHub teams to be added to CODEOWNERS in the directory in GitHub
101
+ # containing source code for the client libraries for this API.
102
+ # @!attribute [rw] doc_tag_prefix
103
+ # @return [::String]
104
+ # A prefix used in sample code when demarking regions to be included in
105
+ # documentation.
106
+ # @!attribute [rw] organization
107
+ # @return [::Google::Api::ClientLibraryOrganization]
108
+ # For whom the client library is being published.
109
+ # @!attribute [rw] library_settings
110
+ # @return [::Array<::Google::Api::ClientLibrarySettings>]
111
+ # Client library settings. If the same version string appears multiple
112
+ # times in this list, then the last one wins. Settings from earlier
113
+ # settings with the same version string are discarded.
114
+ class Publishing
115
+ include ::Google::Protobuf::MessageExts
116
+ extend ::Google::Protobuf::MessageExts::ClassMethods
117
+ end
118
+
119
+ # Settings for Java client libraries.
120
+ # @!attribute [rw] library_package
121
+ # @return [::String]
122
+ # The package name to use in Java. Clobbers the java_package option
123
+ # set in the protobuf. This should be used **only** by APIs
124
+ # who have already set the language_settings.java.package_name" field
125
+ # in gapic.yaml. API teams should use the protobuf java_package option
126
+ # where possible.
127
+ #
128
+ # Example of a YAML configuration::
129
+ #
130
+ # publishing:
131
+ # java_settings:
132
+ # library_package: com.google.cloud.pubsub.v1
133
+ # @!attribute [rw] service_class_names
134
+ # @return [::Google::Protobuf::Map{::String => ::String}]
135
+ # Configure the Java class name to use instead of the service's for its
136
+ # corresponding generated GAPIC client. Keys are fully-qualified
137
+ # service names as they appear in the protobuf (including the full
138
+ # the language_settings.java.interface_names" field in gapic.yaml. API
139
+ # teams should otherwise use the service name as it appears in the
140
+ # protobuf.
141
+ #
142
+ # Example of a YAML configuration::
143
+ #
144
+ # publishing:
145
+ # java_settings:
146
+ # service_class_names:
147
+ # - google.pubsub.v1.Publisher: TopicAdmin
148
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
149
+ # @!attribute [rw] common
150
+ # @return [::Google::Api::CommonLanguageSettings]
151
+ # Some settings.
152
+ class JavaSettings
153
+ include ::Google::Protobuf::MessageExts
154
+ extend ::Google::Protobuf::MessageExts::ClassMethods
155
+
156
+ # @!attribute [rw] key
157
+ # @return [::String]
158
+ # @!attribute [rw] value
159
+ # @return [::String]
160
+ class ServiceClassNamesEntry
161
+ include ::Google::Protobuf::MessageExts
162
+ extend ::Google::Protobuf::MessageExts::ClassMethods
163
+ end
164
+ end
165
+
166
+ # Settings for C++ client libraries.
167
+ # @!attribute [rw] common
168
+ # @return [::Google::Api::CommonLanguageSettings]
169
+ # Some settings.
170
+ class CppSettings
171
+ include ::Google::Protobuf::MessageExts
172
+ extend ::Google::Protobuf::MessageExts::ClassMethods
173
+ end
174
+
175
+ # Settings for Php client libraries.
176
+ # @!attribute [rw] common
177
+ # @return [::Google::Api::CommonLanguageSettings]
178
+ # Some settings.
179
+ class PhpSettings
180
+ include ::Google::Protobuf::MessageExts
181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
182
+ end
183
+
184
+ # Settings for Python client libraries.
185
+ # @!attribute [rw] common
186
+ # @return [::Google::Api::CommonLanguageSettings]
187
+ # Some settings.
188
+ class PythonSettings
189
+ include ::Google::Protobuf::MessageExts
190
+ extend ::Google::Protobuf::MessageExts::ClassMethods
191
+ end
192
+
193
+ # Settings for Node client libraries.
194
+ # @!attribute [rw] common
195
+ # @return [::Google::Api::CommonLanguageSettings]
196
+ # Some settings.
197
+ class NodeSettings
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+ end
201
+
202
+ # Settings for Dotnet client libraries.
203
+ # @!attribute [rw] common
204
+ # @return [::Google::Api::CommonLanguageSettings]
205
+ # Some settings.
206
+ class DotnetSettings
207
+ include ::Google::Protobuf::MessageExts
208
+ extend ::Google::Protobuf::MessageExts::ClassMethods
209
+ end
210
+
211
+ # Settings for Ruby client libraries.
212
+ # @!attribute [rw] common
213
+ # @return [::Google::Api::CommonLanguageSettings]
214
+ # Some settings.
215
+ class RubySettings
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
219
+
220
+ # Settings for Go client libraries.
221
+ # @!attribute [rw] common
222
+ # @return [::Google::Api::CommonLanguageSettings]
223
+ # Some settings.
224
+ class GoSettings
225
+ include ::Google::Protobuf::MessageExts
226
+ extend ::Google::Protobuf::MessageExts::ClassMethods
227
+ end
228
+
229
+ # Describes the generator configuration for a method.
230
+ # @!attribute [rw] selector
231
+ # @return [::String]
232
+ # The fully qualified name of the method, for which the options below apply.
233
+ # This is used to find the method to apply the options.
234
+ # @!attribute [rw] long_running
235
+ # @return [::Google::Api::MethodSettings::LongRunning]
236
+ # Describes settings to use for long-running operations when generating
237
+ # API methods for RPCs. Complements RPCs that use the annotations in
238
+ # google/longrunning/operations.proto.
239
+ #
240
+ # Example of a YAML configuration::
241
+ #
242
+ # publishing:
243
+ # method_behavior:
244
+ # - selector: CreateAdDomain
245
+ # long_running:
246
+ # initial_poll_delay:
247
+ # seconds: 60 # 1 minute
248
+ # poll_delay_multiplier: 1.5
249
+ # max_poll_delay:
250
+ # seconds: 360 # 6 minutes
251
+ # total_poll_timeout:
252
+ # seconds: 54000 # 90 minutes
253
+ class MethodSettings
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+
257
+ # Describes settings to use when generating API methods that use the
258
+ # long-running operation pattern.
259
+ # All default values below are from those used in the client library
260
+ # generators (e.g.
261
+ # [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
262
+ # @!attribute [rw] initial_poll_delay
263
+ # @return [::Google::Protobuf::Duration]
264
+ # Initial delay after which the first poll request will be made.
265
+ # Default value: 5 seconds.
266
+ # @!attribute [rw] poll_delay_multiplier
267
+ # @return [::Float]
268
+ # Multiplier to gradually increase delay between subsequent polls until it
269
+ # reaches max_poll_delay.
270
+ # Default value: 1.5.
271
+ # @!attribute [rw] max_poll_delay
272
+ # @return [::Google::Protobuf::Duration]
273
+ # Maximum time between two subsequent poll requests.
274
+ # Default value: 45 seconds.
275
+ # @!attribute [rw] total_poll_timeout
276
+ # @return [::Google::Protobuf::Duration]
277
+ # Total polling timeout.
278
+ # Default value: 5 minutes.
279
+ class LongRunning
280
+ include ::Google::Protobuf::MessageExts
281
+ extend ::Google::Protobuf::MessageExts::ClassMethods
282
+ end
283
+ end
284
+
285
+ # The organization for which the client libraries are being published.
286
+ # Affects the url where generated docs are published, etc.
287
+ module ClientLibraryOrganization
288
+ # Not useful.
289
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0
290
+
291
+ # Google Cloud Platform Org.
292
+ CLOUD = 1
293
+
294
+ # Ads (Advertising) Org.
295
+ ADS = 2
296
+
297
+ # Photos Org.
298
+ PHOTOS = 3
299
+
300
+ # Street View Org.
301
+ STREET_VIEW = 4
302
+ end
303
+
304
+ # To where should client libraries be published?
305
+ module ClientLibraryDestination
306
+ # Client libraries will neither be generated nor published to package
307
+ # managers.
308
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0
309
+
310
+ # Generate the client library in a repo under github.com/googleapis,
311
+ # but don't publish it to package managers.
312
+ GITHUB = 10
313
+
314
+ # Publish the library to package managers like nuget.org and npmjs.com.
315
+ PACKAGE_MANAGER = 20
316
+ end
317
+ end
318
+ end