google-apis-vmmigration_v1 0.5.0 → 0.8.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: 6093eecfc0b52e25a660c0272f2d39f66d67ab8b47b4ca88df175a8b298fbcf6
4
- data.tar.gz: '09ef6543415fff50e3e3a0b593b3e97b48e195a002f5bda74819327b82afb706'
3
+ metadata.gz: 97d6824cfdecab684f8b4dd2c971115fb10b00b94199af0cdc906d70c8e7abbd
4
+ data.tar.gz: 3089e41822916a1ccccabffcfb95378768c5ff5a5fbc6cc9d842bbfebd237622
5
5
  SHA512:
6
- metadata.gz: 318b6ecd8fdfeeed7cfb8d0964d6abfd36a989f72db461677bc781c7780821dc7c3510a8cedf3feae9d31a672cdb7d00ab7e81d7dc8dc9da6fc56f333fe839d1
7
- data.tar.gz: d058450a990ad0033b4c678192d7739b09392219a76d44e3380b83df912ed38c21b9b84c35b71cae10a8d57fd8c94f54c09e213d2a25c532b71661f9b0df42cd
6
+ metadata.gz: cb875281b1fda4496a3f4c046591076ebc88d5b6222581b7b59409d58d5672e28d5100b6ae36a323aa48a8781ac2ff2dd669e4e052a46403c59523d791ac746c
7
+ data.tar.gz: cbc56b69c6160d8ddc8754c34ba5e85b9b46b536732745a77a9fa4e27b72db8187e3cbd9bdccbbf996077fb4400b89b76a0ec55aabe400cf4466c4596d6d0bf4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.8.0 (2022-04-02)
4
+
5
+ * Regenerated from discovery document revision 20220327
6
+
7
+ ### v0.7.0 (2022-02-10)
8
+
9
+ * Regenerated from discovery document revision 20220203
10
+
11
+ ### v0.6.0 (2022-02-01)
12
+
13
+ * Regenerated from discovery document revision 20220120
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.5.0 (2021-12-14)
4
17
 
5
18
  * Regenerated from discovery document revision 20211207
@@ -41,16 +41,41 @@ module Google
41
41
  end
42
42
  end
43
43
 
44
- # Response message for 'AddGroupMigration' request.
45
- class AddGroupMigrationResponse
44
+ # Describes an appliance version.
45
+ class ApplianceVersion
46
46
  include Google::Apis::Core::Hashable
47
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
+
48
69
  def initialize(**args)
49
70
  update!(**args)
50
71
  end
51
72
 
52
73
  # Update properties of this object
53
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)
54
79
  end
55
80
  end
56
81
 
@@ -79,22 +104,19 @@ module Google
79
104
  end
80
105
  end
81
106
 
82
- # Request message for 'CancelCloneJob' request.
83
- class CancelCloneJobRequest
107
+ # Holds informatiom about the available versions for upgrade.
108
+ class AvailableUpdates
84
109
  include Google::Apis::Core::Hashable
85
110
 
86
- def initialize(**args)
87
- update!(**args)
88
- end
89
-
90
- # Update properties of this object
91
- def update!(**args)
92
- end
93
- end
111
+ # Describes an appliance version.
112
+ # Corresponds to the JSON property `inPlaceUpdate`
113
+ # @return [Google::Apis::VmmigrationV1::ApplianceVersion]
114
+ attr_accessor :in_place_update
94
115
 
95
- # Response message for 'CancelCloneJob' request.
96
- class CancelCloneJobResponse
97
- include Google::Apis::Core::Hashable
116
+ # Describes an appliance version.
117
+ # Corresponds to the JSON property `newDeployableAppliance`
118
+ # @return [Google::Apis::VmmigrationV1::ApplianceVersion]
119
+ attr_accessor :new_deployable_appliance
98
120
 
99
121
  def initialize(**args)
100
122
  update!(**args)
@@ -102,11 +124,13 @@ module Google
102
124
 
