google-apis-vmmigration_v1alpha1 0.12.0 → 0.13.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/vmmigration_v1alpha1/classes.rb +220 -0
- data/lib/google/apis/vmmigration_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/vmmigration_v1alpha1/representations.rb +116 -0
- data/lib/google/apis/vmmigration_v1alpha1/service.rb +77 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 327a6179e4fbac5ec46c5eb54424ebac7891260fb73f77732efcb1e739f411dc
|
4
|
+
data.tar.gz: c86afe4d74e383dad0ead4856ef3538f1f8635d1b028542f40cf19450d78bf9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 023f62d859cbc7b3ed608fe77316677205862bcdcc12dc23d2cf3860011c3b584e4795ad7445b819a488a1b89650ca213c0b3059970616d9ea001db312fd0c07
|
7
|
+
data.tar.gz: fe654d74b5ad0bb08f25366bae1e9d318c3ab8344cd004622a76422065b94614916f5c02221bb98e82a4127a0f0e52e3ffcc5665a6e93ba6999ca767c1a22f0f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
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
|
+
|
3
8
|
### v0.12.0 (2022-05-27)
|
4
9
|
|
5
10
|
* 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
|
@@ -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
|
@@ -933,6 +1070,19 @@ module Google
|
|
933
1070
|
end
|
934
1071
|
end
|
935
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
|
+
|
936
1086
|
# Describes a URL link.
|
937
1087
|
class Link
|
938
1088
|
include Google::Apis::Core::Hashable
|
@@ -1168,6 +1318,38 @@ module Google
|
|
1168
1318
|
end
|
1169
1319
|
end
|
1170
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
|
+
|
1171
1353
|
# Response message for 'ListSources' request.
|
1172
1354
|
class ListSourcesResponse
|
1173
1355
|
include Google::Apis::Core::Hashable
|
@@ -1724,6 +1906,19 @@ module Google
|
|
1724
1906
|
end
|
1725
1907
|
end
|
1726
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
|
+
|
1727
1922
|
# Request message for 'RemoveMigration' request.
|
1728
1923
|
class RemoveGroupMigrationRequest
|
1729
1924
|
include Google::Apis::Core::Hashable
|
@@ -1785,6 +1980,16 @@ module Google
|
|
1785
1980
|
class ReplicationCycle
|
1786
1981
|
include Google::Apis::Core::Hashable
|
1787
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
|
+
|
1788
1993
|
# The current progress in percentage of this cycle.
|
1789
1994
|
# Corresponds to the JSON property `progress`
|
1790
1995
|
# @return [Fixnum]
|
@@ -1816,6 +2021,8 @@ module Google
|
|
1816
2021
|
|
1817
2022
|
# Update properties of this object
|
1818
2023
|
def update!(**args)
|
2024
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2025
|
+
@name = args[:name] if args.key?(:name)
|
1819
2026
|
@progress = args[:progress] if args.key?(:progress)
|
1820
2027
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
1821
2028
|
@start_time = args[:start_time] if args.key?(:start_time)
|
@@ -1917,6 +2124,19 @@ module Google
|
|
1917
2124
|
end
|
1918
2125
|
end
|
1919
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
|
+
|
1920
2140
|
# Source message describes a specific vm migration Source resource. It contains
|
1921
2141
|
# the source environment information.
|
1922
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.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
@@ -623,6 +709,12 @@ module Google
|
|
623
709
|
end
|
624
710
|
end
|
625
711
|
|
712
|
+
class InstantiatingMigratedVmStep
|
713
|
+
# @private
|
714
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
626
718
|
class Link
|
627
719
|
# @private
|
628
720
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -699,6 +791,16 @@ module Google
|
|
699
791
|
end
|
700
792
|
end
|
701
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
|
+
|
702
804
|
class ListSourcesResponse
|
703
805
|
# @private
|
704
806
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -845,6 +947,12 @@ module Google
|
|
845
947
|
end
|
846
948
|
end
|
847
949
|
|
950
|
+
class PreparingVmDisksStep
|
951
|
+
# @private
|
952
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
953
|
+
end
|
954
|
+
end
|
955
|
+
|
848
956
|
class RemoveGroupMigrationRequest
|
849
957
|
# @private
|
850
958
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -865,6 +973,8 @@ module Google
|
|
865
973
|
class ReplicationCycle
|
866
974
|
# @private
|
867
975
|
class Representation < Google::Apis::Core::JsonRepresentation
|
976
|
+
property :end_time, as: 'endTime'
|
977
|
+
property :name, as: 'name'
|
868
978
|
property :progress, as: 'progress'
|
869
979
|
property :progress_percent, as: 'progressPercent'
|
870
980
|
property :start_time, as: 'startTime'
|
@@ -904,6 +1014,12 @@ module Google
|
|
904
1014
|
end
|
905
1015
|
end
|
906
1016
|
|
1017
|
+
class ShuttingDownSourceVmStep
|
1018
|
+
# @private
|
1019
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1020
|
+
end
|
1021
|
+
end
|
1022
|
+
|
907
1023
|
class Source
|
908
1024
|
# @private
|
909
1025
|
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.
|
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-
|
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.
|
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.
|
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.
|
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: []
|