google-apis-vmmigration_v1 0.3.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: 36cd4440f4404dbd9e758e328f45fd2e7d6df06e9d66779c00c7fadf98262867
4
- data.tar.gz: b9cb97afdda3df1771ddfa3069089a36fcd169ae2e9e5edb695dc111e777037e
3
+ metadata.gz: e912f843874f8f27692e19fe6e12ca33b0f04b7f35cbef7c1392ae0b1d4c83a8
4
+ data.tar.gz: 1bc936874513f656f94661dab914ad65d9f5c484dda5ef559563d34c1a9a2ea0
5
5
  SHA512:
6
- metadata.gz: 44f872d724fba46909fecc8a90533ab1f84c7874a45465dd594d520d96cfe5dc5d1d08780d741d803c30d4e0573453a2336d4efd1a2875df5fecaeef33f233f8
7
- data.tar.gz: d5d2a15202a2d9ae8c247d169f04908be99ee9dc1397f62a99e87e6c13bae0a6ecb541cc236b9b62af4e2d9c23646c2d076b0624ffce03f38c1cdb0b451cfe57
6
+ metadata.gz: 0aa12df49818b1dc0f1db8c268908b3dd7550ee7b4bab5a0494820c614b2bfc67ef0ef8a5d6a910ec20c1b486184d1f8bee225f61bea89156ca207d70fe8197d
7
+ data.tar.gz: 7e6c013a15abc23fcd4b25ec4551cd035217e4e13ff21b44cb27ffe3a23d16081e4deb3a94b6cdec2b00d2aa73b0c60dbbafebb8dde84ac40ac79c18e5e401c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.7.0 (2022-02-10)
4
+
5
+ * Regenerated from discovery document revision 20220203
6
+
7
+ ### v0.6.0 (2022-02-01)
8
+
9
+ * Regenerated from discovery document revision 20220120
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.5.0 (2021-12-14)
13
+
14
+ * Regenerated from discovery document revision 20211207
15
+
16
+ ### v0.4.0 (2021-12-05)
17
+
18
+ * Regenerated from discovery document revision 20211130
19
+
3
20
  ### v0.3.0 (2021-10-29)
4
21
 
5
22
  * Regenerated from discovery document revision 20211021
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.
@@ -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::VmmigrationV1::ApplianceVersion]
114
+ attr_accessor :in_place_update
115
+
116
+ # Describes an appliance version.
117
+ # Corresponds to the JSON property `newDeployableAppliance`
118
+ # @return [Google::Apis::VmmigrationV1::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
@@ -139,7 +202,7 @@ module Google
139
202
  # @return [Google::Apis::VmmigrationV1::Status]
140
203
  attr_accessor :error
141
204
 
142
- # The name of the clone.
205
+ # Output only. The name of the clone.
143
206
  # Corresponds to the JSON property `name`
144
207
  # @return [String]
145
208
  attr_accessor :name
@@ -174,6 +237,11 @@ module Google
174
237
  class ComputeEngineTargetDefaults
175
238
  include Google::Apis::Core::Hashable
176
239
 
240
+ # Additional licenses to assign to the VM.
241
+ # Corresponds to the JSON property `additionalLicenses`
242
+ # @return [Array<String>]
243
+ attr_accessor :additional_licenses
244
+
177
245
  # AppliedLicense holds the license data returned by adaptation module report.
178
246
  # Corresponds to the JSON property `appliedLicense`
179
247
  # @return [Google::Apis::VmmigrationV1::AppliedLicense]
@@ -264,6 +332,7 @@ module Google
264
332
 
265
333
  # Update properties of this object
266
334
  def update!(**args)
335
+ @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
267
336
  @applied_license = args[:applied_license] if args.key?(:applied_license)
268
337
  @boot_option = args[:boot_option] if args.key?(:boot_option)
269
338
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
@@ -288,6 +357,11 @@ module Google
288
357
  class ComputeEngineTargetDetails
289
358
  include Google::Apis::Core::Hashable
290
359
 
360
+ # Additional licenses to assign to the VM.
361
+ # Corresponds to the JSON property `additionalLicenses`
362
+ # @return [Array<String>]
363
+ attr_accessor :additional_licenses
364
+
291
365
  # AppliedLicense holds the license data returned by adaptation module report.
292
366
  # Corresponds to the JSON property `appliedLicense`
293
367
  # @return [Google::Apis::VmmigrationV1::AppliedLicense]