103
125
  # Update properties of this object
104
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)
105
129
  end
106
130
  end
107
131
 
108
- # Request message for 'CancelCutoverJob' request.
109
- class CancelCutoverJobRequest
132
+ # Request message for 'CancelCloneJob' request.
133
+ class CancelCloneJobRequest
110
134
  include Google::Apis::Core::Hashable
111
135
 
112
136
  def initialize(**args)
@@ -118,8 +142,8 @@ module Google
118
142
  end
119
143
  end
120
144
 
121
- # Response message for 'CancelCutoverJob' request.
122
- class CancelCutoverJobResponse
145
+ # Request message for 'CancelCutoverJob' request.
146
+ class CancelCutoverJobRequest
123
147
  include Google::Apis::Core::Hashable
124
148
 
125
149
  def initialize(**args)
@@ -168,6 +192,11 @@ module Google
168
192
  # @return [String]
169
193
  attr_accessor :create_time
170
194
 
195
+ # Output only. The time the clone job was ended.
196
+ # Corresponds to the JSON property `endTime`
197
+ # @return [String]
198
+ attr_accessor :end_time
199
+
171
200
  # The `Status` type defines a logical error model that is suitable for different
172
201
  # programming environments, including REST APIs and RPC APIs. It is used by [
173
202
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -178,7 +207,7 @@ module Google
178
207
  # @return [Google::Apis::VmmigrationV1::Status]
179
208
  attr_accessor :error
180
209
 
181
- # The name of the clone.
210
+ # Output only. The name of the clone.
182
211
  # Corresponds to the JSON property `name`
183
212
  # @return [String]
184
213
  attr_accessor :name
@@ -201,6 +230,7 @@ module Google
201
230
  def update!(**args)
202
231
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
203
232
  @create_time = args[:create_time] if args.key?(:create_time)
233
+ @end_time = args[:end_time] if args.key?(:end_time)
204
234
  @error = args[:error] if args.key?(:error)
205
235
  @name = args[:name] if args.key?(:name)
206
236
  @state = args[:state] if args.key?(:state)
@@ -509,6 +539,11 @@ module Google
509
539
  # @return [String]
510
540
  attr_accessor :create_time
511
541
 
542
+ # Output only. The time the cutover job had finished.
543
+ # Corresponds to the JSON property `endTime`
544
+ # @return [String]
545
+ attr_accessor :end_time
546
+
512
547
  # The `Status` type defines a logical error model that is suitable for different
513
548
  # programming environments, including REST APIs and RPC APIs. It is used by [
514
549
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -553,6 +588,7 @@ module Google
553
588
  def update!(**args)
554
589
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
555
590
  @create_time = args[:create_time] if args.key?(:create_time)
591
+ @end_time = args[:end_time] if args.key?(:end_time)
556
592
  @error = args[:error] if args.key?(:error)
557
593
  @name = args[:name] if args.key?(:name)
558
594
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@@ -568,6 +604,24 @@ module Google
568
604
  class DatacenterConnector
569
605
  include Google::Apis::Core::Hashable
570
606
 
607
+ # Output only. Appliance OVA version. This is the OVA which is manually
608
+ # installed by the user and contains the infrastructure for the automatically
609
+ # updatable components on the appliance.
610
+ # Corresponds to the JSON property `applianceInfrastructureVersion`
611
+ # @return [String]
612
+ attr_accessor :appliance_infrastructure_version
613
+
614
+ # Output only. Appliance last installed update bundle version. This is the
615
+ # version of the automatically updatable components on the appliance.
616
+ # Corresponds to the JSON property `applianceSoftwareVersion`
617
+ # @return [String]
618
+ attr_accessor :appliance_software_version
619
+
620
+ # Holds informatiom about the available versions for upgrade.
621
+ # Corresponds to the JSON property `availableVersions`
622
+ # @return [Google::Apis::VmmigrationV1::AvailableUpdates]
623
+ attr_accessor :available_versions
624
+
571
625
  # Output only. The communication channel between the datacenter connector and
