google-apis-vmmigration_v1alpha1 0.10.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8adbbbb908d3c1f6195995882f03deb4f54844c054640f126d91875cfc73dcf9
4
- data.tar.gz: a49c95d176ebfef9a26b1b4168e40ba709b555c24fa328862aa339a7208d26f7
3
+ metadata.gz: 327a6179e4fbac5ec46c5eb54424ebac7891260fb73f77732efcb1e739f411dc
4
+ data.tar.gz: c86afe4d74e383dad0ead4856ef3538f1f8635d1b028542f40cf19450d78bf9f
5
5
  SHA512:
6
- metadata.gz: dfd42cf08d5e5646d09a9005a6453563e782ca9474135cb9b269f449b9ef544bcbff5f9879ad73c84bfa1cf574732c18a3e567e50ce4532b049fd4cd294aabe7
7
- data.tar.gz: 43ab37410891213cc9d4d3560337c6ff77c8da85c9c84519a2d90efb0b03a5824eb522fead8d1ab8f4fc734a9d275131105f25c40ea46e369e1a2893a1fdf9b0
6
+ metadata.gz: 023f62d859cbc7b3ed608fe77316677205862bcdcc12dc23d2cf3860011c3b584e4795ad7445b819a488a1b89650ca213c0b3059970616d9ea001db312fd0c07
7
+ data.tar.gz: fe654d74b5ad0bb08f25366bae1e9d318c3ab8344cd004622a76422065b94614916f5c02221bb98e82a4127a0f0e52e3ffcc5665a6e93ba6999ca767c1a22f0f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.13.0 (2022-06-10)
4
+
5
+ * Regenerated from discovery document revision 20220602
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.12.0 (2022-05-27)
9
+
10
+ * Regenerated from discovery document revision 20220520
11
+
12
+ ### v0.11.0 (2022-05-12)
13
+
14
+ * Regenerated from discovery document revision 20220428
15
+
3
16
  ### v0.10.0 (2022-04-15)
4
17
 
5
18
  * Regenerated from discovery document revision 20220408
@@ -22,6 +22,19 @@ module Google
22
22
  module Apis
23
23
  module VmmigrationV1alpha1
24
24
 
25
+ # AdaptingOSStep contains specific step details.
26
+ class AdaptingOsStep
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
25
38
  # Request message for 'AddGroupMigration' request.
26
39
  class AddGroupMigrationRequest
27
40
  include Google::Apis::Core::Hashable
@@ -217,6 +230,11 @@ module Google
217
230
  # @return [String]
218
231
  attr_accessor :create_time
219
232
 
233
+ # Output only. The time the clone job was ended.
234
+ # Corresponds to the JSON property `endTime`
235
+ # @return [String]
236
+ attr_accessor :end_time
237
+
220
238
  # The `Status` type defines a logical error model that is suitable for different
221
239
  # programming environments, including REST APIs and RPC APIs. It is used by [
222
240
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -242,6 +260,11 @@ module Google
242
260
  # @return [String]
243
261
  attr_accessor :state_time
244
262
 
263
+ # Output only. The clone steps list representing its progress.
264
+ # Corresponds to the JSON property `steps`
265
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::CloneStep>]
266
+ attr_accessor :steps
267
+
245
268
  # TargetVMDetails is a collection of details for creating a VM in a target
246
269
  # Compute Engine project.
247
270
  # Corresponds to the JSON property `targetDetails`
@@ -257,14 +280,59 @@ module Google
257
280
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
258
281
  @compute_engine_vm_details = args[:compute_engine_vm_details] if args.key?(:compute_engine_vm_details)
259
282
  @create_time = args[:create_time] if args.key?(:create_time)
283
+ @end_time = args[:end_time] if args.key?(:end_time)
260
284
  @error = args[:error] if args.key?(:error)
261
285
  @name = args[:name] if args.key?(:name)
262
286
  @state = args[:state] if args.key?(:state)
263
287
  @state_time = args[:state_time] if args.key?(:state_time)
288
+ @steps = args[:steps] if args.key?(:steps)
264
289
  @target_details = args[:target_details] if args.key?(:target_details)
