google-apis-vmmigration_v1alpha1 0.4.0 → 0.7.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: 34f00990acba3bfa955b0040e3f003aed4d6d4ae076d0ed95610323ed32dc566
4
- data.tar.gz: d039986ad6ea751050d47104244621d828edfd7ff976ce5ef93f9df4667c3558
3
+ metadata.gz: 339639b23c3b6ac612f1900464d22bd4f260b0ed78a64e4522be337ce0724061
4
+ data.tar.gz: 8cc7b61c454d464a058b1de7b0852bb2a4f027acec714a627eecf2231a356ccd
5
5
  SHA512:
6
- metadata.gz: c28ddda8b78bd667e31eaad13a0fe91fdf89e169009c0f1bcf4a7c604eb82411b0576b26ba38108bd27c44fa14d5e9de6ffd4a21ba43d81ee006b8032a06b3fa
7
- data.tar.gz: 503496c32a0dd735cd6e4ab03980b08ea537e6a3e672c42fa6ed9b959fe2905eb7d9652dd019aa52b0c7c750809abeaf97b5c798fe3057e2935b4a7a7fc1cf8a
6
+ metadata.gz: 0ed4954fa5355b8a130744d159a4e502a7cc2cf27b36c83b94215985e507bae64bda30eaa3a9c0610906613996b24038c95a28bacea064339c9e189fbf162ad6
7
+ data.tar.gz: 81ec6c97c0cbd853c6123c74fd4ad272281142adb005a56f2ade249562facbaf6eeead0f49bbb6227ae3038a23bbf85abf205bef6c8d544a663018cd0f2b518f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.7.0 (2022-03-12)
4
+
5
+ * Regenerated from discovery document revision 20220306
6
+
7
+ ### v0.6.0 (2022-02-10)
8
+
9
+ * Regenerated from discovery document revision 20220203
10
+
11
+ ### v0.5.0 (2022-02-01)
12
+
13
+ * Regenerated from discovery document revision 20220120
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.4.0 (2021-12-14)
4
17
 
5
18
  * Regenerated from discovery document revision 20211207
@@ -41,6 +41,44 @@ module Google
41
41
  end
42
42
  end
43
43
 
44
+ # Describes an appliance version.
45
+ class ApplianceVersion
46
+ include Google::Apis::Core::Hashable
47
+
48
+ # Determine whether it's critical to upgrade the appliance to this version.
49
+ # Corresponds to the JSON property `critical`
50
+ # @return [Boolean]
51
+ attr_accessor :critical
52
+ alias_method :critical?, :critical
53
+
54
+ # Link to a page that contains the version release notes.
55
+ # Corresponds to the JSON property `releaseNotesUri`
56
+ # @return [String]
57
+ attr_accessor :release_notes_uri
58
+
59
+ # A link for downloading the version.
60
+ # Corresponds to the JSON property `uri`
61
+ # @return [String]
62
+ attr_accessor :uri
63
+
64
+ # The appliance version.
65
+ # Corresponds to the JSON property `version`
66
+ # @return [String]
67
+ attr_accessor :version
68
+
69
+ def initialize(**args)
70
+ update!(**args)
71
+ end
72
+
73
+ # Update properties of this object
74
+ def update!(**args)
75
+ @critical = args[:critical] if args.key?(:critical)
76
+ @release_notes_uri = args[:release_notes_uri] if args.key?(:release_notes_uri)
77
+ @uri = args[:uri] if args.key?(:uri)
78
+ @version = args[:version] if args.key?(:version)
79
+ end
80
+ end
81
+
44
82
  # AppliedLicense holds the license data returned by adaptation module report.
45
83
  class AppliedLicense
46
84
  include Google::Apis::Core::Hashable
@@ -66,6 +104,31 @@ module Google
66
104
  end
67
105
  end
68
106
 