572
626
  # GCP.
573
627
  # Corresponds to the JSON property `bucket`
@@ -623,6 +677,11 @@ module Google
623
677
  # @return [String]
624
678
  attr_accessor :update_time
625
679
 
680
+ # UpgradeStatus contains information about upgradeAppliance operation.
681
+ # Corresponds to the JSON property `upgradeStatus`
682
+ # @return [Google::Apis::VmmigrationV1::UpgradeStatus]
683
+ attr_accessor :upgrade_status
684
+
626
685
  # The version running in the DatacenterConnector. This is supplied by the OVA
627
686
  # connector during the registration process and can not be modified.
628
687
  # Corresponds to the JSON property `version`
@@ -635,6 +694,9 @@ module Google
635
694
 
636
695
  # Update properties of this object
637
696
  def update!(**args)
697
+ @appliance_infrastructure_version = args[:appliance_infrastructure_version] if args.key?(:appliance_infrastructure_version)
698
+ @appliance_software_version = args[:appliance_software_version] if args.key?(:appliance_software_version)
699
+ @available_versions = args[:available_versions] if args.key?(:available_versions)
638
700
  @bucket = args[:bucket] if args.key?(:bucket)
639
701
  @create_time = args[:create_time] if args.key?(:create_time)
640
702
  @error = args[:error] if args.key?(:error)
@@ -644,6 +706,7 @@ module Google
644
706
  @state = args[:state] if args.key?(:state)
645
707
  @state_time = args[:state_time] if args.key?(:state_time)
646
708
  @update_time = args[:update_time] if args.key?(:update_time)
709
+ @upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status)
647
710
  @version = args[:version] if args.key?(:version)
648
711
  end
649
712
  end
@@ -651,8 +714,7 @@ module Google
651
714
  # A generic empty message that you can re-use to avoid defining duplicated empty
652
715
  # messages in your APIs. A typical example is to use it as the request or the
653
716
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
654
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
655
- # `Empty` is empty JSON object ````.
717
+ # protobuf.Empty) returns (google.protobuf.Empty); `
656
718
  class Empty
657
719
  include Google::Apis::Core::Hashable
658
720
 
@@ -704,19 +766,6 @@ module Google
704
766
  end
705
767
  end
706
768
 
707
- # Response message for 'FinalizeMigration' request.
708
- class FinalizeMigrationResponse
709
- include Google::Apis::Core::Hashable
710
-
711
- def initialize(**args)
712
- update!(**args)
713
- end
714
-
715
- # Update properties of this object
716
- def update!(**args)
717
- end
718
- end
719
-
720
769
  # Describes message for 'Group' resource. The Group is a collections of several
721
770
  # MigratingVms.
722
771
  class Group
@@ -737,7 +786,7 @@ module Google
737
786
  # @return [String]
738
787
  attr_accessor :display_name
739
788
 
740
- # The Group name.
789
+ # Output only. The Group name.
741
790
  # Corresponds to the JSON property `name`
742
791
  # @return [String]
743
792
  attr_accessor :name
@@ -1519,19 +1568,6 @@ module Google
1519
1568
  end
1520
1569
  end
1521
1570
 
1522
- # Response message for 'PauseMigration' request.
1523
- class PauseMigrationResponse
1524
- include Google::Apis::Core::Hashable
1525
-
1526
- def initialize(**args)
1527
- update!(**args)
1528
- end
1529
-
1530
- # Update properties of this object
1531
- def update!(**args)
1532
- end
1533
- end
1534
-
1535
1571
  # Request message for 'RemoveMigration' request.
1536
1572
  class RemoveGroupMigrationRequest
1537
1573
  include Google::Apis::Core::Hashable
@@ -1551,19 +1587,6 @@ module Google
1551
1587
  end
1552
1588
  end
1553
1589
 