@@ -377,6 +451,7 @@ module Google
377
451
 
378
452
  # Update properties of this object
379
453
  def update!(**args)
454
+ @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
380
455
  @applied_license = args[:applied_license] if args.key?(:applied_license)
381
456
  @boot_option = args[:boot_option] if args.key?(:boot_option)
382
457
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
@@ -517,6 +592,24 @@ module Google
517
592
  class DatacenterConnector
518
593
  include Google::Apis::Core::Hashable
519
594
 
595
+ # Output only. Appliance OVA version. This is the OVA which is manually
596
+ # installed by the user and contains the infrastructure for the automatically
597
+ # updatable components on the appliance.
598
+ # Corresponds to the JSON property `applianceInfrastructureVersion`
599
+ # @return [String]
600
+ attr_accessor :appliance_infrastructure_version
601
+
602
+ # Output only. Appliance last installed update bundle version. This is the
603
+ # version of the automatically updatable components on the appliance.
604
+ # Corresponds to the JSON property `applianceSoftwareVersion`
605
+ # @return [String]
606
+ attr_accessor :appliance_software_version
607
+
608
+ # Holds informatiom about the available versions for upgrade.
609
+ # Corresponds to the JSON property `availableVersions`
610
+ # @return [Google::Apis::VmmigrationV1::AvailableUpdates]
611
+ attr_accessor :available_versions
612
+
520
613
  # Output only. The communication channel between the datacenter connector and
521
614
  # GCP.
522
615
  # Corresponds to the JSON property `bucket`
@@ -572,6 +665,11 @@ module Google
572
665
  # @return [String]
573
666
  attr_accessor :update_time
574
667
 
668
+ # UpgradeStatus contains information about upgradeAppliance operation.
669
+ # Corresponds to the JSON property `upgradeStatus`
670
+ # @return [Google::Apis::VmmigrationV1::UpgradeStatus]
671
+ attr_accessor :upgrade_status
672
+
575
673
  # The version running in the DatacenterConnector. This is supplied by the OVA
576
674
  # connector during the registration process and can not be modified.
577
675
  # Corresponds to the JSON property `version`
@@ -584,6 +682,9 @@ module Google
584
682
 
585
683
  # Update properties of this object
586
684
  def update!(**args)
685
+ @appliance_infrastructure_version = args[:appliance_infrastructure_version] if args.key?(:appliance_infrastructure_version)
686
+ @appliance_software_version = args[:appliance_software_version] if args.key?(:appliance_software_version)
687
+ @available_versions = args[:available_versions] if args.key?(:available_versions)
587
688
  @bucket = args[:bucket] if args.key?(:bucket)
588
689
  @create_time = args[:create_time] if args.key?(:create_time)
589
690
  @error = args[:error] if args.key?(:error)
@@ -593,6 +694,7 @@ module Google
593
694
  @state = args[:state] if args.key?(:state)
594
695
  @state_time = args[:state_time] if args.key?(:state_time)
595
696
  @update_time = args[:update_time] if args.key?(:update_time)
697
+ @upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status)
596
698
  @version = args[:version] if args.key?(:version)
597
699
  end
598
700
  end
@@ -673,7 +775,7 @@ module Google
673
775
  # @return [String]
674
776
  attr_accessor :display_name
675
777
 
676
- # The Group name.
778
+ # Output only. The Group name.
677
779
  # Corresponds to the JSON property `name`
678
780
  # @return [String]
679
781
  attr_accessor :name
@@ -1171,6 +1273,22 @@ module Google
1171
1273
  # @return [Google::Apis::VmmigrationV1::SchedulePolicy]
1172
1274
  attr_accessor :policy
1173
1275
 
1276
+ # Output only. The recent clone jobs performed on the migrating VM. This field
1277
+ # holds the vm's last completed clone job and the vm's running clone job, if one
1278
+ # exists. Note: To have this field populated you need to explicitly request it
1279
+ # via the "view" parameter of the Get/List request.
1280
+ # Corresponds to the JSON property `recentCloneJobs`
1281
+ # @return [Array<Google::Apis::VmmigrationV1::CloneJob>]
1282
+ attr_accessor :recent_clone_jobs
1283
+
1284
+ # Output only. The recent cutover jobs performed on the migrating VM. This field
1285
+ # holds the vm's last completed cutover job and the vm's running cutover job, if
1286
+ # one exists. Note: To have this field populated you need to explicitly request
1287
+ # it via the "view" parameter of the Get/List request.
1288
+ # Corresponds to the JSON property `recentCutoverJobs`
1289
+ # @return [Array<Google::Apis::VmmigrationV1::CutoverJob>]
1290
+ attr_accessor :recent_cutover_jobs
1291
+
1174
1292
  # The unique ID of the VM in the source. The VM's name in vSphere can be changed,
