google-apis-vmmigration_v1 0.1.0 → 0.5.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: 02b88bdfc5bc651090b832649253f6f2025adca5d44283e836c8fbe5e38365cb
4
- data.tar.gz: d28da5b3c64cd63fa0082fb22a1c00912362024aea6b79f276dc18051e4644b9
3
+ metadata.gz: 6093eecfc0b52e25a660c0272f2d39f66d67ab8b47b4ca88df175a8b298fbcf6
4
+ data.tar.gz: '09ef6543415fff50e3e3a0b593b3e97b48e195a002f5bda74819327b82afb706'
5
5
  SHA512:
6
- metadata.gz: 33e245ed972defbaa44acbb9eadab313d8f13b9465ff8f71c1c8e1b4e4971fb12a3c2e080c5abdf3b691b5f467066b5dfcc98c0cff99499bfc0b49b0d1180bb4
7
- data.tar.gz: 6feac40192d705f8caffda9aae4f2b8d192be5c1af5ded8b62b1c3907dfef95682cfbc8de479e4eccd7ca5ab474f0d41cf628690071d55035aa9f64e661504f9
6
+ metadata.gz: 318b6ecd8fdfeeed7cfb8d0964d6abfd36a989f72db461677bc781c7780821dc7c3510a8cedf3feae9d31a672cdb7d00ab7e81d7dc8dc9da6fc56f333fe839d1
7
+ data.tar.gz: d058450a990ad0033b4c678192d7739b09392219a76d44e3380b83df912ed38c21b9b84c35b71cae10a8d57fd8c94f54c09e213d2a25c532b71661f9b0df42cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.5.0 (2021-12-14)
4
+
5
+ * Regenerated from discovery document revision 20211207
6
+
7
+ ### v0.4.0 (2021-12-05)
8
+
9
+ * Regenerated from discovery document revision 20211130
10
+
11
+ ### v0.3.0 (2021-10-29)
12
+
13
+ * Regenerated from discovery document revision 20211021
14
+
15
+ ### v0.2.0 (2021-10-21)
16
+
17
+ * Regenerated from discovery document revision 20211014
18
+
3
19
  ### v0.1.0 (2021-10-17)
4
20
 
5
21
  * Regenerated from discovery document revision 20211001
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/vmmigration_v1"
51
51
  client = Google::Apis::VmmigrationV1::VMMigrationServiceService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Vmmigration service in particular.)
67
67
 
@@ -41,6 +41,19 @@ module Google
41
41
  end
42
42
  end
43
43
 
44
+ # Response message for 'AddGroupMigration' request.
45
+ class AddGroupMigrationResponse
46
+ include Google::Apis::Core::Hashable
47
+
48
+ def initialize(**args)
49
+ update!(**args)
50
+ end
51
+
52
+ # Update properties of this object
53
+ def update!(**args)
54
+ end
55
+ end
56
+
44
57
  # AppliedLicense holds the license data returned by adaptation module report.
45
58
  class AppliedLicense
46
59
  include Google::Apis::Core::Hashable
@@ -79,6 +92,19 @@ module Google
79
92
  end
80
93
  end
81
94
 
95
+ # Response message for 'CancelCloneJob' request.
96
+ class CancelCloneJobResponse
97
+ include Google::Apis::Core::Hashable
98
+
99
+ def initialize(**args)
100
+ update!(**args)
101
+ end
102
+
103
+ # Update properties of this object
104
+ def update!(**args)
105
+ end
106
+ end
107
+
82
108
  # Request message for 'CancelCutoverJob' request.
83
109
  class CancelCutoverJobRequest
84
110
  include Google::Apis::Core::Hashable
@@ -92,6 +118,19 @@ module Google
92
118
  end
93
119
  end
94
120
 