265
290
  end
266
291
  end
267
292
 
293
+ # CloneStep holds information about the clone step progress.
294
+ class CloneStep
295
+ include Google::Apis::Core::Hashable
296
+
297
+ # AdaptingOSStep contains specific step details.
298
+ # Corresponds to the JSON property `adaptingOs`
299
+ # @return [Google::Apis::VmmigrationV1alpha1::AdaptingOsStep]
300
+ attr_accessor :adapting_os
301
+
302
+ # The time the step has ended.
303
+ # Corresponds to the JSON property `endTime`
304
+ # @return [String]
305
+ attr_accessor :end_time
306
+
307
+ # InstantiatingMigratedVMStep contains specific step details.
308
+ # Corresponds to the JSON property `instantiatingMigratedVm`
309
+ # @return [Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep]
310
+ attr_accessor :instantiating_migrated_vm
311
+
312
+ # PreparingVMDisksStep contains specific step details.
313
+ # Corresponds to the JSON property `preparingVmDisks`
314
+ # @return [Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep]
315
+ attr_accessor :preparing_vm_disks
316
+
317
+ # The time the step has started.
318
+ # Corresponds to the JSON property `startTime`
319
+ # @return [String]
320
+ attr_accessor :start_time
321
+
322
+ def initialize(**args)
323
+ update!(**args)
324
+ end
325
+
326
+ # Update properties of this object
327
+ def update!(**args)
328
+ @adapting_os = args[:adapting_os] if args.key?(:adapting_os)
329
+ @end_time = args[:end_time] if args.key?(:end_time)
330
+ @instantiating_migrated_vm = args[:instantiating_migrated_vm] if args.key?(:instantiating_migrated_vm)
331
+ @preparing_vm_disks = args[:preparing_vm_disks] if args.key?(:preparing_vm_disks)
332
+ @start_time = args[:start_time] if args.key?(:start_time)
333
+ end
334
+ end
335
+
268
336
  # ComputeEngineTargetDefaults is a collection of details for creating a VM in a
269
337
  # target Compute Engine project.
270
338
  class ComputeEngineTargetDefaults
@@ -296,6 +364,11 @@ module Google
296
364
  # @return [String]
297
365
  attr_accessor :disk_type
298
366
 
367
+ # The hostname to assign to the VM.
368
+ # Corresponds to the JSON property `hostname`
369
+ # @return [String]
370
+ attr_accessor :hostname
371
+
299
372
  # A map of labels to associate with the VM.
300
373
  # Corresponds to the JSON property `labels`
301
374
  # @return [Hash<String,String>]
@@ -370,6 +443,7 @@ module Google
370
443
  @boot_option = args[:boot_option] if args.key?(:boot_option)
371
444
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
372
445
  @disk_type = args[:disk_type] if args.key?(:disk_type)
446
+ @hostname = args[:hostname] if args.key?(:hostname)
373
447
  @labels = args[:labels] if args.key?(:labels)
374
448
  @license_type = args[:license_type] if args.key?(:license_type)
375
449
  @machine_type = args[:machine_type] if args.key?(:machine_type)
@@ -416,6 +490,11 @@ module Google
416
490
  # @return [String]
417
491
  attr_accessor :disk_type
418
492
 
493
+ # The hostname to assign to the VM.
494
+ # Corresponds to the JSON property `hostname`
495
+ # @return [String]
496
+ attr_accessor :hostname
497
+
419
498
  # A map of labels to associate with the VM.
420
499
  # Corresponds to the JSON property `labels`
421
500
  # @return [Hash<String,String>]
@@ -489,6 +568,7 @@ module Google
489
568
  @boot_option = args[:boot_option] if args.key?(:boot_option)
490
569
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
491
570
  @disk_type = args[:disk_type] if args.key?(:disk_type)
571
+ @hostname = args[:hostname] if args.key?(:hostname)
492
572
  @labels = args[:labels] if args.key?(:labels)
493
573
  @license_type = args[:license_type] if args.key?(:license_type)
494
574
  @machine_type = args[:machine_type] if args.key?(:machine_type)
@@ -579,6 +659,11 @@ module Google
579
659
  # @return [String]
