google-apis-vmmigration_v1alpha1 0.12.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07bb810db44112e4261092c0e9927c0104a4617c94ce06ff17af73cd7b6943ea
4
- data.tar.gz: 4a6aad1570f1a1dd42af4f4fbedde8764214120d766bc9bfb2255c6b40ba7892
3
+ metadata.gz: a1af71e79c16d81c3571073d1effd44036b26951c46e3b731674dddb372e0b5e
4
+ data.tar.gz: cc2a2bcc58e208dfb8c3d51442517ff55b341d728bd812523ca8e5c78b892e3a
5
5
  SHA512:
6
- metadata.gz: d90f0816fd416d72b651c960ce944e0934e3230a4ced7658cc273e3fc11892a86ea342ae9e3f61564ab5c55c1ccd53b6010f8d254940e0afd6d517904771f55f
7
- data.tar.gz: 540165ad2d32138d06bd6fe7812d1879519b0278b847a780210fb3f1afbd380af6e1f108e844cbf50ccde141c7b9a6c76c809a9fb856ab3dc9ae4eae9a9027eb
6
+ metadata.gz: 20a1b5f022a432322b170d3f99ebb9bbc856bc11a775c6c16bffe46463ce69963dcd165be0c02c1c98c86f9723a684a57cbd4881422c4880423b7f8a0581a3f4
7
+ data.tar.gz: 6670873327988e802e878815bccdd2f319dc1df456834aa05c0cb89f8de8cd117e32aed138c7d72cc2f18cb61a7dd4a0932f92b7b5dbd5aa8a7698953d1a089e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.15.0 (2022-07-01)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+ * Regenerated from discovery document revision 20220616
7
+
8
+ ### v0.14.0 (2022-06-20)
9
+
10
+ * Regenerated using generator version 0.7.0
11
+
12
+ ### v0.13.0 (2022-06-10)
13
+
14
+ * Regenerated from discovery document revision 20220602
15
+ * Regenerated using generator version 0.5.0
16
+
3
17
  ### v0.12.0 (2022-05-27)
4
18
 
5
19
  * Regenerated from discovery document revision 20220520
@@ -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
@@ -133,6 +146,11 @@ module Google
133
146
  class AwsSourceVmDetails
134
147
  include Google::Apis::Core::Hashable
135
148
 
149
+ # The total size of the disks being migrated in bytes.
150
+ # Corresponds to the JSON property `committedStorageBytes`
151
+ # @return [Fixnum]
152
+ attr_accessor :committed_storage_bytes
153
+
136
154
  # The firmware type of the source VM.
137
155
  # Corresponds to the JSON property `firmware`
138
156
  # @return [String]
@@ -144,6 +162,7 @@ module Google
144
162
 
145
163
  # Update properties of this object
146
164
  def update!(**args)
165
+ @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
147
166
  @firmware = args[:firmware] if args.key?(:firmware)
148
167
  end
149
168
  end
@@ -217,6 +236,11 @@ module Google
217
236
  # @return [String]
218
237
  attr_accessor :create_time
219
238
 
239
+ # Output only. The time the clone job was ended.
240
+ # Corresponds to the JSON property `endTime`
241
+ # @return [String]
242
+ attr_accessor :end_time
243
+
220
244
  # The `Status` type defines a logical error model that is suitable for different
221
245
  # programming environments, including REST APIs and RPC APIs. It is used by [
222
246
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -242,6 +266,11 @@ module Google
242
266
  # @return [String]
243
267
  attr_accessor :state_time
244
268
 
269
+ # Output only. The clone steps list representing its progress.
270
+ # Corresponds to the JSON property `steps`
271
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::CloneStep>]
272
+ attr_accessor :steps
273
+
245
274
  # TargetVMDetails is a collection of details for creating a VM in a target
246
275
  # Compute Engine project.
247
276
  # Corresponds to the JSON property `targetDetails`
@@ -257,14 +286,59 @@ module Google
257
286
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
258
287
  @compute_engine_vm_details = args[:compute_engine_vm_details] if args.key?(:compute_engine_vm_details)
259
288
  @create_time = args[:create_time] if args.key?(:create_time)
289
+ @end_time = args[:end_time] if args.key?(:end_time)
260
290
  @error = args[:error] if args.key?(:error)
261
291
  @name = args[:name] if args.key?(:name)
262
292
  @state = args[:state] if args.key?(:state)
