google-apis-vmmigration_v1alpha1 0.11.0 → 0.14.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: 892778dc95b2a6811f7c330d2a3925ff49be982cb6e67c09292864044f432e7d
4
- data.tar.gz: 0df480d6d43bd485ea93e81281b7cf027b04712c9b85bacfa411d40c4432502a
3
+ metadata.gz: c85c8339769571568c624756524e49309933b248adc591c512c7e117d959031b
4
+ data.tar.gz: ad0a43e1efd21b58d96cf7ece0fcda26a84219c5e296138344709ef1a673b630
5
5
  SHA512:
6
- metadata.gz: 1c318c7b570cff334f6da791b5bae4b16094b04d0321d62ddf2a110938fffd62fb8d64494b7745183cbaca2b929d962a18fe3a9d2a07d479cc8b6b9e3aa08d5a
7
- data.tar.gz: e44eb2262a43c3f51ebd2afdc0ffe639c2ae1a056f16b76916a53f32e159d756271f10a55388854b009b7f5f4d1a07bc246ea0c75d34713974daf1ba65e5e9c5
6
+ metadata.gz: 9fd412cb8f73f25b67fce7ad24a53812f698afb679a67e3894928471a93cc8fac508c8180f0907da4026808f5543aa1f796ebda2a50c760d891579186fd64849
7
+ data.tar.gz: c92f5d3d53afc4cdafb1c3626b165db5ff237f55269c01b6ee3852787e9036cc232799449d38b033b7de57be1247be54d47ec17fd1670b35ada1bde0ca996c07
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.14.0 (2022-06-20)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.13.0 (2022-06-10)
8
+
9
+ * Regenerated from discovery document revision 20220602
10
+ * Regenerated using generator version 0.5.0
11
+
12
+ ### v0.12.0 (2022-05-27)
13
+
14
+ * Regenerated from discovery document revision 20220520
15
+
3
16
  ### v0.11.0 (2022-05-12)
4
17
 
5
18
  * Regenerated from discovery document revision 20220428
@@ -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
@@ -591,6 +659,11 @@ module Google
591
659
  # @return [String]
592
660
  attr_accessor :create_time
593
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
+
594
667
  # The `Status` type defines a logical error model that is suitable for different
595
668
  # programming environments, including REST APIs and RPC APIs. It is used by [
596
669
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -632,6 +705,11 @@ module Google
632
705
  # @return [String]
633
706
  attr_accessor :state_time
634
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
+
635
713
  # TargetVMDetails is a collection of details for creating a VM in a target
636
714
  # Compute Engine project.
637
715
  # Corresponds to the JSON property `targetDetails`
@@ -647,6 +725,7 @@ module Google
647
725
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
648
726
  @compute_engine_vm_details = args[:compute_engine_vm_details] if args.key?(:compute_engine_vm_details)
649
727
  @create_time = args[:create_time] if args.key?(:create_time)
728
+ @end_time = args[:end_time] if args.key?(:end_time)
650
729
  @error = args[:error] if args.key?(:error)
651
730
  @name = args[:name] if args.key?(:name)
652
731
  @progress = args[:progress] if args.key?(:progress)
@@ -654,10 +733,68 @@ module Google
654
733
  @state = args[:state] if args.key?(:state)
655
734
  @state_message = args[:state_message] if args.key?(:state_message)
656
735
  @state_time = args[:state_time] if args.key?(:state_time)
736
+ @steps = args[:steps] if args.key?(:steps)
657
737
  @target_details = args[:target_details] if args.key?(:target_details)
658
738
  end
659
739
  end
660
740
 
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
+
661
798
  # CycleStep holds information about a step progress.
662
799
  class CycleStep
663
800
  include Google::Apis::Core::Hashable
@@ -834,6 +971,12 @@ module Google
834
971
  class FetchInventoryResponse
835
972
  include Google::Apis::Core::Hashable
836
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
+
837
980
  # Output only. The timestamp when the source was last queried (if the result is
838
981
  # from the cache).
839
982
  # Corresponds to the JSON property `updateTime`
@@ -851,6 +994,7 @@ module Google
851
994
 
852
995
  # Update properties of this object
853
996
  def update!(**args)
997
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
854
998
  @update_time = args[:update_time] if args.key?(:update_time)
855
999
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
856
1000
  end
@@ -926,6 +1070,19 @@ module Google
926
1070
  end
927
1071
  end
928
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
+
929
1086
  # Describes a URL link.