121
+ # Response message for 'CancelCutoverJob' request.
122
+ class CancelCutoverJobResponse
123
+ include Google::Apis::Core::Hashable
124
+
125
+ def initialize(**args)
126
+ update!(**args)
127
+ end
128
+
129
+ # Update properties of this object
130
+ def update!(**args)
131
+ end
132
+ end
133
+
95
134
  # The request message for Operations.CancelOperation.
96
135
  class CancelOperationRequest
97
136
  include Google::Apis::Core::Hashable
@@ -123,12 +162,6 @@ module Google
123
162
  # @return [Google::Apis::VmmigrationV1::ComputeEngineTargetDetails]
124
163
  attr_accessor :compute_engine_target_details
125
164
 
126
- # TargetVMDetails is a collection of details for creating a VM in a target
127
- # Compute Engine project.
128
- # Corresponds to the JSON property `computeEngineVmDetails`
129
- # @return [Google::Apis::VmmigrationV1::TargetVmDetails]
130
- attr_accessor :compute_engine_vm_details
131
-
132
165
  # Output only. The time the clone job was created (as an API call, not when it
133
166
  # was actually created in the target).
134
167
  # Corresponds to the JSON property `createTime`
@@ -167,7 +200,6 @@ module Google
167
200
  # Update properties of this object
168
201
  def update!(**args)
169
202
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
170
- @compute_engine_vm_details = args[:compute_engine_vm_details] if args.key?(:compute_engine_vm_details)
171
203
  @create_time = args[:create_time] if args.key?(:create_time)
172
204
  @error = args[:error] if args.key?(:error)
173
205
  @name = args[:name] if args.key?(:name)
@@ -181,11 +213,21 @@ module Google
181
213
  class ComputeEngineTargetDefaults
182
214
  include Google::Apis::Core::Hashable
183
215
 
216
+ # Additional licenses to assign to the VM.
217
+ # Corresponds to the JSON property `additionalLicenses`
218
+ # @return [Array<String>]
219
+ attr_accessor :additional_licenses
220
+
184
221
  # AppliedLicense holds the license data returned by adaptation module report.
185
222
  # Corresponds to the JSON property `appliedLicense`
186
223
  # @return [Google::Apis::VmmigrationV1::AppliedLicense]
187
224
  attr_accessor :applied_license
188
225
 
226
+ # Output only. The VM Boot Option, as set in the source vm.
227
+ # Corresponds to the JSON property `bootOption`
228
+ # @return [String]
229
+ attr_accessor :boot_option
230
+
189
231
  # Scheduling information for VM on maintenance/restart behaviour and node
190
232
  # allocation in sole tenant nodes.
191
233
  # Corresponds to the JSON property `computeScheduling`
@@ -217,6 +259,11 @@ module Google
217
259
  # @return [String]
218
260
  attr_accessor :machine_type_series
219
261
 
262
+ # The metadata key/value pairs to assign to the VM.
263
+ # Corresponds to the JSON property `metadata`
264
+ # @return [Hash<String,String>]
265
+ attr_accessor :metadata
266
+
220
267
  # List of NICs connected to this VM.
221
268
  # Corresponds to the JSON property `networkInterfaces`
222
269
  # @return [Array<Google::Apis::VmmigrationV1::NetworkInterface>]
@@ -227,6 +274,13 @@ module Google
227
274
  # @return [Array<String>]
228
275
  attr_accessor :network_tags
229
276
 
277
+ # Defines whether the instance has Secure Boot enabled. This can be set to true
278
+ # only if the vm boot option is EFI.
279
+ # Corresponds to the JSON property `secureBoot`
280
+ # @return [Boolean]
281
+ attr_accessor :secure_boot
282
+ alias_method :secure_boot?, :secure_boot
283
+
230
284
  # The service account to associate the VM with.
231
285
  # Corresponds to the JSON property `serviceAccount`
232
286
  # @return [String]
@@ -254,15 +308,19 @@ module Google
254
308
 
255
309
  # Update properties of this object
256
310
  def update!(**args)
311
+ @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
257
312
  @applied_license = args[:applied_license] if args.key?(:applied_license)