263
293
  @state_time = args[:state_time] if args.key?(:state_time)
294
+ @steps = args[:steps] if args.key?(:steps)
264
295
  @target_details = args[:target_details] if args.key?(:target_details)
265
296
  end
266
297
  end
267
298
 
299
+ # CloneStep holds information about the clone step progress.
300
+ class CloneStep
301
+ include Google::Apis::Core::Hashable
302
+
303
+ # AdaptingOSStep contains specific step details.
304
+ # Corresponds to the JSON property `adaptingOs`
305
+ # @return [Google::Apis::VmmigrationV1alpha1::AdaptingOsStep]
306
+ attr_accessor :adapting_os
307
+
308
+ # The time the step has ended.
309
+ # Corresponds to the JSON property `endTime`
310
+ # @return [String]
311
+ attr_accessor :end_time
312
+
313
+ # InstantiatingMigratedVMStep contains specific step details.
314
+ # Corresponds to the JSON property `instantiatingMigratedVm`
315
+ # @return [Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep]
316
+ attr_accessor :instantiating_migrated_vm
317
+
318
+ # PreparingVMDisksStep contains specific step details.
319
+ # Corresponds to the JSON property `preparingVmDisks`
320
+ # @return [Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep]
321
+ attr_accessor :preparing_vm_disks
322
+
323
+ # The time the step has started.
324
+ # Corresponds to the JSON property `startTime`
325
+ # @return [String]
326
+ attr_accessor :start_time
327
+
328
+ def initialize(**args)
329
+ update!(**args)
330
+ end
331
+
332
+ # Update properties of this object
333
+ def update!(**args)
334
+ @adapting_os = args[:adapting_os] if args.key?(:adapting_os)
335
+ @end_time = args[:end_time] if args.key?(:end_time)
336
+ @instantiating_migrated_vm = args[:instantiating_migrated_vm] if args.key?(:instantiating_migrated_vm)
337
+ @preparing_vm_disks = args[:preparing_vm_disks] if args.key?(:preparing_vm_disks)
338
+ @start_time = args[:start_time] if args.key?(:start_time)
339
+ end
340
+ end
341
+
268
342
  # ComputeEngineTargetDefaults is a collection of details for creating a VM in a
269
343
  # target Compute Engine project.
270
344
  class ComputeEngineTargetDefaults
@@ -591,6 +665,11 @@ module Google
591
665
  # @return [String]
592
666
  attr_accessor :create_time
593
667
 
668
+ # Output only. The time the cutover job had finished.
669
+ # Corresponds to the JSON property `endTime`
670
+ # @return [String]
671
+ attr_accessor :end_time
672
+
594
673
  # The `Status` type defines a logical error model that is suitable for different
595
674
  # programming environments, including REST APIs and RPC APIs. It is used by [
596
675
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -632,6 +711,11 @@ module Google
632
711
  # @return [String]
633
712
  attr_accessor :state_time
634
713
 
714
+ # Output only. The cutover steps list representing its progress.
715
+ # Corresponds to the JSON property `steps`
716
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::CutoverStep>]
717
+ attr_accessor :steps
718
+
635
719
  # TargetVMDetails is a collection of details for creating a VM in a target
636
720
  # Compute Engine project.
637
721
  # Corresponds to the JSON property `targetDetails`
@@ -647,6 +731,7 @@ module Google
647
731
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
648
732
  @compute_engine_vm_details = args[:compute_engine_vm_details] if args.key?(:compute_engine_vm_details)
649
733
  @create_time = args[:create_time] if args.key?(:create_time)
734
+ @end_time = args[:end_time] if args.key?(:end_time)
650
735
  @error = args[:error] if args.key?(:error)
651
736
  @name = args[:name] if args.key?(:name)
652
737
  @progress = args[:progress] if args.key?(:progress)
@@ -654,10 +739,68 @@ module Google
654
739
  @state = args[:state] if args.key?(:state)
655
740
  @state_message = args[:state_message] if args.key?(:state_message)
656
741
  @state_time = args[:state_time] if args.key?(:state_time)
742
+ @steps = args[:steps] if args.key?(:steps)
657
743
  @target_details = args[:target_details] if args.key?(:target_details)
658
744
  end
659
745
  end
660
746
 