1175
1293
  # so this is not the VM's name but rather its moRef id. This id is of the form
1176
1294
  # vm-.
@@ -1210,6 +1328,8 @@ module Google
1210
1328
  @last_sync = args[:last_sync] if args.key?(:last_sync)
1211
1329
  @name = args[:name] if args.key?(:name)
1212
1330
  @policy = args[:policy] if args.key?(:policy)
1331
+ @recent_clone_jobs = args[:recent_clone_jobs] if args.key?(:recent_clone_jobs)
1332
+ @recent_cutover_jobs = args[:recent_cutover_jobs] if args.key?(:recent_cutover_jobs)
1213
1333
  @source_vm_id = args[:source_vm_id] if args.key?(:source_vm_id)
1214
1334
  @state = args[:state] if args.key?(:state)
1215
1335
  @state_time = args[:state_time] if args.key?(:state_time)
@@ -1694,7 +1814,7 @@ module Google
1694
1814
  # @return [String]
1695
1815
  attr_accessor :description
1696
1816
 
1697
- # The name of the target project.
1817
+ # Output only. The name of the target project.
1698
1818
  # Corresponds to the JSON property `name`
1699
1819
  # @return [String]
1700
1820
  attr_accessor :name
@@ -1723,6 +1843,82 @@ module Google
1723
1843
  end
1724
1844
  end
1725
1845
 
1846
+ # Request message for 'UpgradeAppliance' request.
1847
+ class UpgradeApplianceRequest
1848
+ include Google::Apis::Core::Hashable
1849
+
1850
+ # A request ID to identify requests. Specify a unique request ID so that if you
1851
+ # must retry your request, the server will know to ignore the request if it has
1852
+ # already been completed. The server will guarantee that for at least 60 minutes
1853
+ # after the first request. For example, consider a situation where you make an
1854
+ # initial request and t he request times out. If you make the request again with
1855
+ # the same request ID, the server can check if original operation with the same
1856
+ # request ID was received, and if so, will ignore the second request. This
1857
+ # prevents clients from accidentally creating duplicate commitments. The request
1858
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
1859
+ # 00000000-0000-0000-0000-000000000000).
1860
+ # Corresponds to the JSON property `requestId`
1861
+ # @return [String]
1862
+ attr_accessor :request_id
1863
+
1864
+ def initialize(**args)
1865
+ update!(**args)
1866
+ end
1867
+
1868
+ # Update properties of this object
1869
+ def update!(**args)
1870
+ @request_id = args[:request_id] if args.key?(:request_id)
1871
+ end
1872
+ end
1873
+
1874
+ # UpgradeStatus contains information about upgradeAppliance operation.
1875
+ class UpgradeStatus
1876
+ include Google::Apis::Core::Hashable
1877
+
1878
+ # The `Status` type defines a logical error model that is suitable for different
1879
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1880
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1881
+ # data: error code, error message, and error details. You can find out more
1882
+ # about this error model and how to work with it in the [API Design Guide](https:
1883
+ # //cloud.google.com/apis/design/errors).
1884
+ # Corresponds to the JSON property `error`
1885
+ # @return [Google::Apis::VmmigrationV1::Status]
1886
+ attr_accessor :error
1887
+
1888
+ # The version from which we upgraded.
1889
+ # Corresponds to the JSON property `previousVersion`
1890
+ # @return [String]
1891
+ attr_accessor :previous_version
1892
+
1893
+ # The time the operation was started.
1894
+ # Corresponds to the JSON property `startTime`
1895
+ # @return [String]
1896
+ attr_accessor :start_time
1897
+
1898
+ # The state of the upgradeAppliance operation.
1899
+ # Corresponds to the JSON property `state`
1900
+ # @return [String]
1901
+ attr_accessor :state
1902
+
1903
+ # The version to upgrade to.
1904
+ # Corresponds to the JSON property `version`
1905
+ # @return [String]
1906
+ attr_accessor :version
1907
+
1908
+ def initialize(**args)
1909
+ update!(**args)
1910
+ end
1911
+
1912
+ # Update properties of this object
1913
+ def update!(**args)
1914
+ @error = args[:error] if args.key?(:error)
1915
+ @previous_version = args[:previous_version] if args.key?(:previous_version)
1916
+ @start_time = args[:start_time] if args.key?(:start_time)
1917
+ @state = args[:state] if args.key?(:state)
1918
+ @version = args[:version] if args.key?(:version)
1919
+ end
1920
+ end
1921
+
1726
1922
  # Utilization report details the utilization (CPU, memory, etc.) of selected