1554
- # Response message for 'RemoveMigration' request.
1555
- class RemoveGroupMigrationResponse
1556
- include Google::Apis::Core::Hashable
1557
-
1558
- def initialize(**args)
1559
- update!(**args)
1560
- end
1561
-
1562
- # Update properties of this object
1563
- def update!(**args)
1564
- end
1565
- end
1566
-
1567
1590
  # ReplicationCycle contains information about the current replication cycle
1568
1591
  # status.
1569
1592
  class ReplicationCycle
@@ -1622,19 +1645,6 @@ module Google
1622
1645
  end
1623
1646
  end
1624
1647
 
1625
- # Response message for 'ResumeMigration' request.
1626
- class ResumeMigrationResponse
1627
- include Google::Apis::Core::Hashable
1628
-
1629
- def initialize(**args)
1630
- update!(**args)
1631
- end
1632
-
1633
- # Update properties of this object
1634
- def update!(**args)
1635
- end
1636
- end
1637
-
1638
1648
  # A policy for scheduling replications.
1639
1649
  class SchedulePolicy
1640
1650
  include Google::Apis::Core::Hashable
@@ -1760,19 +1770,6 @@ module Google
1760
1770
  end
1761
1771
  end
1762
1772
 
1763
- # Response message for 'StartMigration' request.
1764
- class StartMigrationResponse
1765
- include Google::Apis::Core::Hashable
1766
-
1767
- def initialize(**args)
1768
- update!(**args)
1769
- end
1770
-
1771
- # Update properties of this object
1772
- def update!(**args)
1773
- end
1774
- end
1775
-
1776
1773
  # The `Status` type defines a logical error model that is suitable for different
1777
1774
  # programming environments, including REST APIs and RPC APIs. It is used by [
1778
1775
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -1828,7 +1825,7 @@ module Google
1828
1825
  # @return [String]
1829
1826
  attr_accessor :description
1830
1827
 
1831
- # The name of the target project.
1828
+ # Output only. The name of the target project.
1832
1829
  # Corresponds to the JSON property `name`
1833
1830
  # @return [String]
1834
1831
  attr_accessor :name
@@ -1857,6 +1854,82 @@ module Google
1857
1854
  end
1858
1855
  end
1859
1856
 
1857
+ # Request message for 'UpgradeAppliance' request.
1858
+ class UpgradeApplianceRequest
1859
+ include Google::Apis::Core::Hashable
1860
+
1861
+ # A request ID to identify requests. Specify a unique request ID so that if you
1862
+ # must retry your request, the server will know to ignore the request if it has
1863
+ # already been completed. The server will guarantee that for at least 60 minutes
1864
+ # after the first request. For example, consider a situation where you make an
1865
+ # initial request and t he request times out. If you make the request again with
1866
+ # the same request ID, the server can check if original operation with the same
1867
+ # request ID was received, and if so, will ignore the second request. This
1868
+ # prevents clients from accidentally creating duplicate commitments. The request
1869
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
1870
+ # 00000000-0000-0000-0000-000000000000).
1871
+ # Corresponds to the JSON property `requestId`
1872
+ # @return [String]
1873
+ attr_accessor :request_id
1874
+
1875
+ def initialize(**args)
1876
+ update!(**args)
1877
+ end
1878
+
1879
+ # Update properties of this object
1880
+ def update!(**args)
1881
+ @request_id = args[:request_id] if args.key?(:request_id)
1882
+ end
1883
+ end
1884
+
1885
+ # UpgradeStatus contains information about upgradeAppliance operation.
1886
+ class UpgradeStatus
1887
+ include Google::Apis::Core::Hashable
1888
+
1889
+ # The `Status` type defines a logical error model that is suitable for different
1890
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1891
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1892
+ # data: error code, error message, and error details. You can find out more
1893
+ # about this error model and how to work with it in the [API Design Guide](https:
1894
+ # //cloud.google.com/apis/design/errors).
1895
+ # Corresponds to the JSON property `error`
1896
+ # @return [Google::Apis::VmmigrationV1::Status]
1897
+ attr_accessor :error
1898
+
1899
+ # The version from which we upgraded.
1900
+ # Corresponds to the JSON property `previousVersion`
1901
+ # @return [String]
1902
+ attr_accessor :previous_version
1903
+
1904
+ # The time the operation was started.
1905
+ # Corresponds to the JSON property `startTime`
1906
+ # @return [String]
1907
+ attr_accessor :start_time
1908
+
1909
+ # The state of the upgradeAppliance operation.
1910
+ # Corresponds to the JSON property `state`
1911
+ # @return [String]
1912
+ attr_accessor :state
1913
+
1914
+ # The version to upgrade to.
1915
+ # Corresponds to the JSON property `version`
1916
+ # @return [String]
1917
+ attr_accessor :version
1918
+
1919
+ def initialize(**args)
1920
+ update!(**args)
1921
+ end
1922
+
1923
+ # Update properties of this object
1924
+ def update!(**args)
1925
+ @error = args[:error] if args.key?(:error)
1926
+ @previous_version = args[:previous_version] if args.key?(:previous_version)
1927
+ @start_time = args[:start_time] if args.key?(:start_time)
1928
+ @state = args[:state] if args.key?(:state)
1929
+ @version = args[:version] if args.key?(:version)
1930
+ end
1931
+ end
1932
+
1860
1933
  # Utilization report details the utilization (CPU, memory, etc.) of selected
