google-apis-vmmigration_v1alpha1 0.5.0 → 0.8.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 +12 -0
- data/lib/google/apis/vmmigration_v1alpha1/classes.rb +174 -14
- data/lib/google/apis/vmmigration_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/vmmigration_v1alpha1/representations.rb +69 -1
- data/lib/google/apis/vmmigration_v1alpha1/service.rb +36 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a95fbfea9a6a78e51633ae193af984470afe3e134dd69e86e440f4c590471280
|
4
|
+
data.tar.gz: be8126cb5af538393e049cd890f73dc34a4d985cbb4e4ae0203e5f2c5b3b7edf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc253014652d35309a840e9ff7ba0b52eadeaf68750ae9f5cd4445c43e43f181182cc195450b09cfa3e5edc7c643632229170fc3f8c939694da7f3d70047b403
|
7
|
+
data.tar.gz: ae913345dbfaa7f5bc4e03b4de6cb57fa47d42dbcbd9b833464d1dc0ade6853a6037a3c8fd63ce4ecacfc1484f639a4de04e537829c2a78e4a52c3ebffb72255
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1alpha1
|
2
2
|
|
3
|
+
### v0.8.0 (2022-04-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220327
|
6
|
+
|
7
|
+
### v0.7.0 (2022-03-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220306
|
10
|
+
|
11
|
+
### v0.6.0 (2022-02-10)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220203
|
14
|
+
|
3
15
|
### v0.5.0 (2022-02-01)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220120
|
@@ -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::VmmigrationV1alpha1::ApplianceVersion]
|
114
|
+
attr_accessor :in_place_update
|
115
|
+
|
116
|
+
# Describes an appliance version.
|
117
|
+
# Corresponds to the JSON property `newDeployableAppliance`
|
118
|
+
# @return [Google::Apis::VmmigrationV1alpha1::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
|
@@ -145,7 +208,7 @@ module Google
|
|
145
208
|
# @return [Google::Apis::VmmigrationV1alpha1::Status]
|
146
209
|
attr_accessor :error
|
147
210
|
|
148
|
-
# The name of the clone.
|
211
|
+
# Output only. The name of the clone.
|
149
212
|
# Corresponds to the JSON property `name`
|
150
213
|
# @return [String]
|
151
214
|
attr_accessor :name
|
@@ -613,6 +676,24 @@ module Google
|
|
613
676
|
class DatacenterConnector
|
614
677
|
include Google::Apis::Core::Hashable
|
615
678
|
|
679
|
+
# Output only. Appliance OVA version. This is the OVA which is manually
|
680
|
+
# installed by the user and contains the infrastructure for the automatically
|
681
|
+
# updatable components on the appliance.
|
682
|
+
# Corresponds to the JSON property `applianceInfrastructureVersion`
|
683
|
+
# @return [String]
|
684
|
+
attr_accessor :appliance_infrastructure_version
|
685
|
+
|
686
|
+
# Output only. Appliance last installed update bundle version. This is the
|
687
|
+
# version of the automatically updatable components on the appliance.
|
688
|
+
# Corresponds to the JSON property `applianceSoftwareVersion`
|
689
|
+
# @return [String]
|
690
|
+
attr_accessor :appliance_software_version
|
691
|
+
|
692
|
+
# Holds informatiom about the available versions for upgrade.
|
693
|
+
# Corresponds to the JSON property `availableVersions`
|
694
|
+
# @return [Google::Apis::VmmigrationV1alpha1::AvailableUpdates]
|
695
|
+
attr_accessor :available_versions
|
696
|
+
|
616
697
|
# Output only. The communication channel between the datacenter connector and
|
617
698
|
# GCP.
|
618
699
|
# Corresponds to the JSON property `bucket`
|
@@ -668,6 +749,11 @@ module Google
|
|
668
749
|
# @return [String]
|
669
750
|
attr_accessor :update_time
|
670
751
|
|
752
|
+
# UpgradeStatus contains information about upgradeAppliance operation.
|
753
|
+
# Corresponds to the JSON property `upgradeStatus`
|
754
|
+
# @return [Google::Apis::VmmigrationV1alpha1::UpgradeStatus]
|
755
|
+
attr_accessor :upgrade_status
|
756
|
+
|
671
757
|
# The version running in the DatacenterConnector. This is supplied by the OVA
|
672
758
|
# connector during the registration process and can not be modified.
|
673
759
|
# Corresponds to the JSON property `version`
|
@@ -680,6 +766,9 @@ module Google
|
|
680
766
|
|
681
767
|
# Update properties of this object
|
682
768
|
def update!(**args)
|
769
|
+
@appliance_infrastructure_version = args[:appliance_infrastructure_version] if args.key?(:appliance_infrastructure_version)
|
770
|
+
@appliance_software_version = args[:appliance_software_version] if args.key?(:appliance_software_version)
|
771
|
+
@available_versions = args[:available_versions] if args.key?(:available_versions)
|
683
772
|
@bucket = args[:bucket] if args.key?(:bucket)
|
684
773
|
@create_time = args[:create_time] if args.key?(:create_time)
|
685
774
|
@error = args[:error] if args.key?(:error)
|
@@ -689,6 +778,7 @@ module Google
|
|
689
778
|
@state = args[:state] if args.key?(:state)
|
690
779
|
@state_time = args[:state_time] if args.key?(:state_time)
|
691
780
|
@update_time = args[:update_time] if args.key?(:update_time)
|
781
|
+
@upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status)
|
692
782
|
@version = args[:version] if args.key?(:version)
|
693
783
|
end
|
694
784
|
end
|
@@ -696,8 +786,7 @@ module Google
|
|
696
786
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
697
787
|
# messages in your APIs. A typical example is to use it as the request or the
|
698
788
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
699
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
700
|
-
# `Empty` is empty JSON object ````.
|
789
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
701
790
|
class Empty
|
702
791
|
include Google::Apis::Core::Hashable
|
703
792
|
|
@@ -769,7 +858,7 @@ module Google
|
|
769
858
|
# @return [String]
|
770
859
|
attr_accessor :display_name
|
771
860
|
|
772
|
-
# The Group name.
|
861
|
+
# Output only. The Group name.
|
773
862
|
# Corresponds to the JSON property `name`
|
774
863
|
# @return [String]
|
775
864
|
attr_accessor :name
|
@@ -1652,11 +1741,6 @@ module Google
|
|
1652
1741
|
class ReplicationCycle
|
1653
1742
|
include Google::Apis::Core::Hashable
|
1654
1743
|
|
1655
|
-
# The time the replication cycle has ended.
|
1656
|
-
# Corresponds to the JSON property `endTime`
|
1657
|
-
# @return [String]
|
1658
|
-
attr_accessor :end_time
|
1659
|
-
|
1660
1744
|
# The current progress in percentage of this cycle.
|
1661
1745
|
# Corresponds to the JSON property `progress`
|
1662
1746
|
# @return [Fixnum]
|
@@ -1672,7 +1756,7 @@ module Google
|
|
1672
1756
|
# @return [String]
|
1673
1757
|
attr_accessor :start_time
|
1674
1758
|
|
1675
|
-
# The cycle's steps list
|
1759
|
+
# The cycle's steps list representing its progress.
|
1676
1760
|
# Corresponds to the JSON property `steps`
|
1677
1761
|
# @return [Array<Google::Apis::VmmigrationV1alpha1::CycleStep>]
|
1678
1762
|
attr_accessor :steps
|
@@ -1688,7 +1772,6 @@ module Google
|
|
1688
1772
|
|
1689
1773
|
# Update properties of this object
|
1690
1774
|
def update!(**args)
|
1691
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1692
1775
|
@progress = args[:progress] if args.key?(:progress)
|
1693
1776
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
1694
1777
|
@start_time = args[:start_time] if args.key?(:start_time)
|
@@ -1920,7 +2003,7 @@ module Google
|
|
1920
2003
|
# @return [String]
|
1921
2004
|
attr_accessor :description
|
1922
2005
|
|
1923
|
-
# The name of the target project.
|
2006
|
+
# Output only. The name of the target project.
|
1924
2007
|
# Corresponds to the JSON property `name`
|
1925
2008
|
# @return [String]
|
1926
2009
|
attr_accessor :name
|
@@ -2094,6 +2177,82 @@ module Google
|
|
2094
2177
|
end
|
2095
2178
|
end
|
2096
2179
|
|
2180
|
+
# Request message for 'UpgradeAppliance' request.
|
2181
|
+
class UpgradeApplianceRequest
|
2182
|
+
include Google::Apis::Core::Hashable
|
2183
|
+
|
2184
|
+
# A request ID to identify requests. Specify a unique request ID so that if you
|
2185
|
+
# must retry your request, the server will know to ignore the request if it has
|
2186
|
+
# already been completed. The server will guarantee that for at least 60 minutes
|
2187
|
+
# after the first request. For example, consider a situation where you make an
|
2188
|
+
# initial request and t he request times out. If you make the request again with
|
2189
|
+
# the same request ID, the server can check if original operation with the same
|
2190
|
+
# request ID was received, and if so, will ignore the second request. This
|
2191
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
2192
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
2193
|
+
# 00000000-0000-0000-0000-000000000000).
|
2194
|
+
# Corresponds to the JSON property `requestId`
|
2195
|
+
# @return [String]
|
2196
|
+
attr_accessor :request_id
|
2197
|
+
|
2198
|
+
def initialize(**args)
|
2199
|
+
update!(**args)
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
# Update properties of this object
|
2203
|
+
def update!(**args)
|
2204
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
2205
|
+
end
|
2206
|
+
end
|
2207
|
+
|
2208
|
+
# UpgradeStatus contains information about upgradeAppliance operation.
|
2209
|
+
class UpgradeStatus
|
2210
|
+
include Google::Apis::Core::Hashable
|
2211
|
+
|
2212
|
+
# The `Status` type defines a logical error model that is suitable for different
|
2213
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2214
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
2215
|
+
# data: error code, error message, and error details. You can find out more
|
2216
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
2217
|
+
# //cloud.google.com/apis/design/errors).
|
2218
|
+
# Corresponds to the JSON property `error`
|
2219
|
+
# @return [Google::Apis::VmmigrationV1alpha1::Status]
|
2220
|
+
attr_accessor :error
|
2221
|
+
|
2222
|
+
# The version from which we upgraded.
|
2223
|
+
# Corresponds to the JSON property `previousVersion`
|
2224
|
+
# @return [String]
|
2225
|
+
attr_accessor :previous_version
|
2226
|
+
|
2227
|
+
# The time the operation was started.
|
2228
|
+
# Corresponds to the JSON property `startTime`
|
2229
|
+
# @return [String]
|
2230
|
+
attr_accessor :start_time
|
2231
|
+
|
2232
|
+
# The state of the upgradeAppliance operation.
|
2233
|
+
# Corresponds to the JSON property `state`
|
2234
|
+
# @return [String]
|
2235
|
+
attr_accessor :state
|
2236
|
+
|
2237
|
+
# The version to upgrade to.
|
2238
|
+
# Corresponds to the JSON property `version`
|
2239
|
+
# @return [String]
|
2240
|
+
attr_accessor :version
|
2241
|
+
|
2242
|
+
def initialize(**args)
|
2243
|
+
update!(**args)
|
2244
|
+
end
|
2245
|
+
|
2246
|
+
# Update properties of this object
|
2247
|
+
def update!(**args)
|
2248
|
+
@error = args[:error] if args.key?(:error)
|
2249
|
+
@previous_version = args[:previous_version] if args.key?(:previous_version)
|
2250
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
2251
|
+
@state = args[:state] if args.key?(:state)
|
2252
|
+
@version = args[:version] if args.key?(:version)
|
2253
|
+
end
|
2254
|
+
end
|
2255
|
+
|
2097
2256
|
# Utilization report details the utilization (CPU, memory, etc.) of selected
|
2098
2257
|
# source VMs.
|
2099
2258
|
class UtilizationReport
|
@@ -2412,8 +2571,9 @@ module Google
|
|
2412
2571
|
# @return [String]
|
2413
2572
|
attr_accessor :display_name
|
2414
2573
|
|
2415
|
-
# The VM's OS. See for example https://
|
2416
|
-
#
|
2574
|
+
# The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-
|
2575
|
+
# public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-
|
2576
|
+
# 746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
|
2417
2577
|
# strings this might hold.
|
2418
2578
|
# Corresponds to the JSON property `guestDescription`
|
2419
2579
|
# @return [String]
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220327"
|
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
|
|
@@ -316,6 +328,18 @@ module Google
|
|
316
328
|
include Google::Apis::Core::JsonObjectSupport
|
317
329
|
end
|
318
330
|
|
331
|
+
class UpgradeApplianceRequest
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class UpgradeStatus
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
319
343
|
class UtilizationReport
|
320
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
345
|
|
@@ -359,6 +383,16 @@ module Google
|
|
359
383
|
end
|
360
384
|
end
|
361
385
|
|
386
|
+
class ApplianceVersion
|
387
|
+
# @private
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
389
|
+
property :critical, as: 'critical'
|
390
|
+
property :release_notes_uri, as: 'releaseNotesUri'
|
391
|
+
property :uri, as: 'uri'
|
392
|
+
property :version, as: 'version'
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
362
396
|
class AppliedLicense
|
363
397
|
# @private
|
364
398
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -367,6 +401,16 @@ module Google
|
|
367
401
|
end
|
368
402
|
end
|
369
403
|
|
404
|
+
class AvailableUpdates
|
405
|
+
# @private
|
406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
407
|
+
property :in_place_update, as: 'inPlaceUpdate', class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1alpha1::ApplianceVersion::Representation
|
408
|
+
|
409
|
+
property :new_deployable_appliance, as: 'newDeployableAppliance', class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1alpha1::ApplianceVersion::Representation
|
410
|
+
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
370
414
|
class CancelCloneJobRequest
|
371
415
|
# @private
|
372
416
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -505,6 +549,10 @@ module Google
|
|
505
549
|
class DatacenterConnector
|
506
550
|
# @private
|
507
551
|
class Representation < Google::Apis::Core::JsonRepresentation
|
552
|
+
property :appliance_infrastructure_version, as: 'applianceInfrastructureVersion'
|
553
|
+
property :appliance_software_version, as: 'applianceSoftwareVersion'
|
554
|
+
property :available_versions, as: 'availableVersions', class: Google::Apis::VmmigrationV1alpha1::AvailableUpdates, decorator: Google::Apis::VmmigrationV1alpha1::AvailableUpdates::Representation
|
555
|
+
|
508
556
|
property :bucket, as: 'bucket'
|
509
557
|
property :create_time, as: 'createTime'
|
510
558
|
property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
|
@@ -515,6 +563,8 @@ module Google
|
|
515
563
|
property :state, as: 'state'
|
516
564
|
property :state_time, as: 'stateTime'
|
517
565
|
property :update_time, as: 'updateTime'
|
566
|
+
property :upgrade_status, as: 'upgradeStatus', class: Google::Apis::VmmigrationV1alpha1::UpgradeStatus, decorator: Google::Apis::VmmigrationV1alpha1::UpgradeStatus::Representation
|
567
|
+
|
518
568
|
property :version, as: 'version'
|
519
569
|
end
|
520
570
|
end
|
@@ -797,7 +847,6 @@ module Google
|
|
797
847
|
class ReplicationCycle
|
798
848
|
# @private
|
799
849
|
class Representation < Google::Apis::Core::JsonRepresentation
|
800
|
-
property :end_time, as: 'endTime'
|
801
850
|
property :progress, as: 'progress'
|
802
851
|
property :progress_percent, as: 'progressPercent'
|
803
852
|
property :start_time, as: 'startTime'
|
@@ -908,6 +957,25 @@ module Google
|
|
908
957
|
end
|
909
958
|
end
|
910
959
|
|
960
|
+
class UpgradeApplianceRequest
|
961
|
+
# @private
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
963
|
+
property :request_id, as: 'requestId'
|
964
|
+
end
|
965
|
+
end
|
966
|
+
|
967
|
+
class UpgradeStatus
|
968
|
+
# @private
|
969
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
970
|
+
property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
|
971
|
+
|
972
|
+
property :previous_version, as: 'previousVersion'
|
973
|
+
property :start_time, as: 'startTime'
|
974
|
+
property :state, as: 'state'
|
975
|
+
property :version, as: 'version'
|
976
|
+
end
|
977
|
+
end
|
978
|
+
|
911
979
|
class UtilizationReport
|
912
980
|
# @private
|
913
981
|
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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::Operation] parsed result object
|
999
|
+
# @yieldparam err [StandardError] error object if request failed
|
1000
|
+
#
|
1001
|
+
# @return [Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+datacenterConnector}:upgradeAppliance', options)
|
1008
|
+
command.request_representation = Google::Apis::VmmigrationV1alpha1::UpgradeApplianceRequest::Representation
|
1009
|
+
command.request_object = upgrade_appliance_request_object
|
1010
|
+
command.response_representation = Google::Apis::VmmigrationV1alpha1::Operation::Representation
|
1011
|
+
command.response_class = Google::Apis::VmmigrationV1alpha1::Operation
|
1012
|
+
command.params['datacenterConnector'] = datacenter_connector unless datacenter_connector.nil?
|
1013
|
+
command.query['fields'] = fields unless fields.nil?
|
1014
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1015
|
+
execute_or_queue_command(command, &block)
|
1016
|
+
end
|
1017
|
+
|
984
1018
|
# Creates a new MigratingVm in a given Source.
|
985
1019
|
# @param [String] parent
|
986
1020
|
# Required. The MigratingVm's parent.
|
@@ -1999,7 +2033,7 @@ module Google
|
|
1999
2033
|
# Updates the parameters of a single TargetProject. NOTE: TargetProject is a
|
2000
2034
|
# global resource; hence the only supported value for location is `global`.
|
2001
2035
|
# @param [String] name
|
2002
|
-
# The name of the target project.
|
2036
|
+
# Output only. The name of the target project.
|
2003
2037
|
# @param [Google::Apis::VmmigrationV1alpha1::TargetProject] target_project_object
|
2004
2038
|
# @param [String] request_id
|
2005
2039
|
# A request ID to identify requests. Specify a unique request ID so that if you
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-vmmigration_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_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.8.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: []
|