747
+ # CutoverStep holds information about the cutover step progress.
748
+ class CutoverStep
749
+ include Google::Apis::Core::Hashable
750
+
751
+ # The time the step has ended.
752
+ # Corresponds to the JSON property `endTime`
753
+ # @return [String]
754
+ attr_accessor :end_time
755
+
756
+ # ReplicationCycle contains information about the current replication cycle
757
+ # status.
758
+ # Corresponds to the JSON property `finalSync`
759
+ # @return [Google::Apis::VmmigrationV1alpha1::ReplicationCycle]
760
+ attr_accessor :final_sync
761
+
762
+ # InstantiatingMigratedVMStep contains specific step details.
763
+ # Corresponds to the JSON property `instantiatingMigratedVm`
764
+ # @return [Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep]
765
+ attr_accessor :instantiating_migrated_vm
766
+
767
+ # PreparingVMDisksStep contains specific step details.
768
+ # Corresponds to the JSON property `preparingVmDisks`
769
+ # @return [Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep]
770
+ attr_accessor :preparing_vm_disks
771
+
772
+ # ReplicationCycle contains information about the current replication cycle
773
+ # status.
774
+ # Corresponds to the JSON property `previousReplicationCycle`
775
+ # @return [Google::Apis::VmmigrationV1alpha1::ReplicationCycle]
776
+ attr_accessor :previous_replication_cycle
777
+
778
+ # ShuttingDownSourceVMStep contains specific step details.
779
+ # Corresponds to the JSON property `shuttingDownSourceVm`
780
+ # @return [Google::Apis::VmmigrationV1alpha1::ShuttingDownSourceVmStep]
781
+ attr_accessor :shutting_down_source_vm
782
+
783
+ # The time the step has started.
784
+ # Corresponds to the JSON property `startTime`
785
+ # @return [String]
786
+ attr_accessor :start_time
787
+
788
+ def initialize(**args)
789
+ update!(**args)
790
+ end
791
+
792
+ # Update properties of this object
793
+ def update!(**args)
794
+ @end_time = args[:end_time] if args.key?(:end_time)
795
+ @final_sync = args[:final_sync] if args.key?(:final_sync)
796
+ @instantiating_migrated_vm = args[:instantiating_migrated_vm] if args.key?(:instantiating_migrated_vm)
797
+ @preparing_vm_disks = args[:preparing_vm_disks] if args.key?(:preparing_vm_disks)
798
+ @previous_replication_cycle = args[:previous_replication_cycle] if args.key?(:previous_replication_cycle)
799
+ @shutting_down_source_vm = args[:shutting_down_source_vm] if args.key?(:shutting_down_source_vm)
800
+ @start_time = args[:start_time] if args.key?(:start_time)
801
+ end
802
+ end
803
+
661
804
  # CycleStep holds information about a step progress.
662
805
  class CycleStep
663
806
  include Google::Apis::Core::Hashable
@@ -933,6 +1076,19 @@ module Google
933
1076
  end
934
1077
  end
935
1078
 
1079
+ # InstantiatingMigratedVMStep contains specific step details.
1080
+ class InstantiatingMigratedVmStep
1081
+ include Google::Apis::Core::Hashable
1082
+
1083
+ def initialize(**args)
1084
+ update!(**args)
1085
+ end
1086
+
1087
+ # Update properties of this object
1088
+ def update!(**args)
1089
+ end
1090
+ end
1091
+
936
1092
  # Describes a URL link.
937
1093
  class Link
938
1094
  include Google::Apis::Core::Hashable
@@ -1168,6 +1324,38 @@ module Google
1168
1324
  end
1169
1325
  end
1170
1326
 
1327
+ # Response message for 'ListReplicationCycles' request.
1328
+ class ListReplicationCyclesResponse
1329
+ include Google::Apis::Core::Hashable
1330
+
1331
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
1332
+ # page. If this field is omitted, there are no subsequent pages.
1333
+ # Corresponds to the JSON property `nextPageToken`
1334
+ # @return [String]
1335
+ attr_accessor :next_page_token
1336
+
1337
+ # Output only. The list of replication cycles response.
1338
+ # Corresponds to the JSON property `replicationCycles`
1339
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::ReplicationCycle>]
1340
+ attr_accessor :replication_cycles
1341
+
1342
+ # Output only. Locations that could not be reached.
1343
+ # Corresponds to the JSON property `unreachable`
1344
+ # @return [Array<String>]
1345
+ attr_accessor :unreachable
1346
+
1347
+ def initialize(**args)
1348
+ update!(**args)
1349
+ end
1350
+
1351
+ # Update properties of this object
1352
+ def update!(**args)
1353
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1354
+ @replication_cycles = args[:replication_cycles] if args.key?(:replication_cycles)
1355
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1356
+ end
1357
+ end
1358
+
1171
1359
  # Response message for 'ListSources' request.