580
660
  attr_accessor :create_time
581
661
 
662
+ # Output only. The time the cutover job had finished.
663
+ # Corresponds to the JSON property `endTime`
664
+ # @return [String]
665
+ attr_accessor :end_time
666
+
582
667
  # The `Status` type defines a logical error model that is suitable for different
583
668
  # programming environments, including REST APIs and RPC APIs. It is used by [
584
669
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -620,6 +705,11 @@ module Google
620
705
  # @return [String]
621
706
  attr_accessor :state_time
622
707
 
708
+ # Output only. The cutover steps list representing its progress.
709
+ # Corresponds to the JSON property `steps`
710
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::CutoverStep>]
711
+ attr_accessor :steps
712
+
623
713
  # TargetVMDetails is a collection of details for creating a VM in a target
624
714
  # Compute Engine project.
625
715
  # Corresponds to the JSON property `targetDetails`
@@ -635,6 +725,7 @@ module Google
635
725
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
636
726
  @compute_engine_vm_details = args[:compute_engine_vm_details] if args.key?(:compute_engine_vm_details)
637
727
  @create_time = args[:create_time] if args.key?(:create_time)
728
+ @end_time = args[:end_time] if args.key?(:end_time)
638
729
  @error = args[:error] if args.key?(:error)
639
730
  @name = args[:name] if args.key?(:name)
640
731
  @progress = args[:progress] if args.key?(:progress)
@@ -642,11 +733,69 @@ module Google
642
733
  @state = args[:state] if args.key?(:state)
643
734
  @state_message = args[:state_message] if args.key?(:state_message)
644
735
  @state_time = args[:state_time] if args.key?(:state_time)
736
+ @steps = args[:steps] if args.key?(:steps)
645
737
  @target_details = args[:target_details] if args.key?(:target_details)
646
738
  end
647
739
  end
648
740
 
649
- # CycleStep hold information about a step progress.
741
+ # CutoverStep holds information about the cutover step progress.
742
+ class CutoverStep
743
+ include Google::Apis::Core::Hashable
744
+
745
+ # The time the step has ended.
746
+ # Corresponds to the JSON property `endTime`
747
+ # @return [String]
748
+ attr_accessor :end_time
749
+
750
+ # ReplicationCycle contains information about the current replication cycle
751
+ # status.
752
+ # Corresponds to the JSON property `finalSync`
753
+ # @return [Google::Apis::VmmigrationV1alpha1::ReplicationCycle]
754
+ attr_accessor :final_sync
755
+
756
+ # InstantiatingMigratedVMStep contains specific step details.
757
+ # Corresponds to the JSON property `instantiatingMigratedVm`
758
+ # @return [Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep]
759
+ attr_accessor :instantiating_migrated_vm
760
+
761
+ # PreparingVMDisksStep contains specific step details.
762
+ # Corresponds to the JSON property `preparingVmDisks`
763
+ # @return [Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep]
764
+ attr_accessor :preparing_vm_disks
765
+
766
+ # ReplicationCycle contains information about the current replication cycle
767
+ # status.
768
+ # Corresponds to the JSON property `previousReplicationCycle`
769
+ # @return [Google::Apis::VmmigrationV1alpha1::ReplicationCycle]
770
+ attr_accessor :previous_replication_cycle
771
+
772
+ # ShuttingDownSourceVMStep contains specific step details.
773
+ # Corresponds to the JSON property `shuttingDownSourceVm`
774
+ # @return [Google::Apis::VmmigrationV1alpha1::ShuttingDownSourceVmStep]
775
+ attr_accessor :shutting_down_source_vm
776
+
777
+ # The time the step has started.
778
+ # Corresponds to the JSON property `startTime`
779
+ # @return [String]
780
+ attr_accessor :start_time
781
+
782
+ def initialize(**args)
783
+ update!(**args)
784
+ end
785
+
786
+ # Update properties of this object
787
+ def update!(**args)
788
+ @end_time = args[:end_time] if args.key?(:end_time)
789
+ @final_sync = args[:final_sync] if args.key?(:final_sync)
790
+ @instantiating_migrated_vm = args[:instantiating_migrated_vm] if args.key?(:instantiating_migrated_vm)
791
+ @preparing_vm_disks = args[:preparing_vm_disks] if args.key?(:preparing_vm_disks)
792
+ @previous_replication_cycle = args[:previous_replication_cycle] if args.key?(:previous_replication_cycle)
793
+ @shutting_down_source_vm = args[:shutting_down_source_vm] if args.key?(:shutting_down_source_vm)
794
+ @start_time = args[:start_time] if args.key?(:start_time)
795
+ end
796
+ end
797
+
798
+ # CycleStep holds information about a step progress.
650
799
  class CycleStep