107
+ # Holds informatiom about the available versions for upgrade.
108
+ class AvailableUpdates
109
+ include Google::Apis::Core::Hashable
110
+
111
+ # Describes an appliance version.
112
+ # Corresponds to the JSON property `inPlaceUpdate`
113
+ # @return [Google::Apis::VmmigrationV1alpha1::ApplianceVersion]
114
+ attr_accessor :in_place_update
115
+
116
+ # Describes an appliance version.
117
+ # Corresponds to the JSON property `newDeployableAppliance`
118
+ # @return [Google::Apis::VmmigrationV1alpha1::ApplianceVersion]
119
+ attr_accessor :new_deployable_appliance
120
+
121
+ def initialize(**args)
122
+ update!(**args)
123
+ end
124
+
125
+ # Update properties of this object
126
+ def update!(**args)
127
+ @in_place_update = args[:in_place_update] if args.key?(:in_place_update)
128
+ @new_deployable_appliance = args[:new_deployable_appliance] if args.key?(:new_deployable_appliance)
129
+ end
130
+ end
131
+
69
132
  # Request message for 'CancelCloneJob' request.
70
133
  class CancelCloneJobRequest
71
134
  include Google::Apis::Core::Hashable
@@ -145,7 +208,7 @@ module Google
145
208
  # @return [Google::Apis::VmmigrationV1alpha1::Status]
146
209
  attr_accessor :error
147
210
 
148
- # The name of the clone.
211
+ # Output only. The name of the clone.
149
212
  # Corresponds to the JSON property `name`
150
213
  # @return [String]
151
214
  attr_accessor :name
@@ -564,12 +627,73 @@ module Google
564
627
  end
565
628
  end
566
629
 
630
+ # CycleStep hold information about a step progress.
631
+ class CycleStep
632
+ include Google::Apis::Core::Hashable
633
+
634
+ # The time the cycle step has ended.
635
+ # Corresponds to the JSON property `endTime`
636
+ # @return [String]
637
+ attr_accessor :end_time
638
+
639
+ # InitializingReplicationStep contains specific step details.
640
+ # Corresponds to the JSON property `initializingReplication`
641
+ # @return [Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep]
642
+ attr_accessor :initializing_replication
643
+
644
+ # PostProcessingStep contains specific step details.
645
+ # Corresponds to the JSON property `postProcessing`
646
+ # @return [Google::Apis::VmmigrationV1alpha1::PostProcessingStep]
647
+ attr_accessor :post_processing
648
+
649
+ # ReplicatingStep contains specific step details.
650
+ # Corresponds to the JSON property `replicating`
651
+ # @return [Google::Apis::VmmigrationV1alpha1::ReplicatingStep]
652
+ attr_accessor :replicating
653
+
654
+ # The time the cycle step has started.
655
+ # Corresponds to the JSON property `startTime`
656
+ # @return [String]
657
+ attr_accessor :start_time
658
+
659
+ def initialize(**args)
660
+ update!(**args)
661
+ end
662
+
663
+ # Update properties of this object
664
+ def update!(**args)
665
+ @end_time = args[:end_time] if args.key?(:end_time)
666
+ @initializing_replication = args[:initializing_replication] if args.key?(:initializing_replication)
667
+ @post_processing = args[:post_processing] if args.key?(:post_processing)
668
+ @replicating = args[:replicating] if args.key?(:replicating)
669
+ @start_time = args[:start_time] if args.key?(:start_time)
670
+ end
671
+ end
672
+
567
673
  # DatacenterConnector message describes a connector between the Source and GCP,
568
674
  # which is installed on a vmware datacenter (an OVA vm installed by the user) to
569
675
  # connect the Datacenter to GCP and support vm migration data transfer.
570
676
  class DatacenterConnector
571
677
  include Google::Apis::Core::Hashable
572
678
 
679
+ # Output only. Appliance OVA version. This is the OVA which is manually
680
+ # installed by the user and contains the infrastructure for the automatically
681
+ # updatable components on the appliance.
682
+ # Corresponds to the JSON property `applianceInfrastructureVersion`
683
+ # @return [String]
684
+ attr_accessor :appliance_infrastructure_version
685
+
686
+ # Output only. Appliance last installed update bundle version. This is the
687
+ # version of the automatically updatable components on the appliance.
688
+ # Corresponds to the JSON property `applianceSoftwareVersion`
689
+ # @return [String]
690
+ attr_accessor :appliance_software_version
691
+
692
+ # Holds informatiom about the available versions for upgrade.
693
+ # Corresponds to the JSON property `availableVersions`
694
+ # @return [Google::Apis::VmmigrationV1alpha1::AvailableUpdates]
695
+ attr_accessor :available_versions
696
+
573
697
  # Output only. The communication channel between the datacenter connector and