1172
1360
  class ListSourcesResponse
1173
1361
  include Google::Apis::Core::Hashable
@@ -1724,6 +1912,19 @@ module Google
1724
1912
  end
1725
1913
  end
1726
1914
 
1915
+ # PreparingVMDisksStep contains specific step details.
1916
+ class PreparingVmDisksStep
1917
+ include Google::Apis::Core::Hashable
1918
+
1919
+ def initialize(**args)
1920
+ update!(**args)
1921
+ end
1922
+
1923
+ # Update properties of this object
1924
+ def update!(**args)
1925
+ end
1926
+ end
1927
+
1727
1928
  # Request message for 'RemoveMigration' request.
1728
1929
  class RemoveGroupMigrationRequest
1729
1930
  include Google::Apis::Core::Hashable
@@ -1785,6 +1986,16 @@ module Google
1785
1986
  class ReplicationCycle
1786
1987
  include Google::Apis::Core::Hashable
1787
1988
 
1989
+ # The time the replication cycle has ended.
1990
+ # Corresponds to the JSON property `endTime`
1991
+ # @return [String]
1992
+ attr_accessor :end_time
1993
+
1994
+ # The identifier of the ReplicationCycle.
1995
+ # Corresponds to the JSON property `name`
1996
+ # @return [String]
1997
+ attr_accessor :name
1998
+
1788
1999
  # The current progress in percentage of this cycle.
1789
2000
  # Corresponds to the JSON property `progress`
1790
2001
  # @return [Fixnum]
@@ -1816,6 +2027,8 @@ module Google
1816
2027
 
1817
2028
  # Update properties of this object
1818
2029
  def update!(**args)
2030
+ @end_time = args[:end_time] if args.key?(:end_time)
2031
+ @name = args[:name] if args.key?(:name)
1819
2032
  @progress = args[:progress] if args.key?(:progress)
1820
2033
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
1821
2034
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -1917,6 +2130,19 @@ module Google
1917
2130
  end
1918
2131
  end
1919
2132
 
2133
+ # ShuttingDownSourceVMStep contains specific step details.
2134
+ class ShuttingDownSourceVmStep
2135
+ include Google::Apis::Core::Hashable
2136
+
2137
+ def initialize(**args)
2138
+ update!(**args)
2139
+ end
2140
+
2141
+ # Update properties of this object
2142
+ def update!(**args)
2143
+ end
2144
+ end
2145
+
1920
2146
  # Source message describes a specific vm migration Source resource. It contains
1921
2147
  # the source environment information.
1922
2148
  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.12.0"
19
+ GEM_VERSION = "0.15.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.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220520"
25
+ REVISION = "20220616"
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
@@ -420,6 +468,7 @@ module Google
420
468
  class AwsSourceVmDetails
421
469
  # @private
422
470
  class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
423
472
  property :firmware, as: 'firmware'
424
473
  end
425
474
  end
@@ -450,16 +499,33 @@ module Google
450
499
  property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
451
500
 
452
501
  property :create_time, as: 'createTime'
502
+ property :end_time, as: 'endTime'
453
503
  property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
454
504
 
455
505
  property :name, as: 'name'
456
506
  property :state, as: 'state'
457
507
  property :state_time, as: 'stateTime'
508
+ collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CloneStep, decorator: Google::Apis::VmmigrationV1alpha1::CloneStep::Representation
509
+
458
510
  property :target_details, as: 'targetDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
459
511
 
460
512
  end
461
513
  end
462
514
 
515
+ class CloneStep
516
+ # @private
517
+ class Representation < Google::Apis::Core::JsonRepresentation
518
+ property :adapting_os, as: 'adaptingOs', class: Google::Apis::VmmigrationV1alpha1::AdaptingOsStep, decorator: Google::Apis::VmmigrationV1alpha1::AdaptingOsStep::Representation
519
+
520
+ property :end_time, as: 'endTime'
521
+ property :instantiating_migrated_vm, as: 'instantiatingMigratedVm', class: Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep, decorator: Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep::Representation
522
+
523
+ property :preparing_vm_disks, as: 'preparingVmDisks', class: Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep, decorator: Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep::Representation
524
+
525
+ property :start_time, as: 'startTime'
526
+ end
527
+ end
528
+
463
529
  class ComputeEngineTargetDefaults