1727
1923
  # source VMs.
1728
1924
  class UtilizationReport
@@ -1980,8 +2176,9 @@ module Google
1980
2176
  # @return [String]
1981
2177
  attr_accessor :display_name
1982
2178
 
1983
- # The VM's OS. See for example https://pubs.vmware.com/vi-sdk/visdk250/
1984
- # ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
2179
+ # The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-
2180
+ # public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-
2181
+ # 746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
1985
2182
  # strings this might hold.
1986
2183
  # Corresponds to the JSON property `guestDescription`
1987
2184
  # @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.3.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 = "20211021"
25
+ REVISION = "20220203"
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
 
@@ -286,6 +298,18 @@ module Google
286
298
  include Google::Apis::Core::JsonObjectSupport
287
299
  end
288
300
 
301
+ class UpgradeApplianceRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class UpgradeStatus
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
289
313
  class UtilizationReport
290
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
315
 
@@ -329,6 +353,16 @@ module Google
329
353
  end
330
354
  end
331
355
 
356
+ class ApplianceVersion
357
+ # @private
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'
363
+ end
364
+ end
365
+
332
366
  class AppliedLicense
333
367
  # @private
334
368
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -337,6 +371,16 @@ module Google
337
371
  end
338
372
  end
339
373
 
374
+ class AvailableUpdates
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
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
380
+
381
+ end
382
+ end
383
+
340
384
  class CancelCloneJobRequest
341
385
  # @private
342
386
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -372,6 +416,7 @@ module Google
372
416
  class ComputeEngineTargetDefaults
373
417
  # @private
374
418
  class Representation < Google::Apis::Core::JsonRepresentation
419
+ collection :additional_licenses, as: 'additionalLicenses'
375
420
  property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
376
421
 
377
422
  property :boot_option, as: 'bootOption'
@@ -397,6 +442,7 @@ module Google
397
442
  class ComputeEngineTargetDetails
398
443
  # @private
399
444
  class Representation < Google::Apis::Core::JsonRepresentation
445
+ collection :additional_licenses, as: 'additionalLicenses'
400
446
  property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
401
447
 
402
448
  property :boot_option, as: 'bootOption'
@@ -449,6 +495,10 @@ module Google
449
495
  class DatacenterConnector
450
496
  # @private
451
497
  class Representation < Google::Apis::Core::JsonRepresentation
498
+ property :appliance_infrastructure_version, as: 'applianceInfrastructureVersion'
499
+ property :appliance_software_version, as: 'applianceSoftwareVersion'
500
+ property :available_versions, as: 'availableVersions', class: Google::Apis::VmmigrationV1::AvailableUpdates, decorator: Google::Apis::VmmigrationV1::AvailableUpdates::Representation
501
+
452
502
  property :bucket, as: 'bucket'
453
503
  property :create_time, as: 'createTime'
454
504
  property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
@@ -459,6 +509,8 @@ module Google
459
509
  property :state, as: 'state'
460
510
  property :state_time, as: 'stateTime'
461
511
  property :update_time, as: 'updateTime'
512
+ property :upgrade_status, as: 'upgradeStatus', class: Google::Apis::VmmigrationV1::UpgradeStatus, decorator: Google::Apis::VmmigrationV1::UpgradeStatus::Representation
513
+
462
514
  property :version, as: 'version'
463
515
  end
464
516
  end
@@ -639,6 +691,10 @@ module Google
639
691
  property :name, as: 'name'
640
692
  property :policy, as: 'policy', class: Google::Apis::VmmigrationV1::SchedulePolicy, decorator: Google::Apis::VmmigrationV1::SchedulePolicy::Representation
641
693
 