651
800
  include Google::Apis::Core::Hashable
652
801
 
@@ -822,6 +971,12 @@ module Google
822
971
  class FetchInventoryResponse
823
972
  include Google::Apis::Core::Hashable
824
973
 
974
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
975
+ # page. If this field is omitted, there are no subsequent pages.
976
+ # Corresponds to the JSON property `nextPageToken`
977
+ # @return [String]
978
+ attr_accessor :next_page_token
979
+
825
980
  # Output only. The timestamp when the source was last queried (if the result is
826
981
  # from the cache).
827
982
  # Corresponds to the JSON property `updateTime`
@@ -839,6 +994,7 @@ module Google
839
994
 
840
995
  # Update properties of this object
841
996
  def update!(**args)
997
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
842
998
  @update_time = args[:update_time] if args.key?(:update_time)
843
999
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
844
1000
  end
@@ -914,6 +1070,19 @@ module Google
914
1070
  end
915
1071
  end
916
1072
 
1073
+ # InstantiatingMigratedVMStep contains specific step details.
1074
+ class InstantiatingMigratedVmStep
1075
+ include Google::Apis::Core::Hashable
1076
+
1077
+ def initialize(**args)
1078
+ update!(**args)
1079
+ end
1080
+
1081
+ # Update properties of this object
1082
+ def update!(**args)
1083
+ end
1084
+ end
1085
+
917
1086
  # Describes a URL link.
918
1087
  class Link
919
1088
  include Google::Apis::Core::Hashable
@@ -1149,6 +1318,38 @@ module Google
1149
1318
  end
1150
1319
  end
1151
1320
 
1321
+ # Response message for 'ListReplicationCycles' request.
1322
+ class ListReplicationCyclesResponse
1323
+ include Google::Apis::Core::Hashable
1324
+
1325
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
1326
+ # page. If this field is omitted, there are no subsequent pages.
1327
+ # Corresponds to the JSON property `nextPageToken`
1328
+ # @return [String]
1329
+ attr_accessor :next_page_token
1330
+
1331
+ # Output only. The list of replication cycles response.
1332
+ # Corresponds to the JSON property `replicationCycles`
1333
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::ReplicationCycle>]
1334
+ attr_accessor :replication_cycles
1335
+
1336
+ # Output only. Locations that could not be reached.
1337
+ # Corresponds to the JSON property `unreachable`
1338
+ # @return [Array<String>]
1339
+ attr_accessor :unreachable
1340
+
1341
+ def initialize(**args)
1342
+ update!(**args)
1343
+ end
1344
+
1345
+ # Update properties of this object
1346
+ def update!(**args)
1347
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1348
+ @replication_cycles = args[:replication_cycles] if args.key?(:replication_cycles)
1349
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1350
+ end
1351
+ end
1352
+
1152
1353
  # Response message for 'ListSources' request.
1153
1354
  class ListSourcesResponse
1154
1355
  include Google::Apis::Core::Hashable
@@ -1705,6 +1906,19 @@ module Google
1705
1906
  end
1706
1907
  end
1707
1908
 
1909
+ # PreparingVMDisksStep contains specific step details.
1910
+ class PreparingVmDisksStep
1911
+ include Google::Apis::Core::Hashable
1912
+
1913
+ def initialize(**args)
1914
+ update!(**args)
1915
+ end
1916
+
1917
+ # Update properties of this object
1918
+ def update!(**args)
1919
+ end
1920
+ end
1921
+
1708
1922
  # Request message for 'RemoveMigration' request.