574
698
  # GCP.
575
699
  # Corresponds to the JSON property `bucket`
@@ -625,6 +749,11 @@ module Google
625
749
  # @return [String]
626
750
  attr_accessor :update_time
627
751
 
752
+ # UpgradeStatus contains information about upgradeAppliance operation.
753
+ # Corresponds to the JSON property `upgradeStatus`
754
+ # @return [Google::Apis::VmmigrationV1alpha1::UpgradeStatus]
755
+ attr_accessor :upgrade_status
756
+
628
757
  # The version running in the DatacenterConnector. This is supplied by the OVA
629
758
  # connector during the registration process and can not be modified.
630
759
  # Corresponds to the JSON property `version`
@@ -637,6 +766,9 @@ module Google
637
766
 
638
767
  # Update properties of this object
639
768
  def update!(**args)
769
+ @appliance_infrastructure_version = args[:appliance_infrastructure_version] if args.key?(:appliance_infrastructure_version)
770
+ @appliance_software_version = args[:appliance_software_version] if args.key?(:appliance_software_version)
771
+ @available_versions = args[:available_versions] if args.key?(:available_versions)
640
772
  @bucket = args[:bucket] if args.key?(:bucket)
641
773
  @create_time = args[:create_time] if args.key?(:create_time)
642
774
  @error = args[:error] if args.key?(:error)
@@ -646,6 +778,7 @@ module Google
646
778
  @state = args[:state] if args.key?(:state)
647
779
  @state_time = args[:state_time] if args.key?(:state_time)
648
780
  @update_time = args[:update_time] if args.key?(:update_time)
781
+ @upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status)
649
782
  @version = args[:version] if args.key?(:version)
650
783
  end
651
784
  end
@@ -726,7 +859,7 @@ module Google
726
859
  # @return [String]
727
860
  attr_accessor :display_name
728
861
 
729
- # The Group name.
862
+ # Output only. The Group name.
730
863
  # Corresponds to the JSON property `name`
731
864
  # @return [String]
732
865
  attr_accessor :name
@@ -750,6 +883,19 @@ module Google
750
883
  end
751
884
  end
752
885
 
886
+ # InitializingReplicationStep contains specific step details.
887
+ class InitializingReplicationStep
888
+ include Google::Apis::Core::Hashable
889
+
890
+ def initialize(**args)
891
+ update!(**args)
892
+ end
893
+
894
+ # Update properties of this object
895
+ def update!(**args)
896
+ end
897
+ end
898
+
753
899
  # Describes a URL link.
754
900
  class Link
755
901
  include Google::Apis::Core::Hashable
@@ -1522,6 +1668,19 @@ module Google
1522
1668
  end
1523
1669
  end
1524
1670
 
1671
+ # PostProcessingStep contains specific step details.
1672
+ class PostProcessingStep
1673
+ include Google::Apis::Core::Hashable
1674
+
1675
+ def initialize(**args)
1676
+ update!(**args)
1677
+ end
1678
+
1679
+ # Update properties of this object
1680
+ def update!(**args)
1681
+ end
1682
+ end
1683
+
1525
1684
  # Request message for 'RemoveMigration' request.
1526
1685
  class RemoveGroupMigrationRequest
1527
1686
  include Google::Apis::Core::Hashable
@@ -1541,6 +1700,43 @@ module Google
1541
1700
  end
1542
1701
  end
1543
1702
 