1861
1934
  # source VMs.
1862
1935
  class UtilizationReport
@@ -2114,8 +2187,9 @@ module Google
2114
2187
  # @return [String]
2115
2188
  attr_accessor :display_name
2116
2189
 
2117
- # The VM's OS. See for example https://pubs.vmware.com/vi-sdk/visdk250/
2118
- # ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
2190
+ # The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-
2191
+ # public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-
2192
+ # 746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
2119
2193
  # strings this might hold.
2120
2194
  # Corresponds to the JSON property `guestDescription`
2121
2195
  # @return [String]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VmmigrationV1
18
18
  # Version of the google-apis-vmmigration_v1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.8.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 = "20220327"
26
26
  end
27
27
  end
28
28
  end
@@ -28,7 +28,7 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class AddGroupMigrationResponse
31
+ class ApplianceVersion
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
@@ -40,13 +40,13 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class CancelCloneJobRequest
43
+ class AvailableUpdates
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class CancelCloneJobResponse
49
+ class CancelCloneJobRequest
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
@@ -58,12 +58,6 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class CancelCutoverJobResponse
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
61
  class CancelOperationRequest
68
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
63
 
@@ -124,12 +118,6 @@ module Google
124
118
  include Google::Apis::Core::JsonObjectSupport
125
119
  end
126
120
 
127
- class FinalizeMigrationResponse
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
121
  class Group
134
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
123
 
@@ -250,24 +238,12 @@ module Google
250
238
  include Google::Apis::Core::JsonObjectSupport
251
239
  end
252
240
 
253
- class PauseMigrationResponse
254
- class Representation < Google::Apis::Core::JsonRepresentation; end
255
-
256
- include Google::Apis::Core::JsonObjectSupport
257
- end
258
-
259
241
  class RemoveGroupMigrationRequest
260
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
243
 
262
244
  include Google::Apis::Core::JsonObjectSupport
263
245
  end
264
246
 
265
- class RemoveGroupMigrationResponse
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
247
  class ReplicationCycle
272
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
249
 
@@ -286,49 +262,49 @@ module Google
286
262
  include Google::Apis::Core::JsonObjectSupport
287
263
  end
288
264
 
289
- class ResumeMigrationResponse
265
+ class SchedulePolicy
290
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
267
 
292
268
  include Google::Apis::Core::JsonObjectSupport
293
269
  end
294
270
 