1709
1923
  class RemoveGroupMigrationRequest
1710
1924
  include Google::Apis::Core::Hashable
@@ -1766,6 +1980,16 @@ module Google
1766
1980
  class ReplicationCycle
1767
1981
  include Google::Apis::Core::Hashable
1768
1982
 
1983
+ # The time the replication cycle has ended.
1984
+ # Corresponds to the JSON property `endTime`
1985
+ # @return [String]
1986
+ attr_accessor :end_time
1987
+
1988
+ # The identifier of the ReplicationCycle.
1989
+ # Corresponds to the JSON property `name`
1990
+ # @return [String]
1991
+ attr_accessor :name
1992
+
1769
1993
  # The current progress in percentage of this cycle.
1770
1994
  # Corresponds to the JSON property `progress`
1771
1995
  # @return [Fixnum]
@@ -1797,6 +2021,8 @@ module Google
1797
2021
 
1798
2022
  # Update properties of this object
1799
2023
  def update!(**args)
2024
+ @end_time = args[:end_time] if args.key?(:end_time)
2025
+ @name = args[:name] if args.key?(:name)
1800
2026
  @progress = args[:progress] if args.key?(:progress)
1801
2027
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
1802
2028
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -1898,6 +2124,19 @@ module Google
1898
2124
  end
1899
2125
  end
1900
2126
 
2127
+ # ShuttingDownSourceVMStep contains specific step details.
2128
+ class ShuttingDownSourceVmStep
2129
+ include Google::Apis::Core::Hashable
2130
+
2131
+ def initialize(**args)
2132
+ update!(**args)
2133
+ end
2134
+
2135
+ # Update properties of this object
2136
+ def update!(**args)
2137
+ end
2138
+ end
2139
+
1901
2140
  # Source message describes a specific vm migration Source resource. It contains
1902
2141
  # the source environment information.
1903
2142
  class Source
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VmmigrationV1alpha1
18
18
  # Version of the google-apis-vmmigration_v1alpha1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220408"
25
+ REVISION = "20220602"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module VmmigrationV1alpha1
24
24
 
25
+ class AdaptingOsStep
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AddGroupMigrationRequest
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -76,6 +82,12 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class CloneStep
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class ComputeEngineTargetDefaults
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -100,6 +112,12 @@ module Google
100
112
  include Google::Apis::Core::JsonObjectSupport
101
113
  end
102
114
 
115
+ class CutoverStep
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
103
121
  class CycleStep
104
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
123
 
@@ -142,6 +160,12 @@ module Google
142
160
  include Google::Apis::Core::JsonObjectSupport
143
161
  end
144
162
 
163
+ class InstantiatingMigratedVmStep
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
145
169
  class Link
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
171
 
@@ -190,6 +214,12 @@ module Google
190
214
  include Google::Apis::Core::JsonObjectSupport
191
215
  end
192
216
 
217
+ class ListReplicationCyclesResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
193
223
  class ListSourcesResponse
194
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
225
 
@@ -262,6 +292,12 @@ module Google
262
292
  include Google::Apis::Core::JsonObjectSupport
263
293
  end
264
294
 
295
+ class PreparingVmDisksStep
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
265
301
  class RemoveGroupMigrationRequest
266
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
303
 
@@ -304,6 +340,12 @@ module Google
304
340
  include Google::Apis::Core::JsonObjectSupport
305
341
  end
306
342
 
343
+ class ShuttingDownSourceVmStep
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
307
349
  class Source
308
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
351
 
@@ -382,6 +424,12 @@ module Google
382
424
  include Google::Apis::Core::JsonObjectSupport
383
425
  end
384
426
 
427
+ class AdaptingOsStep
428
+ # @private
429
+ class Representation < Google::Apis::Core::JsonRepresentation
430
+ end
431
+ end
432
+
385
433
  class AddGroupMigrationRequest
386
434
  # @private
387
435
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -450,16 +498,33 @@ module Google
450
498
  property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
451
499
 
452
500
  property :create_time, as: 'createTime'
501
+ property :end_time, as: 'endTime'
453
502
  property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
454
503
 