313
+ @boot_option = args[:boot_option] if args.key?(:boot_option)
258
314
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
259
315
  @disk_type = args[:disk_type] if args.key?(:disk_type)
260
316
  @labels = args[:labels] if args.key?(:labels)
261
317
  @license_type = args[:license_type] if args.key?(:license_type)
262
318
  @machine_type = args[:machine_type] if args.key?(:machine_type)
263
319
  @machine_type_series = args[:machine_type_series] if args.key?(:machine_type_series)
320
+ @metadata = args[:metadata] if args.key?(:metadata)
264
321
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
265
322
  @network_tags = args[:network_tags] if args.key?(:network_tags)
323
+ @secure_boot = args[:secure_boot] if args.key?(:secure_boot)
266
324
  @service_account = args[:service_account] if args.key?(:service_account)
267
325
  @target_project = args[:target_project] if args.key?(:target_project)
268
326
  @vm_name = args[:vm_name] if args.key?(:vm_name)
@@ -275,6 +333,11 @@ module Google
275
333
  class ComputeEngineTargetDetails
276
334
  include Google::Apis::Core::Hashable
277
335
 
336
+ # Additional licenses to assign to the VM.
337
+ # Corresponds to the JSON property `additionalLicenses`
338
+ # @return [Array<String>]
339
+ attr_accessor :additional_licenses
340
+
278
341
  # AppliedLicense holds the license data returned by adaptation module report.
279
342
  # Corresponds to the JSON property `appliedLicense`
280
343
  # @return [Google::Apis::VmmigrationV1::AppliedLicense]
@@ -364,6 +427,7 @@ module Google
364
427
 
365
428
  # Update properties of this object
366
429
  def update!(**args)
430
+ @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
367
431
  @applied_license = args[:applied_license] if args.key?(:applied_license)
368
432
  @boot_option = args[:boot_option] if args.key?(:boot_option)
369
433
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
@@ -439,12 +503,6 @@ module Google
439
503
  # @return [Google::Apis::VmmigrationV1::ComputeEngineTargetDetails]
440
504
  attr_accessor :compute_engine_target_details
441
505
 
442
- # TargetVMDetails is a collection of details for creating a VM in a target
443
- # Compute Engine project.
444
- # Corresponds to the JSON property `computeEngineVmDetails`
445
- # @return [Google::Apis::VmmigrationV1::TargetVmDetails]
446
- attr_accessor :compute_engine_vm_details
447
-
448
506
  # Output only. The time the cutover job was created (as an API call, not when it
449
507
  # was actually created in the target).
450
508
  # Corresponds to the JSON property `createTime`
@@ -494,7 +552,6 @@ module Google
494
552
  # Update properties of this object
495
553
  def update!(**args)
496
554
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
497
- @compute_engine_vm_details = args[:compute_engine_vm_details] if args.key?(:compute_engine_vm_details)
498
555
  @create_time = args[:create_time] if args.key?(:create_time)
499
556
  @error = args[:error] if args.key?(:error)
500
557
  @name = args[:name] if args.key?(:name)
@@ -647,6 +704,19 @@ module Google
647
704
  end
648
705
  end
649
706
 
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
+
650
720
  # Describes message for 'Group' resource. The Group is a collections of several
651
721
  # MigratingVms.
652
722
  class Group
@@ -1165,6 +1235,22 @@ module Google
1165
1235
  # @return [Google::Apis::VmmigrationV1::SchedulePolicy]
1166
1236
  attr_accessor :policy
1167
1237
 