295
- class SchedulePolicy
271
+ class SchedulingNodeAffinity
296
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
273
 
298
274
  include Google::Apis::Core::JsonObjectSupport
299
275
  end
300
276
 
301
- class SchedulingNodeAffinity
277
+ class Source
302
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
279
 
304
280
  include Google::Apis::Core::JsonObjectSupport
305
281
  end
306
282
 
307
- class Source
283
+ class StartMigrationRequest
308
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
285
 
310
286
  include Google::Apis::Core::JsonObjectSupport
311
287
  end
312
288
 
313
- class StartMigrationRequest
289
+ class Status
314
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
291
 
316
292
  include Google::Apis::Core::JsonObjectSupport
317
293
  end
318
294
 
319
- class StartMigrationResponse
295
+ class TargetProject
320
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
297
 
322
298
  include Google::Apis::Core::JsonObjectSupport
323
299
  end
324
300
 
325
- class Status
301
+ class UpgradeApplianceRequest
326
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
303
 
328
304
  include Google::Apis::Core::JsonObjectSupport
329
305
  end
330
306
 
331
- class TargetProject
307
+ class UpgradeStatus
332
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
309
 
334
310
  include Google::Apis::Core::JsonObjectSupport
@@ -377,9 +353,13 @@ module Google
377
353
  end
378
354
  end
379
355
 
380
- class AddGroupMigrationResponse
356
+ class ApplianceVersion
381
357
  # @private
382
358
  class Representation < Google::Apis::Core::JsonRepresentation
359
+ property :critical, as: 'critical'
360
+ property :release_notes_uri, as: 'releaseNotesUri'
361
+ property :uri, as: 'uri'
362
+ property :version, as: 'version'
383
363
  end
384
364
  end
385
365
 
@@ -391,25 +371,23 @@ module Google
391
371
  end
392
372
  end
393
373
 
394
- class CancelCloneJobRequest
374
+ class AvailableUpdates
395
375
  # @private
396
376
  class Representation < Google::Apis::Core::JsonRepresentation
397
- end
398
- end
377
+ property :in_place_update, as: 'inPlaceUpdate', class: Google::Apis::VmmigrationV1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1::ApplianceVersion::Representation
378
+
379
+ property :new_deployable_appliance, as: 'newDeployableAppliance', class: Google::Apis::VmmigrationV1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1::ApplianceVersion::Representation
399
380
 
400
- class CancelCloneJobResponse
401
- # @private
402
- class Representation < Google::Apis::Core::JsonRepresentation
403
381
  end
404
382
  end
405
383
 
406
- class CancelCutoverJobRequest
384
+ class CancelCloneJobRequest
407
385
  # @private
408
386
  class Representation < Google::Apis::Core::JsonRepresentation
409
387
  end
410
388
  end
411
389
 
412
- class CancelCutoverJobResponse
390
+ class CancelCutoverJobRequest
413
391
  # @private
414
392
  class Representation < Google::Apis::Core::JsonRepresentation
415
393
  end
@@ -427,6 +405,7 @@ module Google
427
405
  property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails::Representation
428
406
 
429
407
  property :create_time, as: 'createTime'
408
+ property :end_time, as: 'endTime'
430
409
  property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
431
410
 
432
411
  property :name, as: 'name'
@@ -504,6 +483,7 @@ module Google
504
483
  property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails::Representation
505
484
 
506
485
  property :create_time, as: 'createTime'
486
+ property :end_time, as: 'endTime'
507
487
  property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
508
488
 
509
489
  property :name, as: 'name'
@@ -517,6 +497,10 @@ module Google
517
497
  class DatacenterConnector
518
498
  # @private
519
499
  class Representation < Google::Apis::Core::JsonRepresentation