455
504
  property :name, as: 'name'
456
505
  property :state, as: 'state'
457
506
  property :state_time, as: 'stateTime'
507
+ collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CloneStep, decorator: Google::Apis::VmmigrationV1alpha1::CloneStep::Representation
508
+
458
509
  property :target_details, as: 'targetDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
459
510
 
460
511
  end
461
512
  end
462
513
 
514
+ class CloneStep
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :adapting_os, as: 'adaptingOs', class: Google::Apis::VmmigrationV1alpha1::AdaptingOsStep, decorator: Google::Apis::VmmigrationV1alpha1::AdaptingOsStep::Representation
518
+
519
+ property :end_time, as: 'endTime'
520
+ property :instantiating_migrated_vm, as: 'instantiatingMigratedVm', class: Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep, decorator: Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep::Representation
521
+
522
+ property :preparing_vm_disks, as: 'preparingVmDisks', class: Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep, decorator: Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep::Representation
523
+
524
+ property :start_time, as: 'startTime'
525
+ end
526
+ end
527
+
463
528
  class ComputeEngineTargetDefaults
464
529
  # @private
465
530
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -470,6 +535,7 @@ module Google
470
535
  property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
471
536
 
472
537
  property :disk_type, as: 'diskType'
538
+ property :hostname, as: 'hostname'
473
539
  hash :labels, as: 'labels'
474
540
  property :license_type, as: 'licenseType'
475
541
  property :machine_type, as: 'machineType'
@@ -496,6 +562,7 @@ module Google
496
562
  property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
497
563
 
498
564
  property :disk_type, as: 'diskType'
565
+ property :hostname, as: 'hostname'
499
566
  hash :labels, as: 'labels'
500
567
  property :license_type, as: 'licenseType'
501
568
  property :machine_type, as: 'machineType'
@@ -532,6 +599,7 @@ module Google
532
599
  property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
533
600
 
534
601
  property :create_time, as: 'createTime'
602
+ property :end_time, as: 'endTime'
535
603
  property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
536
604
 
537
605
  property :name, as: 'name'
@@ -540,11 +608,31 @@ module Google
540
608
  property :state, as: 'state'
541
609
  property :state_message, as: 'stateMessage'
542
610
  property :state_time, as: 'stateTime'
611
+ collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CutoverStep, decorator: Google::Apis::VmmigrationV1alpha1::CutoverStep::Representation
612
+
543
613
  property :target_details, as: 'targetDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
544
614
 
545
615
  end
546
616
  end
547
617
 
618
+ class CutoverStep
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ property :end_time, as: 'endTime'
622
+ property :final_sync, as: 'finalSync', class: Google::Apis::VmmigrationV1alpha1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation
623
+
624
+ property :instantiating_migrated_vm, as: 'instantiatingMigratedVm', class: Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep, decorator: Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep::Representation
625
+
626
+ property :preparing_vm_disks, as: 'preparingVmDisks', class: Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep, decorator: Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep::Representation
627
+
628
+ property :previous_replication_cycle, as: 'previousReplicationCycle', class: Google::Apis::VmmigrationV1alpha1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation
629
+
630
+ property :shutting_down_source_vm, as: 'shuttingDownSourceVm', class: Google::Apis::VmmigrationV1alpha1::ShuttingDownSourceVmStep, decorator: Google::Apis::VmmigrationV1alpha1::ShuttingDownSourceVmStep::Representation
631
+
632
+ property :start_time, as: 'startTime'
633
+ end
634
+ end
635
+
548
636
  class CycleStep
549
637
  # @private
550
638
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -591,6 +679,7 @@ module Google
591
679
  class FetchInventoryResponse
592
680
  # @private
593
681
  class Representation < Google::Apis::Core::JsonRepresentation
682
+ property :next_page_token, as: 'nextPageToken'
594
683
  property :update_time, as: 'updateTime'
595
684
  property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails::Representation
596
685
 
@@ -620,6 +709,12 @@ module Google
620
709
  end
621
710
  end
622
711
 
712
+ class InstantiatingMigratedVmStep
713
+ # @private
714
+ class Representation < Google::Apis::Core::JsonRepresentation
715
+ end
716
+ end
717
+
623
718
  class Link