1238
+ # Output only. The recent clone jobs performed on the migrating VM. This field
1239
+ # holds the vm's last completed clone job and the vm's running clone job, if one
1240
+ # exists. Note: To have this field populated you need to explicitly request it
1241
+ # via the "view" parameter of the Get/List request.
1242
+ # Corresponds to the JSON property `recentCloneJobs`
1243
+ # @return [Array<Google::Apis::VmmigrationV1::CloneJob>]
1244
+ attr_accessor :recent_clone_jobs
1245
+
1246
+ # Output only. The recent cutover jobs performed on the migrating VM. This field
1247
+ # holds the vm's last completed cutover job and the vm's running cutover job, if
1248
+ # one exists. Note: To have this field populated you need to explicitly request
1249
+ # it via the "view" parameter of the Get/List request.
1250
+ # Corresponds to the JSON property `recentCutoverJobs`
1251
+ # @return [Array<Google::Apis::VmmigrationV1::CutoverJob>]
1252
+ attr_accessor :recent_cutover_jobs
1253
+
1168
1254
  # The unique ID of the VM in the source. The VM's name in vSphere can be changed,
1169
1255
  # so this is not the VM's name but rather its moRef id. This id is of the form
1170
1256
  # vm-.
@@ -1204,6 +1290,8 @@ module Google
1204
1290
  @last_sync = args[:last_sync] if args.key?(:last_sync)
1205
1291
  @name = args[:name] if args.key?(:name)
1206
1292
  @policy = args[:policy] if args.key?(:policy)
1293
+ @recent_clone_jobs = args[:recent_clone_jobs] if args.key?(:recent_clone_jobs)
1294
+ @recent_cutover_jobs = args[:recent_cutover_jobs] if args.key?(:recent_cutover_jobs)
1207
1295
  @source_vm_id = args[:source_vm_id] if args.key?(:source_vm_id)
1208
1296
  @state = args[:state] if args.key?(:state)
1209
1297
  @state_time = args[:state_time] if args.key?(:state_time)
@@ -1431,6 +1519,19 @@ module Google
1431
1519
  end
1432
1520
  end
1433
1521
 
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
+
1434
1535
  # Request message for 'RemoveMigration' request.
1435
1536
  class RemoveGroupMigrationRequest
1436
1537
  include Google::Apis::Core::Hashable
@@ -1450,6 +1551,19 @@ module Google
1450
1551
  end
1451
1552
  end
1452
1553
 
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
+
1453
1567
  # ReplicationCycle contains information about the current replication cycle
1454
1568
  # status.
1455
1569
  class ReplicationCycle
@@ -1508,6 +1622,19 @@ module Google
1508
1622
  end
1509
1623
  end
1510
1624
 
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
+
1511
1638
  # A policy for scheduling replications.
1512
1639
  class SchedulePolicy
1513
1640
  include Google::Apis::Core::Hashable
@@ -1633,6 +1760,19 @@ module Google
1633
1760
  end
1634
1761
  end
1635
1762
 
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
+
1636
1776
  # The `Status` type defines a logical error model that is suitable for different
1637
1777
  # programming environments, including REST APIs and RPC APIs. It is used by [
1638
1778
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -1717,126 +1857,6 @@ module Google
1717
1857
  end
1718
1858
  end
1719
1859
 
