google-apis-vmmigration_v1alpha1 0.1.0 → 0.5.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_v1alpha1/classes.rb +141 -3
- data/lib/google/apis/vmmigration_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/vmmigration_v1alpha1/representations.rb +66 -0
- data/lib/google/apis/vmmigration_v1alpha1/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: d2111518de0efba7506ce8092b39739d7f640e1bc71c0a147146487bdc3e6d29
|
4
|
+
data.tar.gz: 9b6a34b6292695859ff4cacb4a206f952378fa4c6dafdee16e1a8735cba2474f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1976c7e4c6f17608735bfa6497bf9c8dbaa7b3974f8d1628dc36a27994710ce9d2e87f5f7f327fd39032d780072477017b23992ada49f7e52062c3dc0183e09
|
7
|
+
data.tar.gz: af51ca12a6e3b95b8714572532f8e18c7f92c311e2eae738b3d2c8d35dcf97cc915d1e55b01d9c780cfda6ddbe8d44e606c326bcfa8470bb6dbba8375fca8dfb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1alpha1
|
2
2
|
|
3
|
+
### v0.5.0 (2022-02-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220120
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.4.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211207
|
11
|
+
|
12
|
+
### v0.3.0 (2021-12-05)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211130
|
15
|
+
|
16
|
+
### v0.2.0 (2021-10-29)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211021
|
19
|
+
|
3
20
|
### v0.1.0 (2021-10-22)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211014
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/vmmigration_v1alpha1"
|
|
51
51
|
client = Google::Apis::VmmigrationV1alpha1::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.
|
@@ -188,6 +188,11 @@ module Google
|
|
188
188
|
class ComputeEngineTargetDefaults
|
189
189
|
include Google::Apis::Core::Hashable
|
190
190
|
|
191
|
+
# Additional licenses to assign to the VM.
|
192
|
+
# Corresponds to the JSON property `additionalLicenses`
|
193
|
+
# @return [Array<String>]
|
194
|
+
attr_accessor :additional_licenses
|
195
|
+
|
191
196
|
# AppliedLicense holds the license data returned by adaptation module report.
|
192
197
|
# Corresponds to the JSON property `appliedLicense`
|
193
198
|
# @return [Google::Apis::VmmigrationV1alpha1::AppliedLicense]
|
@@ -278,6 +283,7 @@ module Google
|
|
278
283
|
|
279
284
|
# Update properties of this object
|
280
285
|
def update!(**args)
|
286
|
+
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
281
287
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
282
288
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
283
289
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
@@ -302,6 +308,11 @@ module Google
|
|
302
308
|
class ComputeEngineTargetDetails
|
303
309
|
include Google::Apis::Core::Hashable
|
304
310
|
|
311
|
+
# Additional licenses to assign to the VM.
|
312
|
+
# Corresponds to the JSON property `additionalLicenses`
|
313
|
+
# @return [Array<String>]
|
314
|
+
attr_accessor :additional_licenses
|
315
|
+
|
305
316
|
# AppliedLicense holds the license data returned by adaptation module report.
|
306
317
|
# Corresponds to the JSON property `appliedLicense`
|
307
318
|
# @return [Google::Apis::VmmigrationV1alpha1::AppliedLicense]
|
@@ -391,6 +402,7 @@ module Google
|
|
391
402
|
|
392
403
|
# Update properties of this object
|
393
404
|
def update!(**args)
|
405
|
+
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
394
406
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
395
407
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
396
408
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
@@ -552,6 +564,49 @@ module Google
|
|
552
564
|
end
|
553
565
|
end
|
554
566
|
|
567
|
+
# CycleStep hold information about a step progress.
|
568
|
+
class CycleStep
|
569
|
+
include Google::Apis::Core::Hashable
|
570
|
+
|
571
|
+
# The time the cycle step has ended.
|
572
|
+
# Corresponds to the JSON property `endTime`
|
573
|
+
# @return [String]
|
574
|
+
attr_accessor :end_time
|
575
|
+
|
576
|
+
# InitializingReplicationStep contains specific step details.
|
577
|
+
# Corresponds to the JSON property `initializingReplication`
|
578
|
+
# @return [Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep]
|
579
|
+
attr_accessor :initializing_replication
|
580
|
+
|
581
|
+
# PostProcessingStep contains specific step details.
|
582
|
+
# Corresponds to the JSON property `postProcessing`
|
583
|
+
# @return [Google::Apis::VmmigrationV1alpha1::PostProcessingStep]
|
584
|
+
attr_accessor :post_processing
|
585
|
+
|
586
|
+
# ReplicatingStep contains specific step details.
|
587
|
+
# Corresponds to the JSON property `replicating`
|
588
|
+
# @return [Google::Apis::VmmigrationV1alpha1::ReplicatingStep]
|
589
|
+
attr_accessor :replicating
|
590
|
+
|
591
|
+
# The time the cycle step has started.
|
592
|
+
# Corresponds to the JSON property `startTime`
|
593
|
+
# @return [String]
|
594
|
+
attr_accessor :start_time
|
595
|
+
|
596
|
+
def initialize(**args)
|
597
|
+
update!(**args)
|
598
|
+
end
|
599
|
+
|
600
|
+
# Update properties of this object
|
601
|
+
def update!(**args)
|
602
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
603
|
+
@initializing_replication = args[:initializing_replication] if args.key?(:initializing_replication)
|
604
|
+
@post_processing = args[:post_processing] if args.key?(:post_processing)
|
605
|
+
@replicating = args[:replicating] if args.key?(:replicating)
|
606
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
555
610
|
# DatacenterConnector message describes a connector between the Source and GCP,
|
556
611
|
# which is installed on a vmware datacenter (an OVA vm installed by the user) to
|
557
612
|
# connect the Datacenter to GCP and support vm migration data transfer.
|
@@ -738,6 +793,19 @@ module Google
|
|
738
793
|
end
|
739
794
|
end
|
740
795
|
|
796
|
+
# InitializingReplicationStep contains specific step details.
|
797
|
+
class InitializingReplicationStep
|
798
|
+
include Google::Apis::Core::Hashable
|
799
|
+
|
800
|
+
def initialize(**args)
|
801
|
+
update!(**args)
|
802
|
+
end
|
803
|
+
|
804
|
+
# Update properties of this object
|
805
|
+
def update!(**args)
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
741
809
|
# Describes a URL link.
|
742
810
|
class Link
|
743
811
|
include Google::Apis::Core::Hashable
|
@@ -1220,14 +1288,16 @@ module Google
|
|
1220
1288
|
|
1221
1289
|
# Output only. The recent clone jobs performed on the migrating VM. This field
|
1222
1290
|
# holds the vm's last completed clone job and the vm's running clone job, if one
|
1223
|
-
# exists.
|
1291
|
+
# exists. Note: To have this field populated you need to explicitly request it
|
1292
|
+
# via the "view" parameter of the Get/List request.
|
1224
1293
|
# Corresponds to the JSON property `recentCloneJobs`
|
1225
1294
|
# @return [Array<Google::Apis::VmmigrationV1alpha1::CloneJob>]
|
1226
1295
|
attr_accessor :recent_clone_jobs
|
1227
1296
|
|
1228
1297
|
# Output only. The recent cutover jobs performed on the migrating VM. This field
|
1229
1298
|
# holds the vm's last completed cutover job and the vm's running cutover job, if
|
1230
|
-
# one exists.
|
1299
|
+
# one exists. Note: To have this field populated you need to explicitly request
|
1300
|
+
# it via the "view" parameter of the Get/List request.
|
1231
1301
|
# Corresponds to the JSON property `recentCutoverJobs`
|
1232
1302
|
# @return [Array<Google::Apis::VmmigrationV1alpha1::CutoverJob>]
|
1233
1303
|
attr_accessor :recent_cutover_jobs
|
@@ -1508,6 +1578,19 @@ module Google
|
|
1508
1578
|
end
|
1509
1579
|
end
|
1510
1580
|
|
1581
|
+
# PostProcessingStep contains specific step details.
|
1582
|
+
class PostProcessingStep
|
1583
|
+
include Google::Apis::Core::Hashable
|
1584
|
+
|
1585
|
+
def initialize(**args)
|
1586
|
+
update!(**args)
|
1587
|
+
end
|
1588
|
+
|
1589
|
+
# Update properties of this object
|
1590
|
+
def update!(**args)
|
1591
|
+
end
|
1592
|
+
end
|
1593
|
+
|
1511
1594
|
# Request message for 'RemoveMigration' request.
|
1512
1595
|
class RemoveGroupMigrationRequest
|
1513
1596
|
include Google::Apis::Core::Hashable
|
@@ -1527,11 +1610,53 @@ module Google
|
|
1527
1610
|
end
|
1528
1611
|
end
|
1529
1612
|
|
1613
|
+
# ReplicatingStep contains specific step details.
|
1614
|
+
class ReplicatingStep
|
1615
|
+
include Google::Apis::Core::Hashable
|
1616
|
+
|
1617
|
+
# The source disks replication rate for the last 30 minutes in bytes per second.
|
1618
|
+
# Corresponds to the JSON property `lastThirtyMinutesAverageBytesPerSecond`
|
1619
|
+
# @return [Fixnum]
|
1620
|
+
attr_accessor :last_thirty_minutes_average_bytes_per_second
|
1621
|
+
|
1622
|
+
# The source disks replication rate for the last 2 minutes in bytes per second.
|
1623
|
+
# Corresponds to the JSON property `lastTwoMinutesAverageBytesPerSecond`
|
1624
|
+
# @return [Fixnum]
|
1625
|
+
attr_accessor :last_two_minutes_average_bytes_per_second
|
1626
|
+
|
1627
|
+
# Replicated bytes in the step.
|
1628
|
+
# Corresponds to the JSON property `replicatedBytes`
|
1629
|
+
# @return [Fixnum]
|
1630
|
+
attr_accessor :replicated_bytes
|
1631
|
+
|
1632
|
+
# Total bytes to be handled in the step.
|
1633
|
+
# Corresponds to the JSON property `totalBytes`
|
1634
|
+
# @return [Fixnum]
|
1635
|
+
attr_accessor :total_bytes
|
1636
|
+
|
1637
|
+
def initialize(**args)
|
1638
|
+
update!(**args)
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
# Update properties of this object
|
1642
|
+
def update!(**args)
|
1643
|
+
@last_thirty_minutes_average_bytes_per_second = args[:last_thirty_minutes_average_bytes_per_second] if args.key?(:last_thirty_minutes_average_bytes_per_second)
|
1644
|
+
@last_two_minutes_average_bytes_per_second = args[:last_two_minutes_average_bytes_per_second] if args.key?(:last_two_minutes_average_bytes_per_second)
|
1645
|
+
@replicated_bytes = args[:replicated_bytes] if args.key?(:replicated_bytes)
|
1646
|
+
@total_bytes = args[:total_bytes] if args.key?(:total_bytes)
|
1647
|
+
end
|
1648
|
+
end
|
1649
|
+
|
1530
1650
|
# ReplicationCycle contains information about the current replication cycle
|
1531
1651
|
# status.
|
1532
1652
|
class ReplicationCycle
|
1533
1653
|
include Google::Apis::Core::Hashable
|
1534
1654
|
|
1655
|
+
# The time the replication cycle has ended.
|
1656
|
+
# Corresponds to the JSON property `endTime`
|
1657
|
+
# @return [String]
|
1658
|
+
attr_accessor :end_time
|
1659
|
+
|
1535
1660
|
# The current progress in percentage of this cycle.
|
1536
1661
|
# Corresponds to the JSON property `progress`
|
1537
1662
|
# @return [Fixnum]
|
@@ -1547,15 +1672,28 @@ module Google
|
|
1547
1672
|
# @return [String]
|
1548
1673
|
attr_accessor :start_time
|
1549
1674
|
|
1675
|
+
# The cycle's steps list reflecting its progress.
|
1676
|
+
# Corresponds to the JSON property `steps`
|
1677
|
+
# @return [Array<Google::Apis::VmmigrationV1alpha1::CycleStep>]
|
1678
|
+
attr_accessor :steps
|
1679
|
+
|
1680
|
+
# The accumulated duration the replication cycle was paused.
|
1681
|
+
# Corresponds to the JSON property `totalPauseDuration`
|
1682
|
+
# @return [String]
|
1683
|
+
attr_accessor :total_pause_duration
|
1684
|
+
|
1550
1685
|
def initialize(**args)
|
1551
1686
|
update!(**args)
|
1552
1687
|
end
|
1553
1688
|
|
1554
1689
|
# Update properties of this object
|
1555
1690
|
def update!(**args)
|
1691
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1556
1692
|
@progress = args[:progress] if args.key?(:progress)
|
1557
1693
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
1558
1694
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1695
|
+
@steps = args[:steps] if args.key?(:steps)
|
1696
|
+
@total_pause_duration = args[:total_pause_duration] if args.key?(:total_pause_duration)
|
1559
1697
|
end
|
1560
1698
|
end
|
1561
1699
|
|
@@ -1893,7 +2031,7 @@ module Google
|
|
1893
2031
|
# @return [Array<String>]
|
1894
2032
|
attr_accessor :network_tags
|
1895
2033
|
|
1896
|
-
# The project in which to create the VM.
|
2034
|
+
# Output only. The project in which to create the VM.
|
1897
2035
|
# Corresponds to the JSON property `project`
|
1898
2036
|
# @return [String]
|
1899
2037
|
attr_accessor :project
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module VmmigrationV1alpha1
|
18
18
|
# Version of the google-apis-vmmigration_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.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
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class CycleStep
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class DatacenterConnector
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -112,6 +118,12 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class InitializingReplicationStep
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class Link
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -226,12 +238,24 @@ module Google
|
|
226
238
|
include Google::Apis::Core::JsonObjectSupport
|
227
239
|
end
|
228
240
|
|
241
|
+
class PostProcessingStep
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
229
247
|
class RemoveGroupMigrationRequest
|
230
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
249
|
|
232
250
|
include Google::Apis::Core::JsonObjectSupport
|
233
251
|
end
|
234
252
|
|
253
|
+
class ReplicatingStep
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
235
259
|
class ReplicationCycle
|
236
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
261
|
|
@@ -382,6 +406,7 @@ module Google
|
|
382
406
|
class ComputeEngineTargetDefaults
|
383
407
|
# @private
|
384
408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
409
|
+
collection :additional_licenses, as: 'additionalLicenses'
|
385
410
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation
|
386
411
|
|
387
412
|
property :boot_option, as: 'bootOption'
|
@@ -407,6 +432,7 @@ module Google
|
|
407
432
|
class ComputeEngineTargetDetails
|
408
433
|
# @private
|
409
434
|
class Representation < Google::Apis::Core::JsonRepresentation
|
435
|
+
collection :additional_licenses, as: 'additionalLicenses'
|
410
436
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation
|
411
437
|
|
412
438
|
property :boot_option, as: 'bootOption'
|
@@ -462,6 +488,20 @@ module Google
|
|
462
488
|
end
|
463
489
|
end
|
464
490
|
|
491
|
+
class CycleStep
|
492
|
+
# @private
|
493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
494
|
+
property :end_time, as: 'endTime'
|
495
|
+
property :initializing_replication, as: 'initializingReplication', class: Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep, decorator: Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep::Representation
|
496
|
+
|
497
|
+
property :post_processing, as: 'postProcessing', class: Google::Apis::VmmigrationV1alpha1::PostProcessingStep, decorator: Google::Apis::VmmigrationV1alpha1::PostProcessingStep::Representation
|
498
|
+
|
499
|
+
property :replicating, as: 'replicating', class: Google::Apis::VmmigrationV1alpha1::ReplicatingStep, decorator: Google::Apis::VmmigrationV1alpha1::ReplicatingStep::Representation
|
500
|
+
|
501
|
+
property :start_time, as: 'startTime'
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
465
505
|
class DatacenterConnector
|
466
506
|
# @private
|
467
507
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -511,6 +551,12 @@ module Google
|
|
511
551
|
end
|
512
552
|
end
|
513
553
|
|
554
|
+
class InitializingReplicationStep
|
555
|
+
# @private
|
556
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
514
560
|
class Link
|
515
561
|
# @private
|
516
562
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -725,6 +771,12 @@ module Google
|
|
725
771
|
end
|
726
772
|
end
|
727
773
|
|
774
|
+
class PostProcessingStep
|
775
|
+
# @private
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
728
780
|
class RemoveGroupMigrationRequest
|
729
781
|
# @private
|
730
782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -732,12 +784,26 @@ module Google
|
|
732
784
|
end
|
733
785
|
end
|
734
786
|
|
787
|
+
class ReplicatingStep
|
788
|
+
# @private
|
789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
790
|
+
property :last_thirty_minutes_average_bytes_per_second, :numeric_string => true, as: 'lastThirtyMinutesAverageBytesPerSecond'
|
791
|
+
property :last_two_minutes_average_bytes_per_second, :numeric_string => true, as: 'lastTwoMinutesAverageBytesPerSecond'
|
792
|
+
property :replicated_bytes, :numeric_string => true, as: 'replicatedBytes'
|
793
|
+
property :total_bytes, :numeric_string => true, as: 'totalBytes'
|
794
|
+
end
|
795
|
+
end
|
796
|
+
|
735
797
|
class ReplicationCycle
|
736
798
|
# @private
|
737
799
|
class Representation < Google::Apis::Core::JsonRepresentation
|
800
|
+
property :end_time, as: 'endTime'
|
738
801
|
property :progress, as: 'progress'
|
739
802
|
property :progress_percent, as: 'progressPercent'
|
740
803
|
property :start_time, as: 'startTime'
|
804
|
+
collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CycleStep, decorator: Google::Apis::VmmigrationV1alpha1::CycleStep::Representation
|
805
|
+
|
806
|
+
property :total_pause_duration, as: 'totalPauseDuration'
|
741
807
|
end
|
742
808
|
end
|
743
809
|
|
@@ -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, 'v1alpha1/{+name}', options)
|
1118
1120
|
command.response_representation = Google::Apis::VmmigrationV1alpha1::MigratingVm::Representation
|
1119
1121
|
command.response_class = Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+parent}/migratingVms', options)
|
1162
1167
|
command.response_representation = Google::Apis::VmmigrationV1alpha1::ListMigratingVmsResponse::Representation
|
1163
1168
|
command.response_class = Google::Apis::VmmigrationV1alpha1::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_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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:
|
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_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for VM Migration API V1alpha1
|