1703
+ # ReplicatingStep contains specific step details.
1704
+ class ReplicatingStep
1705
+ include Google::Apis::Core::Hashable
1706
+
1707
+ # The source disks replication rate for the last 30 minutes in bytes per second.
1708
+ # Corresponds to the JSON property `lastThirtyMinutesAverageBytesPerSecond`
1709
+ # @return [Fixnum]
1710
+ attr_accessor :last_thirty_minutes_average_bytes_per_second
1711
+
1712
+ # The source disks replication rate for the last 2 minutes in bytes per second.
1713
+ # Corresponds to the JSON property `lastTwoMinutesAverageBytesPerSecond`
1714
+ # @return [Fixnum]
1715
+ attr_accessor :last_two_minutes_average_bytes_per_second
1716
+
1717
+ # Replicated bytes in the step.
1718
+ # Corresponds to the JSON property `replicatedBytes`
1719
+ # @return [Fixnum]
1720
+ attr_accessor :replicated_bytes
1721
+
1722
+ # Total bytes to be handled in the step.
1723
+ # Corresponds to the JSON property `totalBytes`
1724
+ # @return [Fixnum]
1725
+ attr_accessor :total_bytes
1726
+
1727
+ def initialize(**args)
1728
+ update!(**args)
1729
+ end
1730
+
1731
+ # Update properties of this object
1732
+ def update!(**args)
1733
+ @last_thirty_minutes_average_bytes_per_second = args[:last_thirty_minutes_average_bytes_per_second] if args.key?(:last_thirty_minutes_average_bytes_per_second)
1734
+ @last_two_minutes_average_bytes_per_second = args[:last_two_minutes_average_bytes_per_second] if args.key?(:last_two_minutes_average_bytes_per_second)
1735
+ @replicated_bytes = args[:replicated_bytes] if args.key?(:replicated_bytes)
1736
+ @total_bytes = args[:total_bytes] if args.key?(:total_bytes)
1737
+ end
1738
+ end
1739
+
1544
1740
  # ReplicationCycle contains information about the current replication cycle
1545
1741
  # status.
1546
1742
  class ReplicationCycle
@@ -1561,6 +1757,16 @@ module Google
1561
1757
  # @return [String]
1562
1758
  attr_accessor :start_time
1563
1759
 
1760
+ # The cycle's steps list reflecting its progress.
1761
+ # Corresponds to the JSON property `steps`
1762
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::CycleStep>]
1763
+ attr_accessor :steps
1764
+
1765
+ # The accumulated duration the replication cycle was paused.
1766
+ # Corresponds to the JSON property `totalPauseDuration`
1767
+ # @return [String]
1768
+ attr_accessor :total_pause_duration
1769
+
1564
1770
  def initialize(**args)
1565
1771
  update!(**args)
1566
1772
  end
@@ -1570,6 +1776,8 @@ module Google
1570
1776
  @progress = args[:progress] if args.key?(:progress)
1571
1777
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
1572
1778
  @start_time = args[:start_time] if args.key?(:start_time)
1779
+ @steps = args[:steps] if args.key?(:steps)
1780
+ @total_pause_duration = args[:total_pause_duration] if args.key?(:total_pause_duration)
1573
1781
  end
1574
1782
  end
1575
1783
 
@@ -1796,7 +2004,7 @@ module Google
1796
2004
  # @return [String]
1797
2005
  attr_accessor :description
1798
2006
 
1799
- # The name of the target project.
2007
+ # Output only. The name of the target project.
1800
2008
  # Corresponds to the JSON property `name`
1801
2009
  # @return [String]
1802
2010
  attr_accessor :name
@@ -1970,6 +2178,82 @@ module Google
1970
2178
  end
1971
2179
  end
1972
2180
 