1720
- # TargetVMDetails is a collection of details for creating a VM in a target
1721
- # Compute Engine project.
1722
- class TargetVmDetails
1723
- include Google::Apis::Core::Hashable
1724
-
1725
- # AppliedLicense holds the license data returned by adaptation module report.
1726
- # Corresponds to the JSON property `appliedLicense`
1727
- # @return [Google::Apis::VmmigrationV1::AppliedLicense]
1728
- attr_accessor :applied_license
1729
-
1730
- # Output only. The VM Boot Option, as set in the source vm.
1731
- # Corresponds to the JSON property `bootOption`
1732
- # @return [String]
1733
- attr_accessor :boot_option
1734
-
1735
- # Scheduling information for VM on maintenance/restart behaviour and node
1736
- # allocation in sole tenant nodes.
1737
- # Corresponds to the JSON property `computeScheduling`
1738
- # @return [Google::Apis::VmmigrationV1::ComputeScheduling]
1739
- attr_accessor :compute_scheduling
1740
-
1741
- # The disk type to use in the VM.
1742
- # Corresponds to the JSON property `diskType`
1743
- # @return [String]
1744
- attr_accessor :disk_type
1745
-
1746
- # A map of labels to associate with the VM.
1747
- # Corresponds to the JSON property `labels`
1748
- # @return [Hash<String,String>]
1749
- attr_accessor :labels
1750
-
1751
- # The license type to use in OS adaptation.
1752
- # Corresponds to the JSON property `licenseType`
1753
- # @return [String]
1754
- attr_accessor :license_type
1755
-
1756
- # The machine type to create the VM with.
1757
- # Corresponds to the JSON property `machineType`
1758
- # @return [String]
1759
- attr_accessor :machine_type
1760
-
1761
- # The machine type series to create the VM with.
1762
- # Corresponds to the JSON property `machineTypeSeries`
1763
- # @return [String]
1764
- attr_accessor :machine_type_series
1765
-
1766
- # The metadata key/value pairs to assign to the VM.
1767
- # Corresponds to the JSON property `metadata`
1768
- # @return [Hash<String,String>]
1769
- attr_accessor :metadata
1770
-
1771
- # The name of the VM to create.
1772
- # Corresponds to the JSON property `name`
1773
- # @return [String]
1774
- attr_accessor :name
1775
-
1776
- # List of NICs connected to this VM.
1777
- # Corresponds to the JSON property `networkInterfaces`
1778
- # @return [Array<Google::Apis::VmmigrationV1::NetworkInterface>]
1779
- attr_accessor :network_interfaces
1780
-
1781
- # A map of network tags to associate with the VM.
1782
- # Corresponds to the JSON property `networkTags`
1783
- # @return [Array<String>]
1784
- attr_accessor :network_tags
1785
-
1786
- # The project in which to create the VM.
1787
- # Corresponds to the JSON property `project`
1788
- # @return [String]
1789
- attr_accessor :project
1790
-
1791
- # Defines whether the instance has Secure Boot enabled. This can be set to true
1792
- # only if the vm boot option is EFI.
1793
- # Corresponds to the JSON property `secureBoot`
1794
- # @return [Boolean]
1795
- attr_accessor :secure_boot
1796
- alias_method :secure_boot?, :secure_boot
1797
-
1798
- # The service account to associate the VM with.
1799
- # Corresponds to the JSON property `serviceAccount`
1800
- # @return [String]
1801
- attr_accessor :service_account
1802
-
1803
- # The full path of the resource of type TargetProject which represents the
1804
- # Compute Engine project in which to create this VM.
1805
- # Corresponds to the JSON property `targetProject`
1806
- # @return [String]
1807
- attr_accessor :target_project
1808
-
1809
- # The zone in which to create the VM.
1810
- # Corresponds to the JSON property `zone`
1811
- # @return [String]
1812
- attr_accessor :zone
1813
-
1814
- def initialize(**args)
1815
- update!(**args)
1816
- end
1817
-
1818
- # Update properties of this object
1819
- def update!(**args)
1820
- @applied_license = args[:applied_license] if args.key?(:applied_license)
1821
- @boot_option = args[:boot_option] if args.key?(:boot_option)
1822
- @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
1823
- @disk_type = args[:disk_type] if args.key?(:disk_type)
1824
- @labels = args[:labels] if args.key?(:labels)
1825
- @license_type = args[:license_type] if args.key?(:license_type)
1826
- @machine_type = args[:machine_type] if args.key?(:machine_type)
1827
- @machine_type_series = args[:machine_type_series] if args.key?(:machine_type_series)
1828
- @metadata = args[:metadata] if args.key?(:metadata)
1829
- @name = args[:name] if args.key?(:name)
1830
- @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
1831
- @network_tags = args[:network_tags] if args.key?(:network_tags)
1832
- @project = args[:project] if args.key?(:project)
1833
- @secure_boot = args[:secure_boot] if args.key?(:secure_boot)
1834
- @service_account = args[:service_account] if args.key?(:service_account)
1835
- @target_project = args[:target_project] if args.key?(:target_project)
1836
- @zone = args[:zone] if args.key?(:zone)
1837
- end
1838
- end
1839
-
1840
1860
  # Utilization report details the utilization (CPU, memory, etc.) of selected