464
530
  # @private
465
531
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -534,6 +600,7 @@ module Google
534
600
  property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
535
601
 
536
602
  property :create_time, as: 'createTime'
603
+ property :end_time, as: 'endTime'
537
604
  property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
538
605
 
539
606
  property :name, as: 'name'
@@ -542,11 +609,31 @@ module Google
542
609
  property :state, as: 'state'
543
610
  property :state_message, as: 'stateMessage'
544
611
  property :state_time, as: 'stateTime'
612
+ collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CutoverStep, decorator: Google::Apis::VmmigrationV1alpha1::CutoverStep::Representation
613
+
545
614
  property :target_details, as: 'targetDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
546
615
 
547
616
  end
548
617
  end
549
618
 
619
+ class CutoverStep
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :end_time, as: 'endTime'
623
+ property :final_sync, as: 'finalSync', class: Google::Apis::VmmigrationV1alpha1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation
624
+
625
+ property :instantiating_migrated_vm, as: 'instantiatingMigratedVm', class: Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep, decorator: Google::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep::Representation
626
+
627
+ property :preparing_vm_disks, as: 'preparingVmDisks', class: Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep, decorator: Google::Apis::VmmigrationV1alpha1::PreparingVmDisksStep::Representation
628
+
629
+ property :previous_replication_cycle, as: 'previousReplicationCycle', class: Google::Apis::VmmigrationV1alpha1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation
630
+
631
+ property :shutting_down_source_vm, as: 'shuttingDownSourceVm', class: Google::Apis::VmmigrationV1alpha1::ShuttingDownSourceVmStep, decorator: Google::Apis::VmmigrationV1alpha1::ShuttingDownSourceVmStep::Representation
632
+
633
+ property :start_time, as: 'startTime'
634
+ end
635
+ end
636
+
550
637
  class CycleStep
551
638
  # @private
552
639
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -623,6 +710,12 @@ module Google
623
710
  end
624
711
  end
625
712
 
713
+ class InstantiatingMigratedVmStep
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ end
717
+ end
718
+
626
719
  class Link
627
720
  # @private
628
721
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -699,6 +792,16 @@ module Google
699
792
  end
700
793
  end
701
794
 
795
+ class ListReplicationCyclesResponse
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ property :next_page_token, as: 'nextPageToken'
799
+ collection :replication_cycles, as: 'replicationCycles', class: Google::Apis::VmmigrationV1alpha1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation
800
+
801
+ collection :unreachable, as: 'unreachable'
802
+ end
803
+ end
804
+
702
805
  class ListSourcesResponse
703
806
  # @private
704
807
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -845,6 +948,12 @@ module Google
845
948
  end
846
949
  end
847
950
 
951
+ class PreparingVmDisksStep
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ end
955
+ end
956
+
848
957
  class RemoveGroupMigrationRequest
849
958
  # @private
850
959
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -865,6 +974,8 @@ module Google
865
974
  class ReplicationCycle
866
975
  # @private
867
976
  class Representation < Google::Apis::Core::JsonRepresentation
977
+ property :end_time, as: 'endTime'
978
+ property :name, as: 'name'
868
979
  property :progress, as: 'progress'
869
980
  property :progress_percent, as: 'progressPercent'
870
981
  property :start_time, as: 'startTime'
@@ -904,6 +1015,12 @@ module Google
904
1015
  end
905
1016
  end
906
1017
 
1018
+ class ShuttingDownSourceVmStep
1019
+ # @private
1020
+ class Representation < Google::Apis::Core::JsonRepresentation
1021
+ end
1022
+ end
1023
+
907
1024
  class Source
908
1025
  # @private
909
1026
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1696,6 +1696,83 @@ module Google
1696
1696
  execute_or_queue_command(command, &block)
1697
1697
  end
1698
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
+
1699
1776
  # Creates a new UtilizationReport.
1700
1777
  # @param [String] parent
1701
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.12.0
4
+ version: 0.15.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-30 00:00:00.000000000 Z
11
+ date: 2022-07-04 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.7'
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.7'
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.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.15.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: []