2181
+ # Request message for 'UpgradeAppliance' request.
2182
+ class UpgradeApplianceRequest
2183
+ include Google::Apis::Core::Hashable
2184
+
2185
+ # A request ID to identify requests. Specify a unique request ID so that if you
2186
+ # must retry your request, the server will know to ignore the request if it has
2187
+ # already been completed. The server will guarantee that for at least 60 minutes
2188
+ # after the first request. For example, consider a situation where you make an
2189
+ # initial request and t he request times out. If you make the request again with
2190
+ # the same request ID, the server can check if original operation with the same
2191
+ # request ID was received, and if so, will ignore the second request. This
2192
+ # prevents clients from accidentally creating duplicate commitments. The request
2193
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
2194
+ # 00000000-0000-0000-0000-000000000000).
2195
+ # Corresponds to the JSON property `requestId`
2196
+ # @return [String]
2197
+ attr_accessor :request_id
2198
+
2199
+ def initialize(**args)
2200
+ update!(**args)
2201
+ end
2202
+
2203
+ # Update properties of this object
2204
+ def update!(**args)
2205
+ @request_id = args[:request_id] if args.key?(:request_id)
2206
+ end
2207
+ end
2208
+
2209
+ # UpgradeStatus contains information about upgradeAppliance operation.
2210
+ class UpgradeStatus
2211
+ include Google::Apis::Core::Hashable
2212
+
2213
+ # The `Status` type defines a logical error model that is suitable for different
2214
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2215
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2216
+ # data: error code, error message, and error details. You can find out more
2217
+ # about this error model and how to work with it in the [API Design Guide](https:
2218
+ # //cloud.google.com/apis/design/errors).
2219
+ # Corresponds to the JSON property `error`
2220
+ # @return [Google::Apis::VmmigrationV1alpha1::Status]
2221
+ attr_accessor :error
2222
+
2223
+ # The version from which we upgraded.
2224
+ # Corresponds to the JSON property `previousVersion`
2225
+ # @return [String]
2226
+ attr_accessor :previous_version
2227
+
2228
+ # The time the operation was started.
2229
+ # Corresponds to the JSON property `startTime`
2230
+ # @return [String]
2231
+ attr_accessor :start_time
2232
+
2233
+ # The state of the upgradeAppliance operation.
2234
+ # Corresponds to the JSON property `state`
2235
+ # @return [String]
2236
+ attr_accessor :state
2237
+
2238
+ # The version to upgrade to.
2239
+ # Corresponds to the JSON property `version`
2240
+ # @return [String]
2241
+ attr_accessor :version
2242
+
2243
+ def initialize(**args)
2244
+ update!(**args)
2245
+ end
2246
+
2247
+ # Update properties of this object
2248
+ def update!(**args)
2249
+ @error = args[:error] if args.key?(:error)
2250
+ @previous_version = args[:previous_version] if args.key?(:previous_version)
2251
+ @start_time = args[:start_time] if args.key?(:start_time)
2252
+ @state = args[:state] if args.key?(:state)
2253
+ @version = args[:version] if args.key?(:version)
2254
+ end
2255
+ end
2256
+
1973
2257
  # Utilization report details the utilization (CPU, memory, etc.) of selected
1974
2258
  # source VMs.
1975
2259
  class UtilizationReport
@@ -2288,8 +2572,9 @@ module Google
2288
2572
  # @return [String]
2289
2573
  attr_accessor :display_name
2290
2574
 
2291
- # The VM's OS. See for example https://pubs.vmware.com/vi-sdk/visdk250/
2292
- # ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
2575
+ # The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-
2576
+ # public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-
2577
+ # 746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
2293
2578
  # strings this might hold.
2294
2579
  # Corresponds to the JSON property `guestDescription`
2295
2580
  # @return [String]
@@ -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.4.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211207"
25
+ REVISION = "20220306"
26
26
  end
27
27
  end
28
28
  end
@@ -28,12 +28,24 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class ApplianceVersion
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AppliedLicense
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
34
40
  include Google::Apis::Core::JsonObjectSupport
35
41
  end
36
42
 
43
+ class AvailableUpdates
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class CancelCloneJobRequest
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
@@ -82,6 +94,12 @@ module Google
82
94
  include Google::Apis::Core::JsonObjectSupport
83
95
  end
84
96
 
97
+ class CycleStep
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
85
103
  class DatacenterConnector
86
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
105
 
@@ -112,6 +130,12 @@ module Google
112
130
  include Google::Apis::Core::JsonObjectSupport
113
131
  end
114
132
 
133
+ class InitializingReplicationStep
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
115
139
  class Link
116
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
141
 
@@ -226,12 +250,24 @@ module Google
226
250
  include Google::Apis::Core::JsonObjectSupport
227
251
  end
228
252
 
253
+ class PostProcessingStep
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
229
259
  class RemoveGroupMigrationRequest
230
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
261
 
232
262
  include Google::Apis::Core::JsonObjectSupport
233
263
  end
234
264
 
265
+ class ReplicatingStep
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
235
271
  class ReplicationCycle
236
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
273
 
@@ -292,6 +328,18 @@ module Google
292
328
  include Google::Apis::Core::JsonObjectSupport
293
329
  end
294
330
 
331
+ class UpgradeApplianceRequest
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class UpgradeStatus
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
295
343
  class UtilizationReport
296
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
345
 
@@ -335,6 +383,16 @@ module Google
335
383
  end
336
384
  end
337
385
 
386
+ class ApplianceVersion
387
+ # @private
388
+ class Representation < Google::Apis::Core::JsonRepresentation
389
+ property :critical, as: 'critical'
390
+ property :release_notes_uri, as: 'releaseNotesUri'
391
+ property :uri, as: 'uri'
392
+ property :version, as: 'version'
393
+ end
394
+ end
395
+
338
396
  class AppliedLicense