1841
1861
  # source VMs.
1842
1862
  class UtilizationReport
@@ -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.1.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211001"
25
+ REVISION = "20211207"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AddGroupMigrationResponse
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
 
@@ -40,12 +46,24 @@ module Google
40
46
  include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
49
+ class CancelCloneJobResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class CancelCutoverJobRequest
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
46
58
  include Google::Apis::Core::JsonObjectSupport
47
59
  end
48
60
 
61
+ class CancelCutoverJobResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
49
67
  class CancelOperationRequest
50
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
69
 
@@ -106,6 +124,12 @@ module Google
106
124
  include Google::Apis::Core::JsonObjectSupport
107
125
  end
108
126
 
127
+ class FinalizeMigrationResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
109
133
  class Group
110
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
135
 
@@ -226,12 +250,24 @@ module Google
226
250
  include Google::Apis::Core::JsonObjectSupport
227
251
  end
228
252
 
253
+ class PauseMigrationResponse
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 RemoveGroupMigrationResponse
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
 
@@ -250,6 +286,12 @@ module Google
250
286
  include Google::Apis::Core::JsonObjectSupport
251
287
  end
252
288
 
289
+ class ResumeMigrationResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
253
295
  class SchedulePolicy
254
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
297
 
@@ -274,19 +316,19 @@ module Google
274
316
  include Google::Apis::Core::JsonObjectSupport
275
317
  end
276
318
 
277
- class Status
319
+ class StartMigrationResponse
278
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
321
 
280
322
  include Google::Apis::Core::JsonObjectSupport
281
323
  end
282
324
 
283
- class TargetProject
325
+ class Status
284
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
327
 
286
328
  include Google::Apis::Core::JsonObjectSupport
287
329
  end
288
330
 
289
- class TargetVmDetails
331
+ class TargetProject
290
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
333
 
292
334
  include Google::Apis::Core::JsonObjectSupport
@@ -335,6 +377,12 @@ module Google
335
377
  end
336
378
  end
337
379
 
380
+ class AddGroupMigrationResponse
381
+ # @private
382
+ class Representation < Google::Apis::Core::JsonRepresentation
383
+ end
384
+ end
385
+
338
386
  class AppliedLicense
339
387
  # @private
340
388
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -349,12 +397,24 @@ module Google
349
397
  end
350
398
  end
351
399
 
400
+ class CancelCloneJobResponse
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ end
404
+ end
405
+
352
406
  class CancelCutoverJobRequest
353
407
  # @private
354
408
  class Representation < Google::Apis::Core::JsonRepresentation
355
409
  end
356
410
  end
357
411
 
412
+ class CancelCutoverJobResponse
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ end
416
+ end
417
+
358
418
  class CancelOperationRequest
359
419
  # @private
360
420
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -366,8 +426,6 @@ module Google
366
426
  class Representation < Google::Apis::Core::JsonRepresentation
367
427
  property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails::Representation
368
428
 
369
- property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1::TargetVmDetails::Representation
370
-
371
429
  property :create_time, as: 'createTime'
372
430
  property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
373
431
 
@@ -380,8 +438,10 @@ module Google
380
438
  class ComputeEngineTargetDefaults
381
439
  # @private
382
440
  class Representation < Google::Apis::Core::JsonRepresentation
441
+ collection :additional_licenses, as: 'additionalLicenses'
383
442
  property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
384
443
 
444
+ property :boot_option, as: 'bootOption'
385
445
  property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
386
446
 
387
447
  property :disk_type, as: 'diskType'
@@ -389,9 +449,11 @@ module Google
389
449
  property :license_type, as: 'licenseType'