694
+ collection :recent_clone_jobs, as: 'recentCloneJobs', class: Google::Apis::VmmigrationV1::CloneJob, decorator: Google::Apis::VmmigrationV1::CloneJob::Representation
695
+
696
+ collection :recent_cutover_jobs, as: 'recentCutoverJobs', class: Google::Apis::VmmigrationV1::CutoverJob, decorator: Google::Apis::VmmigrationV1::CutoverJob::Representation
697
+
642
698
  property :source_vm_id, as: 'sourceVmId'
643
699
  property :state, as: 'state'
644
700
  property :state_time, as: 'stateTime'
@@ -785,6 +841,25 @@ module Google
785
841
  end
786
842
  end
787
843
 
844
+ class UpgradeApplianceRequest
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ property :request_id, as: 'requestId'
848
+ end
849
+ end
850
+
851
+ class UpgradeStatus
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
855
+
856
+ property :previous_version, as: 'previousVersion'
857
+ property :start_time, as: 'startTime'
858
+ property :state, as: 'state'
859
+ property :version, as: 'version'
860
+ end
861
+ end
862
+
788
863
  class UtilizationReport
789
864
  # @private
790
865
  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.
@@ -1096,6 +1130,8 @@ module Google
1096
1130
  # Gets details of a single MigratingVm.
1097
1131
  # @param [String] name
1098
1132
  # Required. The name of the MigratingVm.
1133
+ # @param [String] view
1134
+ # Optional. The level of details of the migrating VM.
1099
1135
  # @param [String] fields
1100
1136
  # Selector specifying which fields to include in a partial response.
1101
1137
  # @param [String] quota_user
@@ -1113,11 +1149,12 @@ module Google
1113
1149
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1114
1150
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1115
1151
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1116
- def get_project_location_source_migrating_vm(name, fields: nil, quota_user: nil, options: nil, &block)
1152
+ def get_project_location_source_migrating_vm(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1117
1153
  command = make_simple_command(:get, 'v1/{+name}', options)
1118
1154
  command.response_representation = Google::Apis::VmmigrationV1::MigratingVm::Representation
1119
1155
  command.response_class = Google::Apis::VmmigrationV1::MigratingVm
1120
1156
  command.params['name'] = name unless name.nil?
1157
+ command.query['view'] = view unless view.nil?
1121
1158
  command.query['fields'] = fields unless fields.nil?
1122
1159
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1123
1160
  execute_or_queue_command(command, &block)
@@ -1140,6 +1177,8 @@ module Google
1140
1177
  # Provide this to retrieve the subsequent page. When paginating, all other
1141
1178
  # parameters provided to `ListMigratingVms` must match the call that provided
1142
1179
  # the page token.
1180
+ # @param [String] view
1181
+ # Optional. The level of details of each migrating VM.
1143
1182
  # @param [String] fields
1144
1183
  # Selector specifying which fields to include in a partial response.
1145
1184
  # @param [String] quota_user
@@ -1157,7 +1196,7 @@ module Google
1157
1196
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1158
1197
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1159
1198
  # @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)
1199
+ 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
1200
  command = make_simple_command(:get, 'v1/{+parent}/migratingVms', options)
1162
1201
  command.response_representation = Google::Apis::VmmigrationV1::ListMigratingVmsResponse::Representation
1163
1202
  command.response_class = Google::Apis::VmmigrationV1::ListMigratingVmsResponse
@@ -1166,6 +1205,7 @@ module Google
1166
1205
  command.query['orderBy'] = order_by unless order_by.nil?
1167
1206
  command.query['pageSize'] = page_size unless page_size.nil?
1168
1207
  command.query['pageToken'] = page_token unless page_token.nil?
1208
+ command.query['view'] = view unless view.nil?
1169
1209
  command.query['fields'] = fields unless fields.nil?
1170
1210
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1171
1211
  execute_or_queue_command(command, &block)
@@ -1993,7 +2033,7 @@ module Google
1993
2033
  # Updates the parameters of a single TargetProject. NOTE: TargetProject is a
1994
2034
  # global resource; hence the only supported value for location is `global`.
1995
2035
  # @param [String] name
1996
- # The name of the target project.
2036
+ # Output only. The name of the target project.
1997
2037
  # @param [Google::Apis::VmmigrationV1::TargetProject] target_project_object
1998
2038
  # @param [String] request_id
1999
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.3.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: 2021-11-01 00:00:00.000000000 Z
11
+ date: 2022-02-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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.7.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.2.17
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