339
397
  # @private
340
398
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -343,6 +401,16 @@ module Google
343
401
  end
344
402
  end
345
403
 
404
+ class AvailableUpdates
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :in_place_update, as: 'inPlaceUpdate', class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1alpha1::ApplianceVersion::Representation
408
+
409
+ property :new_deployable_appliance, as: 'newDeployableAppliance', class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1alpha1::ApplianceVersion::Representation
410
+
411
+ end
412
+ end
413
+
346
414
  class CancelCloneJobRequest
347
415
  # @private
348
416
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -464,9 +532,27 @@ module Google
464
532
  end
465
533
  end
466
534
 
535
+ class CycleStep
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ property :end_time, as: 'endTime'
539
+ property :initializing_replication, as: 'initializingReplication', class: Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep, decorator: Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep::Representation
540
+
541
+ property :post_processing, as: 'postProcessing', class: Google::Apis::VmmigrationV1alpha1::PostProcessingStep, decorator: Google::Apis::VmmigrationV1alpha1::PostProcessingStep::Representation
542
+
543
+ property :replicating, as: 'replicating', class: Google::Apis::VmmigrationV1alpha1::ReplicatingStep, decorator: Google::Apis::VmmigrationV1alpha1::ReplicatingStep::Representation
544
+
545
+ property :start_time, as: 'startTime'
546
+ end
547
+ end
548
+
467
549
  class DatacenterConnector
468
550
  # @private
469
551
  class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :appliance_infrastructure_version, as: 'applianceInfrastructureVersion'
553
+ property :appliance_software_version, as: 'applianceSoftwareVersion'
554
+ property :available_versions, as: 'availableVersions', class: Google::Apis::VmmigrationV1alpha1::AvailableUpdates, decorator: Google::Apis::VmmigrationV1alpha1::AvailableUpdates::Representation
555
+
470
556
  property :bucket, as: 'bucket'
471
557
  property :create_time, as: 'createTime'
472
558
  property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
@@ -477,6 +563,8 @@ module Google
477
563
  property :state, as: 'state'
478
564
  property :state_time, as: 'stateTime'
479
565
  property :update_time, as: 'updateTime'
566
+ property :upgrade_status, as: 'upgradeStatus', class: Google::Apis::VmmigrationV1alpha1::UpgradeStatus, decorator: Google::Apis::VmmigrationV1alpha1::UpgradeStatus::Representation
567
+
480
568
  property :version, as: 'version'
481
569
  end
482
570
  end
@@ -513,6 +601,12 @@ module Google
513
601
  end
514
602
  end
515
603
 
604
+ class InitializingReplicationStep
605
+ # @private
606
+ class Representation < Google::Apis::Core::JsonRepresentation
607
+ end
608
+ end
609
+
516
610
  class Link
517
611
  # @private
518
612
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -727,6 +821,12 @@ module Google
727
821
  end
728
822
  end
729
823
 
824
+ class PostProcessingStep
825
+ # @private
826
+ class Representation < Google::Apis::Core::JsonRepresentation
827
+ end
828
+ end
829
+
730
830
  class RemoveGroupMigrationRequest
731
831
  # @private
732
832
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -734,12 +834,25 @@ module Google
734
834
  end
735
835
  end
736
836
 
837
+ class ReplicatingStep
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ property :last_thirty_minutes_average_bytes_per_second, :numeric_string => true, as: 'lastThirtyMinutesAverageBytesPerSecond'
841
+ property :last_two_minutes_average_bytes_per_second, :numeric_string => true, as: 'lastTwoMinutesAverageBytesPerSecond'
842
+ property :replicated_bytes, :numeric_string => true, as: 'replicatedBytes'
843
+ property :total_bytes, :numeric_string => true, as: 'totalBytes'
844
+ end
845
+ end
846
+
737
847
  class ReplicationCycle
738
848
  # @private
739
849
  class Representation < Google::Apis::Core::JsonRepresentation
740
850
  property :progress, as: 'progress'
741
851
  property :progress_percent, as: 'progressPercent'
742
852
  property :start_time, as: 'startTime'