624
719
  # @private
625
720
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -696,6 +791,16 @@ module Google
696
791
  end
697
792
  end
698
793
 
794
+ class ListReplicationCyclesResponse
795
+ # @private
796
+ class Representation < Google::Apis::Core::JsonRepresentation
797
+ property :next_page_token, as: 'nextPageToken'
798
+ collection :replication_cycles, as: 'replicationCycles', class: Google::Apis::VmmigrationV1alpha1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation
799
+
800
+ collection :unreachable, as: 'unreachable'
801
+ end
802
+ end
803
+
699
804
  class ListSourcesResponse
700
805
  # @private
701
806
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -842,6 +947,12 @@ module Google
842
947
  end
843
948
  end
844
949
 
950
+ class PreparingVmDisksStep
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ end
954
+ end
955
+
845
956
  class RemoveGroupMigrationRequest
846
957
  # @private
847
958
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -862,6 +973,8 @@ module Google
862
973
  class ReplicationCycle
863
974
  # @private
864
975
  class Representation < Google::Apis::Core::JsonRepresentation
976
+ property :end_time, as: 'endTime'
977
+ property :name, as: 'name'
865
978
  property :progress, as: 'progress'
866
979
  property :progress_percent, as: 'progressPercent'
867
980
  property :start_time, as: 'startTime'
@@ -901,6 +1014,12 @@ module Google
901
1014
  end
902
1015
  end
903
1016
 
1017
+ class ShuttingDownSourceVmStep
1018
+ # @private
1019
+ class Representation < Google::Apis::Core::JsonRepresentation
1020
+ end
1021
+ end
1022
+
904
1023
  class Source
905
1024
  # @private
906
1025
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -656,6 +656,16 @@ module Google
656
656
  # @param [Boolean] force_refresh
657
657
  # If this flag is set to true, the source will be queried instead of using
658
658
  # cached results. Using this flag will make the call slower.
659
+ # @param [Fixnum] page_size
660
+ # The maximum number of VMs to return. The service may return fewer than this
661
+ # value. For AWS source: If unspecified, at most 500 VMs will be returned. The
662
+ # maximum value is 1000; values above 1000 will be coerced to 1000. For VMWare
663
+ # source: If unspecified, all VMs will be returned. There is no limit for
664
+ # maximum value.
665
+ # @param [String] page_token
666
+ # A page token, received from a previous `FetchInventory` call. Provide this to
667
+ # retrieve the subsequent page. When paginating, all other parameters provided
668
+ # to `FetchInventory` must match the call that provided the page token.
659
669
  # @param [String] fields
660
670
  # Selector specifying which fields to include in a partial response.
661
671
  # @param [String] quota_user
@@ -673,12 +683,14 @@ module Google
673
683
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
674
684
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
675
685
  # @raise [Google::Apis::AuthorizationError] Authorization is required