930
1087
  class Link
931
1088
  include Google::Apis::Core::Hashable
@@ -1161,6 +1318,38 @@ module Google
1161
1318
  end
1162
1319
  end
1163
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
+
1164
1353
  # Response message for 'ListSources' request.
1165
1354
  class ListSourcesResponse
1166
1355
  include Google::Apis::Core::Hashable
@@ -1717,6 +1906,19 @@ module Google
1717
1906
  end
1718
1907
  end
1719
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
+
1720
1922
  # Request message for 'RemoveMigration' request.
1721
1923
  class RemoveGroupMigrationRequest
1722
1924
  include Google::Apis::Core::Hashable
@@ -1778,6 +1980,16 @@ module Google
1778
1980
  class ReplicationCycle
1779
1981
  include Google::Apis::Core::Hashable
1780
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
+
1781
1993
  # The current progress in percentage of this cycle.
1782
1994
  # Corresponds to the JSON property `progress`
1783
1995
  # @return [Fixnum]
@@ -1809,6 +2021,8 @@ module Google
1809
2021
 
1810
2022
  # Update properties of this object
1811
2023
  def update!(**args)
2024
+ @end_time = args[:end_time] if args.key?(:end_time)
2025
+ @name = args[:name] if args.key?(:name)
1812
2026
  @progress = args[:progress] if args.key?(:progress)
1813
2027
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
1814
2028
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -1910,6 +2124,19 @@ module Google
1910
2124
  end
1911
2125
  end
1912
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
+
1913
2140
  # Source message describes a specific vm migration Source resource. It contains
1914
2141
  # the source environment information.
1915
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.11.0"
19
+ GEM_VERSION = "0.14.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.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220428"
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
@@ -534,6 +599,7 @@ module Google
534
599
  property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
535
600
 
536
601
  property :create_time, as: 'createTime'
602
+ property :end_time, as: 'endTime'
537
603
  property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
538
604
 
539
605
  property :name, as: 'name'
@@ -542,11 +608,31 @@ module Google
542
608
  property :state, as: 'state'
543
609
  property :state_message, as: 'stateMessage'
544
610
  property :state_time, as: 'stateTime'
611
+ collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CutoverStep, decorator: Google::Apis::VmmigrationV1alpha1::CutoverStep::Representation
612
+
545
613
  property :target_details, as: 'targetDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
546
614
 
547
615
  end
548
616
  end
549
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
+
550
636
  class CycleStep
551
637
  # @private
552
638
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -593,6 +679,7 @@ module Google
593
679
  class FetchInventoryResponse
594
680
  # @private
595
681
  class Representation < Google::Apis::Core::JsonRepresentation
682
+ property :next_page_token, as: 'nextPageToken'
596
683
  property :update_time, as: 'updateTime'
597
684
  property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails::Representation
598
685
 
@@ -622,6 +709,12 @@ module Google
622
709
  end
623
710
  end
624
711
 
712
+ class InstantiatingMigratedVmStep
713
+ # @private
714
+ class Representation < Google::Apis::Core::JsonRepresentation
715
+ end
716
+ end
717
+
625
718
  class Link
626
719
  # @private
627
720
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -698,6 +791,16 @@ module Google
698
791
  end
699
792
  end
700
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
+
701
804
  class ListSourcesResponse
702
805
  # @private
703
806
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -844,6 +947,12 @@ module Google
844
947
  end
845
948
  end
846
949
 
950
+ class PreparingVmDisksStep
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ end
954
+ end
955
+
847
956
  class RemoveGroupMigrationRequest
848
957
  # @private
849
958
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -864,6 +973,8 @@ module Google
864
973
  class ReplicationCycle
865
974
  # @private
866
975
  class Representation < Google::Apis::Core::JsonRepresentation
976
+ property :end_time, as: 'endTime'
977
+ property :name, as: 'name'
867
978
  property :progress, as: 'progress'
868
979
  property :progress_percent, as: 'progressPercent'
869
980
  property :start_time, as: 'startTime'
@@ -903,6 +1014,12 @@ module Google
903
1014
  end
904
1015
  end
905
1016
 
1017
+ class ShuttingDownSourceVmStep
1018
+ # @private
1019
+ class Representation < Google::Apis::Core::JsonRepresentation
1020
+ end
1021
+ end
1022
+
906
1023
  class Source
907
1024
  # @private
908
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.11.0
4
+ version: 0.14.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-06-27 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.6'
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.6'
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.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.14.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