853
+ collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CycleStep, decorator: Google::Apis::VmmigrationV1alpha1::CycleStep::Representation
854
+
855
+ property :total_pause_duration, as: 'totalPauseDuration'
743
856
  end
744
857
  end
745
858
 
@@ -844,6 +957,25 @@ module Google
844
957
  end
845
958
  end
846
959
 
960
+ class UpgradeApplianceRequest
961
+ # @private
962
+ class Representation < Google::Apis::Core::JsonRepresentation
963
+ property :request_id, as: 'requestId'
964
+ end
965
+ end
966
+
967
+ class UpgradeStatus
968
+ # @private
969
+ class Representation < Google::Apis::Core::JsonRepresentation
970
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
971
+
972
+ property :previous_version, as: 'previousVersion'
973
+ property :start_time, as: 'startTime'
974
+ property :state, as: 'state'
975
+ property :version, as: 'version'
976
+ end
977
+ end
978
+
847
979
  class UtilizationReport
848
980
  # @private
849
981
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -323,7 +323,7 @@ module Google
323
323
 
324
324
  # Updates the parameters of a single Group.
325
325
  # @param [String] name
326
- # The Group name.
326
+ # Output only. The Group name.
327
327
  # @param [Google::Apis::VmmigrationV1alpha1::Group] group_object
328
328
  # @param [String] request_id
329
329
  # A request ID to identify requests. Specify a unique request ID so that if you
@@ -981,6 +981,40 @@ module Google
981
981
  execute_or_queue_command(command, &block)
982
982
  end
983
983
 
984
+ # Upgrades the appliance relate to this DatacenterConnector to the in-place
985
+ # updateable version.
986
+ # @param [String] datacenter_connector
987
+ # Required. The DatacenterConnector name.
988
+ # @param [Google::Apis::VmmigrationV1alpha1::UpgradeApplianceRequest] upgrade_appliance_request_object
989
+ # @param [String] fields
990
+ # Selector specifying which fields to include in a partial response.
991
+ # @param [String] quota_user
992
+ # Available to use for quota purposes for server-side applications. Can be any
993
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
994
+ # @param [Google::Apis::RequestOptions] options
995
+ # Request-specific options
996
+ #
997
+ # @yield [result, err] Result & error if block supplied
998
+ # @yieldparam result [Google::Apis::VmmigrationV1alpha1::Operation] parsed result object
999
+ # @yieldparam err [StandardError] error object if request failed
1000
+ #
1001
+ # @return [Google::Apis::VmmigrationV1alpha1::Operation]
1002
+ #
1003
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1004
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1005
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1006
+ def upgrade_datacenter_connector_appliance(datacenter_connector, upgrade_appliance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1007
+ command = make_simple_command(:post, 'v1alpha1/{+datacenterConnector}:upgradeAppliance', options)
1008
+ command.request_representation = Google::Apis::VmmigrationV1alpha1::UpgradeApplianceRequest::Representation
1009
+ command.request_object = upgrade_appliance_request_object
1010
+ command.response_representation = Google::Apis::VmmigrationV1alpha1::Operation::Representation
1011
+ command.response_class = Google::Apis::VmmigrationV1alpha1::Operation
1012
+ command.params['datacenterConnector'] = datacenter_connector unless datacenter_connector.nil?
1013
+ command.query['fields'] = fields unless fields.nil?
1014
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1015
+ execute_or_queue_command(command, &block)
1016
+ end
1017
+
984
1018
  # Creates a new MigratingVm in a given Source.
985
1019
  # @param [String] parent
986
1020
  # Required. The MigratingVm's parent.
@@ -1999,7 +2033,7 @@ module Google
1999
2033
  # Updates the parameters of a single TargetProject. NOTE: TargetProject is a
2000
2034
  # global resource; hence the only supported value for location is `global`.
2001
2035
  # @param [String] name
2002
- # The name of the target project.
2036
+ # Output only. The name of the target project.
2003
2037
  # @param [Google::Apis::VmmigrationV1alpha1::TargetProject] target_project_object
2004
2038
  # @param [String] request_id
2005
2039
  # A request ID to identify requests. Specify a unique request ID so that if you
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.0
4
+ version: 0.7.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-01-10 00:00:00.000000000 Z
11
+ date: 2022-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.7.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.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for VM Migration API V1alpha1