676
- def fetch_project_location_source_inventory(source, force_refresh: nil, fields: nil, quota_user: nil, options: nil, &block)
686
+ def fetch_project_location_source_inventory(source, force_refresh: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
677
687
  command = make_simple_command(:get, 'v1alpha1/{+source}:fetchInventory', options)
678
688
  command.response_representation = Google::Apis::VmmigrationV1alpha1::FetchInventoryResponse::Representation
679
689
  command.response_class = Google::Apis::VmmigrationV1alpha1::FetchInventoryResponse
680
690
  command.params['source'] = source unless source.nil?
681
691
  command.query['forceRefresh'] = force_refresh unless force_refresh.nil?
692
+ command.query['pageSize'] = page_size unless page_size.nil?
693
+ command.query['pageToken'] = page_token unless page_token.nil?
682
694
  command.query['fields'] = fields unless fields.nil?
683
695
  command.query['quotaUser'] = quota_user unless quota_user.nil?
684
696
  execute_or_queue_command(command, &block)
@@ -1684,6 +1696,83 @@ module Google
1684
1696
  execute_or_queue_command(command, &block)
1685
1697
  end
1686
1698
 
1699
+ # Gets details of a single ReplicationCycle.
1700
+ # @param [String] name
1701
+ # Required. The name of the ReplicationCycle.
1702
+ # @param [String] fields
1703
+ # Selector specifying which fields to include in a partial response.
1704
+ # @param [String] quota_user
1705
+ # Available to use for quota purposes for server-side applications. Can be any
1706
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1707
+ # @param [Google::Apis::RequestOptions] options
1708
+ # Request-specific options
1709
+ #
1710
+ # @yield [result, err] Result & error if block supplied
1711
+ # @yieldparam result [Google::Apis::VmmigrationV1alpha1::ReplicationCycle] parsed result object
1712
+ # @yieldparam err [StandardError] error object if request failed
1713
+ #
1714
+ # @return [Google::Apis::VmmigrationV1alpha1::ReplicationCycle]
1715
+ #
1716
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1717
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1718
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1719
+ def get_project_location_source_migrating_vm_replication_cycle(name, fields: nil, quota_user: nil, options: nil, &block)
1720
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1721
+ command.response_representation = Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation
1722
+ command.response_class = Google::Apis::VmmigrationV1alpha1::ReplicationCycle
1723
+ command.params['name'] = name unless name.nil?
1724
+ command.query['fields'] = fields unless fields.nil?
1725
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1726
+ execute_or_queue_command(command, &block)
1727
+ end
1728
+
1729
+ # Lists ReplicationCycles in a given MigratingVM.
1730
+ # @param [String] parent
1731
+ # Required. The parent, which owns this collection of ReplicationCycles.
1732
+ # @param [String] filter
1733
+ # Optional. The filter request.
1734
+ # @param [String] order_by
1735
+ # Optional. the order by fields for the result.
1736
+ # @param [Fixnum] page_size
1737
+ # Optional. The maximum number of replication cycles to return. The service may
1738
+ # return fewer than this value. If unspecified, at most 100 migrating VMs will
1739
+ # be returned. The maximum value is 100; values above 100 will be coerced to 100.
1740
+ # @param [String] page_token
1741
+ # Required. A page token, received from a previous `ListReplicationCycles` call.
1742
+ # Provide this to retrieve the subsequent page. When paginating, all other
1743
+ # parameters provided to `ListReplicationCycles` must match the call that
1744
+ # provided the page token.
1745
+ # @param [String] fields
1746
+ # Selector specifying which fields to include in a partial response.
1747
+ # @param [String] quota_user
1748
+ # Available to use for quota purposes for server-side applications. Can be any
1749
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1750
+ # @param [Google::Apis::RequestOptions] options
1751
+ # Request-specific options
1752
+ #
1753
+ # @yield [result, err] Result & error if block supplied
1754
+ # @yieldparam result [Google::Apis::VmmigrationV1alpha1::ListReplicationCyclesResponse] parsed result object
1755
+ # @yieldparam err [StandardError] error object if request failed
1756
+ #
1757
+ # @return [Google::Apis::VmmigrationV1alpha1::ListReplicationCyclesResponse]
1758
+ #
1759
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1760
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1761
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1762
+ def list_project_location_source_migrating_vm_replication_cycles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1763
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/replicationCycles', options)
1764
+ command.response_representation = Google::Apis::VmmigrationV1alpha1::ListReplicationCyclesResponse::Representation
1765
+ command.response_class = Google::Apis::VmmigrationV1alpha1::ListReplicationCyclesResponse
1766
+ command.params['parent'] = parent unless parent.nil?
1767
+ command.query['filter'] = filter unless filter.nil?
1768
+ command.query['orderBy'] = order_by unless order_by.nil?
1769
+ command.query['pageSize'] = page_size unless page_size.nil?
1770
+ command.query['pageToken'] = page_token unless page_token.nil?
1771
+ command.query['fields'] = fields unless fields.nil?
1772
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1773
+ execute_or_queue_command(command, &block)
1774
+ end
1775
+
1687
1776
  # Creates a new UtilizationReport.
1688
1777
  # @param [String] parent
1689
1778
  # Required. The Utilization Report's parent.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vmmigration_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-18 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for VM Migration API V1alpha1