390
450
  property :machine_type, as: 'machineType'
391
451
  property :machine_type_series, as: 'machineTypeSeries'
452
+ hash :metadata, as: 'metadata'
392
453
  collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1::NetworkInterface, decorator: Google::Apis::VmmigrationV1::NetworkInterface::Representation
393
454
 
394
455
  collection :network_tags, as: 'networkTags'
456
+ property :secure_boot, as: 'secureBoot'
395
457
  property :service_account, as: 'serviceAccount'
396
458
  property :target_project, as: 'targetProject'
397
459
  property :vm_name, as: 'vmName'
@@ -402,6 +464,7 @@ module Google
402
464
  class ComputeEngineTargetDetails
403
465
  # @private
404
466
  class Representation < Google::Apis::Core::JsonRepresentation
467
+ collection :additional_licenses, as: 'additionalLicenses'
405
468
  property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
406
469
 
407
470
  property :boot_option, as: 'bootOption'
@@ -440,8 +503,6 @@ module Google
440
503
  class Representation < Google::Apis::Core::JsonRepresentation
441
504
  property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails::Representation
442
505
 
443
- property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1::TargetVmDetails::Representation
444
-
445
506
  property :create_time, as: 'createTime'
446
507
  property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
447
508
 
@@ -491,6 +552,12 @@ module Google
491
552
  end
492
553
  end
493
554
 
555
+ class FinalizeMigrationResponse
556
+ # @private
557
+ class Representation < Google::Apis::Core::JsonRepresentation
558
+ end
559
+ end
560
+
494
561
  class Group
495
562
  # @private
496
563
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -646,6 +713,10 @@ module Google
646
713
  property :name, as: 'name'
647
714
  property :policy, as: 'policy', class: Google::Apis::VmmigrationV1::SchedulePolicy, decorator: Google::Apis::VmmigrationV1::SchedulePolicy::Representation
648
715
 
716
+ collection :recent_clone_jobs, as: 'recentCloneJobs', class: Google::Apis::VmmigrationV1::CloneJob, decorator: Google::Apis::VmmigrationV1::CloneJob::Representation
717
+
718
+ collection :recent_cutover_jobs, as: 'recentCutoverJobs', class: Google::Apis::VmmigrationV1::CutoverJob, decorator: Google::Apis::VmmigrationV1::CutoverJob::Representation
719
+
649
720
  property :source_vm_id, as: 'sourceVmId'
650
721
  property :state, as: 'state'
651
722
  property :state_time, as: 'stateTime'
@@ -708,6 +779,12 @@ module Google
708
779
  end
709
780
  end
710
781
 
782
+ class PauseMigrationResponse
783
+ # @private
784
+ class Representation < Google::Apis::Core::JsonRepresentation
785
+ end
786
+ end
787
+
711
788
  class RemoveGroupMigrationRequest
712
789
  # @private
713
790
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -715,6 +792,12 @@ module Google
715
792
  end
716
793
  end
717
794
 
795
+ class RemoveGroupMigrationResponse
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ end
799
+ end
800
+
718
801
  class ReplicationCycle
719
802
  # @private
720
803
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -736,6 +819,12 @@ module Google
736
819
  end
737
820
  end
738
821
 
822
+ class ResumeMigrationResponse
823
+ # @private
824
+ class Representation < Google::Apis::Core::JsonRepresentation
825
+ end
826
+ end
827
+
739
828
  class SchedulePolicy
740
829
  # @private
741
830
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -772,6 +861,12 @@ module Google
772
861
  end
773
862
  end
774
863
 
864
+ class StartMigrationResponse
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ end
868
+ end
869
+
775
870
  class Status
776
871
  # @private
777
872
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -792,32 +887,6 @@ module Google
792
887
  end
793
888
  end
794
889
 
