google-apis-vmmigration_v1 0.2.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/vmmigration_v1/classes.rb +30 -134
- data/lib/google/apis/vmmigration_v1/gem_version.rb +3 -3
- data/lib/google/apis/vmmigration_v1/representations.rb +6 -36
- data/lib/google/apis/vmmigration_v1/service.rb +8 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f077041c15e05d22580436f4fdf632a3ea65fd380bb723f277833f9e6473012
|
4
|
+
data.tar.gz: 28b30937ff3ccf001478c59fb6c263950902f934b0917838dd0ca29291243e72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 618115536fffd30fc1aff64eccbeb84e4174dabf867578d926e72eddf25d3c5bdfe8d64c70320babefe1713f2753fe44764b97a590f9f2e3c127e97f371597bc
|
7
|
+
data.tar.gz: b23996710da1ded08daefe419c61e804e5b31bac47ea9d33ab0d30049d870cd6f467a9425e4a7c0451d6c518bcc4cb44e127e0541525eaa61b203ba3078c559b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2022-02-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220120
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.5.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211207
|
11
|
+
|
12
|
+
### v0.4.0 (2021-12-05)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211130
|
15
|
+
|
16
|
+
### v0.3.0 (2021-10-29)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211021
|
19
|
+
|
3
20
|
### v0.2.0 (2021-10-21)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211014
|
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.
|
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.
|
@@ -123,12 +123,6 @@ module Google
|
|
123
123
|
# @return [Google::Apis::VmmigrationV1::ComputeEngineTargetDetails]
|
124
124
|
attr_accessor :compute_engine_target_details
|
125
125
|
|
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
126
|
# Output only. The time the clone job was created (as an API call, not when it
|
133
127
|
# was actually created in the target).
|
134
128
|
# Corresponds to the JSON property `createTime`
|
@@ -167,7 +161,6 @@ module Google
|
|
167
161
|
# Update properties of this object
|
168
162
|
def update!(**args)
|
169
163
|
@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
164
|
@create_time = args[:create_time] if args.key?(:create_time)
|
172
165
|
@error = args[:error] if args.key?(:error)
|
173
166
|
@name = args[:name] if args.key?(:name)
|
@@ -181,6 +174,11 @@ module Google
|
|
181
174
|
class ComputeEngineTargetDefaults
|
182
175
|
include Google::Apis::Core::Hashable
|
183
176
|
|
177
|
+
# Additional licenses to assign to the VM.
|
178
|
+
# Corresponds to the JSON property `additionalLicenses`
|
179
|
+
# @return [Array<String>]
|
180
|
+
attr_accessor :additional_licenses
|
181
|
+
|
184
182
|
# AppliedLicense holds the license data returned by adaptation module report.
|
185
183
|
# Corresponds to the JSON property `appliedLicense`
|
186
184
|
# @return [Google::Apis::VmmigrationV1::AppliedLicense]
|
@@ -271,6 +269,7 @@ module Google
|
|
271
269
|
|
272
270
|
# Update properties of this object
|
273
271
|
def update!(**args)
|
272
|
+
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
274
273
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
275
274
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
276
275
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
@@ -295,6 +294,11 @@ module Google
|
|
295
294
|
class ComputeEngineTargetDetails
|
296
295
|
include Google::Apis::Core::Hashable
|
297
296
|
|
297
|
+
# Additional licenses to assign to the VM.
|
298
|
+
# Corresponds to the JSON property `additionalLicenses`
|
299
|
+
# @return [Array<String>]
|
300
|
+
attr_accessor :additional_licenses
|
301
|
+
|
298
302
|
# AppliedLicense holds the license data returned by adaptation module report.
|
299
303
|
# Corresponds to the JSON property `appliedLicense`
|
300
304
|
# @return [Google::Apis::VmmigrationV1::AppliedLicense]
|
@@ -384,6 +388,7 @@ module Google
|
|
384
388
|
|
385
389
|
# Update properties of this object
|
386
390
|
def update!(**args)
|
391
|
+
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
387
392
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
388
393
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
389
394
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
@@ -459,12 +464,6 @@ module Google
|
|
459
464
|
# @return [Google::Apis::VmmigrationV1::ComputeEngineTargetDetails]
|
460
465
|
attr_accessor :compute_engine_target_details
|
461
466
|
|
462
|
-
# TargetVMDetails is a collection of details for creating a VM in a target
|
463
|
-
# Compute Engine project.
|
464
|
-
# Corresponds to the JSON property `computeEngineVmDetails`
|
465
|
-
# @return [Google::Apis::VmmigrationV1::TargetVmDetails]
|
466
|
-
attr_accessor :compute_engine_vm_details
|
467
|
-
|
468
467
|
# Output only. The time the cutover job was created (as an API call, not when it
|
469
468
|
# was actually created in the target).
|
470
469
|
# Corresponds to the JSON property `createTime`
|
@@ -514,7 +513,6 @@ module Google
|
|
514
513
|
# Update properties of this object
|
515
514
|
def update!(**args)
|
516
515
|
@compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
|
517
|
-
@compute_engine_vm_details = args[:compute_engine_vm_details] if args.key?(:compute_engine_vm_details)
|
518
516
|
@create_time = args[:create_time] if args.key?(:create_time)
|
519
517
|
@error = args[:error] if args.key?(:error)
|
520
518
|
@name = args[:name] if args.key?(:name)
|
@@ -1185,6 +1183,22 @@ module Google
|
|
1185
1183
|
# @return [Google::Apis::VmmigrationV1::SchedulePolicy]
|
1186
1184
|
attr_accessor :policy
|
1187
1185
|
|
1186
|
+
# Output only. The recent clone jobs performed on the migrating VM. This field
|
1187
|
+
# holds the vm's last completed clone job and the vm's running clone job, if one
|
1188
|
+
# exists. Note: To have this field populated you need to explicitly request it
|
1189
|
+
# via the "view" parameter of the Get/List request.
|
1190
|
+
# Corresponds to the JSON property `recentCloneJobs`
|
1191
|
+
# @return [Array<Google::Apis::VmmigrationV1::CloneJob>]
|
1192
|
+
attr_accessor :recent_clone_jobs
|
1193
|
+
|
1194
|
+
# Output only. The recent cutover jobs performed on the migrating VM. This field
|
1195
|
+
# holds the vm's last completed cutover job and the vm's running cutover job, if
|
1196
|
+
# one exists. Note: To have this field populated you need to explicitly request
|
1197
|
+
# it via the "view" parameter of the Get/List request.
|
1198
|
+
# Corresponds to the JSON property `recentCutoverJobs`
|
1199
|
+
# @return [Array<Google::Apis::VmmigrationV1::CutoverJob>]
|
1200
|
+
attr_accessor :recent_cutover_jobs
|
1201
|
+
|
1188
1202
|
# The unique ID of the VM in the source. The VM's name in vSphere can be changed,
|
1189
1203
|
# so this is not the VM's name but rather its moRef id. This id is of the form
|
1190
1204
|
# vm-.
|
@@ -1224,6 +1238,8 @@ module Google
|
|
1224
1238
|
@last_sync = args[:last_sync] if args.key?(:last_sync)
|
1225
1239
|
@name = args[:name] if args.key?(:name)
|
1226
1240
|
@policy = args[:policy] if args.key?(:policy)
|
1241
|
+
@recent_clone_jobs = args[:recent_clone_jobs] if args.key?(:recent_clone_jobs)
|
1242
|
+
@recent_cutover_jobs = args[:recent_cutover_jobs] if args.key?(:recent_cutover_jobs)
|
1227
1243
|
@source_vm_id = args[:source_vm_id] if args.key?(:source_vm_id)
|
1228
1244
|
@state = args[:state] if args.key?(:state)
|
1229
1245
|
@state_time = args[:state_time] if args.key?(:state_time)
|
@@ -1737,126 +1753,6 @@ module Google
|
|
1737
1753
|
end
|
1738
1754
|
end
|
1739
1755
|
|
1740
|
-
# TargetVMDetails is a collection of details for creating a VM in a target
|
1741
|
-
# Compute Engine project.
|
1742
|
-
class TargetVmDetails
|
1743
|
-
include Google::Apis::Core::Hashable
|
1744
|
-
|
1745
|
-
# AppliedLicense holds the license data returned by adaptation module report.
|
1746
|
-
# Corresponds to the JSON property `appliedLicense`
|
1747
|
-
# @return [Google::Apis::VmmigrationV1::AppliedLicense]
|
1748
|
-
attr_accessor :applied_license
|
1749
|
-
|
1750
|
-
# Output only. The VM Boot Option, as set in the source vm.
|
1751
|
-
# Corresponds to the JSON property `bootOption`
|
1752
|
-
# @return [String]
|
1753
|
-
attr_accessor :boot_option
|
1754
|
-
|
1755
|
-
# Scheduling information for VM on maintenance/restart behaviour and node
|
1756
|
-
# allocation in sole tenant nodes.
|
1757
|
-
# Corresponds to the JSON property `computeScheduling`
|
1758
|
-
# @return [Google::Apis::VmmigrationV1::ComputeScheduling]
|
1759
|
-
attr_accessor :compute_scheduling
|
1760
|
-
|
1761
|
-
# The disk type to use in the VM.
|
1762
|
-
# Corresponds to the JSON property `diskType`
|
1763
|
-
# @return [String]
|
1764
|
-
attr_accessor :disk_type
|
1765
|
-
|
1766
|
-
# A map of labels to associate with the VM.
|
1767
|
-
# Corresponds to the JSON property `labels`
|
1768
|
-
# @return [Hash<String,String>]
|
1769
|
-
attr_accessor :labels
|
1770
|
-
|
1771
|
-
# The license type to use in OS adaptation.
|
1772
|
-
# Corresponds to the JSON property `licenseType`
|
1773
|
-
# @return [String]
|
1774
|
-
attr_accessor :license_type
|
1775
|
-
|
1776
|
-
# The machine type to create the VM with.
|
1777
|
-
# Corresponds to the JSON property `machineType`
|
1778
|
-
# @return [String]
|
1779
|
-
attr_accessor :machine_type
|
1780
|
-
|
1781
|
-
# The machine type series to create the VM with.
|
1782
|
-
# Corresponds to the JSON property `machineTypeSeries`
|
1783
|
-
# @return [String]
|
1784
|
-
attr_accessor :machine_type_series
|
1785
|
-
|
1786
|
-
# The metadata key/value pairs to assign to the VM.
|
1787
|
-
# Corresponds to the JSON property `metadata`
|
1788
|
-
# @return [Hash<String,String>]
|
1789
|
-
attr_accessor :metadata
|
1790
|
-
|
1791
|
-
# The name of the VM to create.
|
1792
|
-
# Corresponds to the JSON property `name`
|
1793
|
-
# @return [String]
|
1794
|
-
attr_accessor :name
|
1795
|
-
|
1796
|
-
# List of NICs connected to this VM.
|
1797
|
-
# Corresponds to the JSON property `networkInterfaces`
|
1798
|
-
# @return [Array<Google::Apis::VmmigrationV1::NetworkInterface>]
|
1799
|
-
attr_accessor :network_interfaces
|
1800
|
-
|
1801
|
-
# A map of network tags to associate with the VM.
|
1802
|
-
# Corresponds to the JSON property `networkTags`
|
1803
|
-
# @return [Array<String>]
|
1804
|
-
attr_accessor :network_tags
|
1805
|
-
|
1806
|
-
# The project in which to create the VM.
|
1807
|
-
# Corresponds to the JSON property `project`
|
1808
|
-
# @return [String]
|
1809
|
-
attr_accessor :project
|
1810
|
-
|
1811
|
-
# Defines whether the instance has Secure Boot enabled. This can be set to true
|
1812
|
-
# only if the vm boot option is EFI.
|
1813
|
-
# Corresponds to the JSON property `secureBoot`
|
1814
|
-
# @return [Boolean]
|
1815
|
-
attr_accessor :secure_boot
|
1816
|
-
alias_method :secure_boot?, :secure_boot
|
1817
|
-
|
1818
|
-
# The service account to associate the VM with.
|
1819
|
-
# Corresponds to the JSON property `serviceAccount`
|
1820
|
-
# @return [String]
|
1821
|
-
attr_accessor :service_account
|
1822
|
-
|
1823
|
-
# The full path of the resource of type TargetProject which represents the
|
1824
|
-
# Compute Engine project in which to create this VM.
|
1825
|
-
# Corresponds to the JSON property `targetProject`
|
1826
|
-
# @return [String]
|
1827
|
-
attr_accessor :target_project
|
1828
|
-
|
1829
|
-
# The zone in which to create the VM.
|
1830
|
-
# Corresponds to the JSON property `zone`
|
1831
|
-
# @return [String]
|
1832
|
-
attr_accessor :zone
|
1833
|
-
|
1834
|
-
def initialize(**args)
|
1835
|
-
update!(**args)
|
1836
|
-
end
|
1837
|
-
|
1838
|
-
# Update properties of this object
|
1839
|
-
def update!(**args)
|
1840
|
-
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
1841
|
-
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
1842
|
-
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
1843
|
-
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1844
|
-
@labels = args[:labels] if args.key?(:labels)
|
1845
|
-
@license_type = args[:license_type] if args.key?(:license_type)
|
1846
|
-
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1847
|
-
@machine_type_series = args[:machine_type_series] if args.key?(:machine_type_series)
|
1848
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1849
|
-
@name = args[:name] if args.key?(:name)
|
1850
|
-
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
1851
|
-
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
1852
|
-
@project = args[:project] if args.key?(:project)
|
1853
|
-
@secure_boot = args[:secure_boot] if args.key?(:secure_boot)
|
1854
|
-
@service_account = args[:service_account] if args.key?(:service_account)
|
1855
|
-
@target_project = args[:target_project] if args.key?(:target_project)
|
1856
|
-
@zone = args[:zone] if args.key?(:zone)
|
1857
|
-
end
|
1858
|
-
end
|
1859
|
-
|
1860
1756
|
# Utilization report details the utilization (CPU, memory, etc.) of selected
|
1861
1757
|
# source VMs.
|
1862
1758
|
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.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220120"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -286,12 +286,6 @@ module Google
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
287
287
|
end
|
288
288
|
|
289
|
-
class TargetVmDetails
|
290
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
-
|
292
|
-
include Google::Apis::Core::JsonObjectSupport
|
293
|
-
end
|
294
|
-
|
295
289
|
class UtilizationReport
|
296
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
291
|
|
@@ -366,8 +360,6 @@ module Google
|
|
366
360
|
class Representation < Google::Apis::Core::JsonRepresentation
|
367
361
|
property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails::Representation
|
368
362
|
|
369
|
-
property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1::TargetVmDetails::Representation
|
370
|
-
|
371
363
|
property :create_time, as: 'createTime'
|
372
364
|
property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
|
373
365
|
|
@@ -380,6 +372,7 @@ module Google
|
|
380
372
|
class ComputeEngineTargetDefaults
|
381
373
|
# @private
|
382
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
375
|
+
collection :additional_licenses, as: 'additionalLicenses'
|
383
376
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
|
384
377
|
|
385
378
|
property :boot_option, as: 'bootOption'
|
@@ -405,6 +398,7 @@ module Google
|
|
405
398
|
class ComputeEngineTargetDetails
|
406
399
|
# @private
|
407
400
|
class Representation < Google::Apis::Core::JsonRepresentation
|
401
|
+
collection :additional_licenses, as: 'additionalLicenses'
|
408
402
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
|
409
403
|
|
410
404
|
property :boot_option, as: 'bootOption'
|
@@ -443,8 +437,6 @@ module Google
|
|
443
437
|
class Representation < Google::Apis::Core::JsonRepresentation
|
444
438
|
property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails::Representation
|
445
439
|
|
446
|
-
property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1::TargetVmDetails::Representation
|
447
|
-
|
448
440
|
property :create_time, as: 'createTime'
|
449
441
|
property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
|
450
442
|
|
@@ -649,6 +641,10 @@ module Google
|
|
649
641
|
property :name, as: 'name'
|
650
642
|
property :policy, as: 'policy', class: Google::Apis::VmmigrationV1::SchedulePolicy, decorator: Google::Apis::VmmigrationV1::SchedulePolicy::Representation
|
651
643
|
|
644
|
+
collection :recent_clone_jobs, as: 'recentCloneJobs', class: Google::Apis::VmmigrationV1::CloneJob, decorator: Google::Apis::VmmigrationV1::CloneJob::Representation
|
645
|
+
|
646
|
+
collection :recent_cutover_jobs, as: 'recentCutoverJobs', class: Google::Apis::VmmigrationV1::CutoverJob, decorator: Google::Apis::VmmigrationV1::CutoverJob::Representation
|
647
|
+
|
652
648
|
property :source_vm_id, as: 'sourceVmId'
|
653
649
|
property :state, as: 'state'
|
654
650
|
property :state_time, as: 'stateTime'
|
@@ -795,32 +791,6 @@ module Google
|
|
795
791
|
end
|
796
792
|
end
|
797
793
|
|
798
|
-
class TargetVmDetails
|
799
|
-
# @private
|
800
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
801
|
-
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
|
802
|
-
|
803
|
-
property :boot_option, as: 'bootOption'
|
804
|
-
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
|
805
|
-
|
806
|
-
property :disk_type, as: 'diskType'
|
807
|
-
hash :labels, as: 'labels'
|
808
|
-
property :license_type, as: 'licenseType'
|
809
|
-
property :machine_type, as: 'machineType'
|
810
|
-
property :machine_type_series, as: 'machineTypeSeries'
|
811
|
-
hash :metadata, as: 'metadata'
|
812
|
-
property :name, as: 'name'
|
813
|
-
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1::NetworkInterface, decorator: Google::Apis::VmmigrationV1::NetworkInterface::Representation
|
814
|
-
|
815
|
-
collection :network_tags, as: 'networkTags'
|
816
|
-
property :project, as: 'project'
|
817
|
-
property :secure_boot, as: 'secureBoot'
|
818
|
-
property :service_account, as: 'serviceAccount'
|
819
|
-
property :target_project, as: 'targetProject'
|
820
|
-
property :zone, as: 'zone'
|
821
|
-
end
|
822
|
-
end
|
823
|
-
|
824
794
|
class UtilizationReport
|
825
795
|
# @private
|
826
796
|
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.
|
4
|
+
version: 0.6.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:
|
11
|
+
date: 2022-02-07 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.6.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.
|
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
|