500
+ property :appliance_infrastructure_version, as: 'applianceInfrastructureVersion'
501
+ property :appliance_software_version, as: 'applianceSoftwareVersion'
502
+ property :available_versions, as: 'availableVersions', class: Google::Apis::VmmigrationV1::AvailableUpdates, decorator: Google::Apis::VmmigrationV1::AvailableUpdates::Representation
503
+
520
504
  property :bucket, as: 'bucket'
521
505
  property :create_time, as: 'createTime'
522
506
  property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
@@ -527,6 +511,8 @@ module Google
527
511
  property :state, as: 'state'
528
512
  property :state_time, as: 'stateTime'
529
513
  property :update_time, as: 'updateTime'
514
+ property :upgrade_status, as: 'upgradeStatus', class: Google::Apis::VmmigrationV1::UpgradeStatus, decorator: Google::Apis::VmmigrationV1::UpgradeStatus::Representation
515
+
530
516
  property :version, as: 'version'
531
517
  end
532
518
  end
@@ -552,12 +538,6 @@ module Google
552
538
  end
553
539
  end
554
540
 
555
- class FinalizeMigrationResponse
556
- # @private
557
- class Representation < Google::Apis::Core::JsonRepresentation
558
- end
559
- end
560
-
561
541
  class Group
562
542
  # @private
563
543
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -779,12 +759,6 @@ module Google
779
759
  end
780
760
  end
781
761
 
782
- class PauseMigrationResponse
783
- # @private
784
- class Representation < Google::Apis::Core::JsonRepresentation
785
- end
786
- end
787
-
788
762
  class RemoveGroupMigrationRequest
789
763
  # @private
790
764
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -792,12 +766,6 @@ module Google
792
766
  end
793
767
  end
794
768
 
795
- class RemoveGroupMigrationResponse
796
- # @private
797
- class Representation < Google::Apis::Core::JsonRepresentation
798
- end
799
- end
800
-
801
769
  class ReplicationCycle
802
770
  # @private
803
771
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -819,12 +787,6 @@ module Google
819
787
  end
820
788
  end
821
789
 
822
- class ResumeMigrationResponse
823
- # @private
824
- class Representation < Google::Apis::Core::JsonRepresentation
825
- end
826
- end
827
-
828
790
  class SchedulePolicy
829
791
  # @private
830
792
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -861,12 +823,6 @@ module Google
861
823
  end
862
824
  end
863
825
 
864
- class StartMigrationResponse
865
- # @private
866
- class Representation < Google::Apis::Core::JsonRepresentation
867
- end
868
- end
869
-
870
826
  class Status
871
827
  # @private
872
828
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -887,6 +843,25 @@ module Google
887
843
  end
888
844
  end
889
845
 
846
+ class UpgradeApplianceRequest
847
+ # @private
848
+ class Representation < Google::Apis::Core::JsonRepresentation
849
+ property :request_id, as: 'requestId'
850
+ end
851
+ end
852
+
853
+ class UpgradeStatus
854
+ # @private
855
+ class Representation < Google::Apis::Core::JsonRepresentation
856
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
857
+
858
+ property :previous_version, as: 'previousVersion'
859
+ property :start_time, as: 'startTime'
860
+ property :state, as: 'state'
861
+ property :version, as: 'version'
862
+ end
863
+ end
864
+
890
865
  class UtilizationReport
891
866
  # @private
892
867
  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::VmmigrationV1::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::VmmigrationV1::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::VmmigrationV1::Operation] parsed result object
999
+ # @yieldparam err [StandardError] error object if request failed
1000
+ #
1001
+ # @return [Google::Apis::VmmigrationV1::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, 'v1/{+datacenterConnector}:upgradeAppliance', options)
1008
+ command.request_representation = Google::Apis::VmmigrationV1::UpgradeApplianceRequest::Representation
1009
+ command.request_object = upgrade_appliance_request_object
1010
+ command.response_representation = Google::Apis::VmmigrationV1::Operation::Representation
1011
+ command.response_class = Google::Apis::VmmigrationV1::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::VmmigrationV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.8.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-04-04 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1
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 V1