795
- class TargetVmDetails
796
- # @private
797
- class Representation < Google::Apis::Core::JsonRepresentation
798
- property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
799
-
800
- property :boot_option, as: 'bootOption'
801
- property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
802
-
803
- property :disk_type, as: 'diskType'
804
- hash :labels, as: 'labels'
805
- property :license_type, as: 'licenseType'
806
- property :machine_type, as: 'machineType'
807
- property :machine_type_series, as: 'machineTypeSeries'
808
- hash :metadata, as: 'metadata'
809
- property :name, as: 'name'
810
- collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1::NetworkInterface, decorator: Google::Apis::VmmigrationV1::NetworkInterface::Representation
811
-
812
- collection :network_tags, as: 'networkTags'
813
- property :project, as: 'project'
814
- property :secure_boot, as: 'secureBoot'
815
- property :service_account, as: 'serviceAccount'
816
- property :target_project, as: 'targetProject'
817
- property :zone, as: 'zone'
818
- end
819
- end
820
-
821
890
  class UtilizationReport
822
891
  # @private
823
892
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1096,6 +1096,8 @@ module Google
1096
1096
  # Gets details of a single MigratingVm.
1097
1097
  # @param [String] name
1098
1098
  # Required. The name of the MigratingVm.
1099
+ # @param [String] view
1100
+ # Optional. The level of details of the migrating VM.
1099
1101
  # @param [String] fields
1100
1102
  # Selector specifying which fields to include in a partial response.
1101
1103
  # @param [String] quota_user
@@ -1113,11 +1115,12 @@ module Google
1113
1115
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1114
1116
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1115
1117
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1116
- def get_project_location_source_migrating_vm(name, fields: nil, quota_user: nil, options: nil, &block)
1118
+ def get_project_location_source_migrating_vm(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1117
1119
  command = make_simple_command(:get, 'v1/{+name}', options)
1118
1120
  command.response_representation = Google::Apis::VmmigrationV1::MigratingVm::Representation
1119
1121
  command.response_class = Google::Apis::VmmigrationV1::MigratingVm
1120
1122
  command.params['name'] = name unless name.nil?
1123
+ command.query['view'] = view unless view.nil?
1121
1124
  command.query['fields'] = fields unless fields.nil?
1122
1125
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1123
1126
  execute_or_queue_command(command, &block)
@@ -1140,6 +1143,8 @@ module Google
1140
1143
  # Provide this to retrieve the subsequent page. When paginating, all other
1141
1144
  # parameters provided to `ListMigratingVms` must match the call that provided
1142
1145
  # the page token.
1146
+ # @param [String] view
1147
+ # Optional. The level of details of each migrating VM.
1143
1148
  # @param [String] fields
1144
1149
  # Selector specifying which fields to include in a partial response.
1145
1150
  # @param [String] quota_user
@@ -1157,7 +1162,7 @@ module Google
1157
1162
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1158
1163
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1159
1164
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1160
- def list_project_location_source_migrating_vms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1165
+ def list_project_location_source_migrating_vms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1161
1166
  command = make_simple_command(:get, 'v1/{+parent}/migratingVms', options)
1162
1167
  command.response_representation = Google::Apis::VmmigrationV1::ListMigratingVmsResponse::Representation
1163
1168
  command.response_class = Google::Apis::VmmigrationV1::ListMigratingVmsResponse
@@ -1166,6 +1171,7 @@ module Google
1166
1171
  command.query['orderBy'] = order_by unless order_by.nil?
1167
1172
  command.query['pageSize'] = page_size unless page_size.nil?
1168
1173
  command.query['pageToken'] = page_token unless page_token.nil?
1174
+ command.query['view'] = view unless view.nil?
1169
1175
  command.query['fields'] = fields unless fields.nil?
1170
1176
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1171
1177
  execute_or_queue_command(command, &block)
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.1.0
4
+ version: 0.5.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: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-vmmigration_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.1.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-vmmigration_v1
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
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: []
65
65
  require_paths:
@@ -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.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for VM Migration API V1