google-apis-vmmigration_v1alpha1 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_v1alpha1/classes.rb +191 -6
- data/lib/google/apis/vmmigration_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/vmmigration_v1alpha1/representations.rb +72 -0
- data/lib/google/apis/vmmigration_v1alpha1/service.rb +36 -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: 25a5b9f52accfbe5ccecfcae2218e95912887ce1ae00d39ca82c99d821f82054
|
4
|
+
data.tar.gz: d5e2c037b81f13fe0c20c088f01c876b7444a597142413b120f1289f07e72ba7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7b1498d347e1c330b793c0b542072a13975f96e112c2e1ecb7fa226612777e2681537048c9698a90ea27238c98e6abf77486544f4dc8dbc1e79365717200002
|
7
|
+
data.tar.gz: ba2be2168ea00dccd2157a950611785c67f7b6a89a541a2898183346a21d576677f197a156394a664a0a3ea6076ff3809a63c81c3f890f83e77448d57f445cae
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1alpha1
|
2
2
|
|
3
|
+
### v0.6.0 (2022-02-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220203
|
6
|
+
|
7
|
+
### v0.5.0 (2022-02-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220120
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.4.0 (2021-12-14)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211207
|
15
|
+
|
16
|
+
### v0.3.0 (2021-12-05)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211130
|
19
|
+
|
3
20
|
### v0.2.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_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.
|
@@ -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
|
@@ -188,6 +251,11 @@ module Google
|
|
188
251
|
class ComputeEngineTargetDefaults
|
189
252
|
include Google::Apis::Core::Hashable
|
190
253
|
|
254
|
+
# Additional licenses to assign to the VM.
|
255
|
+
# Corresponds to the JSON property `additionalLicenses`
|
256
|
+
# @return [Array<String>]
|
257
|
+
attr_accessor :additional_licenses
|
258
|
+
|
191
259
|
# AppliedLicense holds the license data returned by adaptation module report.
|
192
260
|
# Corresponds to the JSON property `appliedLicense`
|
193
261
|
# @return [Google::Apis::VmmigrationV1alpha1::AppliedLicense]
|
@@ -278,6 +346,7 @@ module Google
|
|
278
346
|
|
279
347
|
# Update properties of this object
|
280
348
|
def update!(**args)
|
349
|
+
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
281
350
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
282
351
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
283
352
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
@@ -302,6 +371,11 @@ module Google
|
|
302
371
|
class ComputeEngineTargetDetails
|
303
372
|
include Google::Apis::Core::Hashable
|
304
373
|
|
374
|
+
# Additional licenses to assign to the VM.
|
375
|
+
# Corresponds to the JSON property `additionalLicenses`
|
376
|
+
# @return [Array<String>]
|
377
|
+
attr_accessor :additional_licenses
|
378
|
+
|
305
379
|
# AppliedLicense holds the license data returned by adaptation module report.
|
306
380
|
# Corresponds to the JSON property `appliedLicense`
|
307
381
|
# @return [Google::Apis::VmmigrationV1alpha1::AppliedLicense]
|
@@ -391,6 +465,7 @@ module Google
|
|
391
465
|
|
392
466
|
# Update properties of this object
|
393
467
|
def update!(**args)
|
468
|
+
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
394
469
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
395
470
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
396
471
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
@@ -558,6 +633,24 @@ module Google
|
|
558
633
|
class DatacenterConnector
|
559
634
|
include Google::Apis::Core::Hashable
|
560
635
|
|
636
|
+
# Output only. Appliance OVA version. This is the OVA which is manually
|
637
|
+
# installed by the user and contains the infrastructure for the automatically
|
638
|
+
# updatable components on the appliance.
|
639
|
+
# Corresponds to the JSON property `applianceInfrastructureVersion`
|
640
|
+
# @return [String]
|
641
|
+
attr_accessor :appliance_infrastructure_version
|
642
|
+
|
643
|
+
# Output only. Appliance last installed update bundle version. This is the
|
644
|
+
# version of the automatically updatable components on the appliance.
|
645
|
+
# Corresponds to the JSON property `applianceSoftwareVersion`
|
646
|
+
# @return [String]
|
647
|
+
attr_accessor :appliance_software_version
|
648
|
+
|
649
|
+
# Holds informatiom about the available versions for upgrade.
|
650
|
+
# Corresponds to the JSON property `availableVersions`
|
651
|
+
# @return [Google::Apis::VmmigrationV1alpha1::AvailableUpdates]
|
652
|
+
attr_accessor :available_versions
|
653
|
+
|
561
654
|
# Output only. The communication channel between the datacenter connector and
|
562
655
|
# GCP.
|
563
656
|
# Corresponds to the JSON property `bucket`
|
@@ -613,6 +706,11 @@ module Google
|
|
613
706
|
# @return [String]
|
614
707
|
attr_accessor :update_time
|
615
708
|
|
709
|
+
# UpgradeStatus contains information about upgradeAppliance operation.
|
710
|
+
# Corresponds to the JSON property `upgradeStatus`
|
711
|
+
# @return [Google::Apis::VmmigrationV1alpha1::UpgradeStatus]
|
712
|
+
attr_accessor :upgrade_status
|
713
|
+
|
616
714
|
# The version running in the DatacenterConnector. This is supplied by the OVA
|
617
715
|
# connector during the registration process and can not be modified.
|
618
716
|
# Corresponds to the JSON property `version`
|
@@ -625,6 +723,9 @@ module Google
|
|
625
723
|
|
626
724
|
# Update properties of this object
|
627
725
|
def update!(**args)
|
726
|
+
@appliance_infrastructure_version = args[:appliance_infrastructure_version] if args.key?(:appliance_infrastructure_version)
|
727
|
+
@appliance_software_version = args[:appliance_software_version] if args.key?(:appliance_software_version)
|
728
|
+
@available_versions = args[:available_versions] if args.key?(:available_versions)
|
628
729
|
@bucket = args[:bucket] if args.key?(:bucket)
|
629
730
|
@create_time = args[:create_time] if args.key?(:create_time)
|
630
731
|
@error = args[:error] if args.key?(:error)
|
@@ -634,6 +735,7 @@ module Google
|
|
634
735
|
@state = args[:state] if args.key?(:state)
|
635
736
|
@state_time = args[:state_time] if args.key?(:state_time)
|
636
737
|
@update_time = args[:update_time] if args.key?(:update_time)
|
738
|
+
@upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status)
|
637
739
|
@version = args[:version] if args.key?(:version)
|
638
740
|
end
|
639
741
|
end
|
@@ -714,7 +816,7 @@ module Google
|
|
714
816
|
# @return [String]
|
715
817
|
attr_accessor :display_name
|
716
818
|
|
717
|
-
# The Group name.
|
819
|
+
# Output only. The Group name.
|
718
820
|
# Corresponds to the JSON property `name`
|
719
821
|
# @return [String]
|
720
822
|
attr_accessor :name
|
@@ -1549,6 +1651,11 @@ module Google
|
|
1549
1651
|
# @return [String]
|
1550
1652
|
attr_accessor :start_time
|
1551
1653
|
|
1654
|
+
# The accumulated duration the replication cycle was paused.
|
1655
|
+
# Corresponds to the JSON property `totalPauseDuration`
|
1656
|
+
# @return [String]
|
1657
|
+
attr_accessor :total_pause_duration
|
1658
|
+
|
1552
1659
|
def initialize(**args)
|
1553
1660
|
update!(**args)
|
1554
1661
|
end
|
@@ -1558,6 +1665,7 @@ module Google
|
|
1558
1665
|
@progress = args[:progress] if args.key?(:progress)
|
1559
1666
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
1560
1667
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1668
|
+
@total_pause_duration = args[:total_pause_duration] if args.key?(:total_pause_duration)
|
1561
1669
|
end
|
1562
1670
|
end
|
1563
1671
|
|
@@ -1784,7 +1892,7 @@ module Google
|
|
1784
1892
|
# @return [String]
|
1785
1893
|
attr_accessor :description
|
1786
1894
|
|
1787
|
-
# The name of the target project.
|
1895
|
+
# Output only. The name of the target project.
|
1788
1896
|
# Corresponds to the JSON property `name`
|
1789
1897
|
# @return [String]
|
1790
1898
|
attr_accessor :name
|
@@ -1895,7 +2003,7 @@ module Google
|
|
1895
2003
|
# @return [Array<String>]
|
1896
2004
|
attr_accessor :network_tags
|
1897
2005
|
|
1898
|
-
# The project in which to create the VM.
|
2006
|
+
# Output only. The project in which to create the VM.
|
1899
2007
|
# Corresponds to the JSON property `project`
|
1900
2008
|
# @return [String]
|
1901
2009
|
attr_accessor :project
|
@@ -1958,6 +2066,82 @@ module Google
|
|
1958
2066
|
end
|
1959
2067
|
end
|
1960
2068
|
|
2069
|
+
# Request message for 'UpgradeAppliance' request.
|
2070
|
+
class UpgradeApplianceRequest
|
2071
|
+
include Google::Apis::Core::Hashable
|
2072
|
+
|
2073
|
+
# A request ID to identify requests. Specify a unique request ID so that if you
|
2074
|
+
# must retry your request, the server will know to ignore the request if it has
|
2075
|
+
# already been completed. The server will guarantee that for at least 60 minutes
|
2076
|
+
# after the first request. For example, consider a situation where you make an
|
2077
|
+
# initial request and t he request times out. If you make the request again with
|
2078
|
+
# the same request ID, the server can check if original operation with the same
|
2079
|
+
# request ID was received, and if so, will ignore the second request. This
|
2080
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
2081
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
2082
|
+
# 00000000-0000-0000-0000-000000000000).
|
2083
|
+
# Corresponds to the JSON property `requestId`
|
2084
|
+
# @return [String]
|
2085
|
+
attr_accessor :request_id
|
2086
|
+
|
2087
|
+
def initialize(**args)
|
2088
|
+
update!(**args)
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
# Update properties of this object
|
2092
|
+
def update!(**args)
|
2093
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
2094
|
+
end
|
2095
|
+
end
|
2096
|
+
|
2097
|
+
# UpgradeStatus contains information about upgradeAppliance operation.
|
2098
|
+
class UpgradeStatus
|
2099
|
+
include Google::Apis::Core::Hashable
|
2100
|
+
|
2101
|
+
# The `Status` type defines a logical error model that is suitable for different
|
2102
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2103
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
2104
|
+
# data: error code, error message, and error details. You can find out more
|
2105
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
2106
|
+
# //cloud.google.com/apis/design/errors).
|
2107
|
+
# Corresponds to the JSON property `error`
|
2108
|
+
# @return [Google::Apis::VmmigrationV1alpha1::Status]
|
2109
|
+
attr_accessor :error
|
2110
|
+
|
2111
|
+
# The version from which we upgraded.
|
2112
|
+
# Corresponds to the JSON property `previousVersion`
|
2113
|
+
# @return [String]
|
2114
|
+
attr_accessor :previous_version
|
2115
|
+
|
2116
|
+
# The time the operation was started.
|
2117
|
+
# Corresponds to the JSON property `startTime`
|
2118
|
+
# @return [String]
|
2119
|
+
attr_accessor :start_time
|
2120
|
+
|
2121
|
+
# The state of the upgradeAppliance operation.
|
2122
|
+
# Corresponds to the JSON property `state`
|
2123
|
+
# @return [String]
|
2124
|
+
attr_accessor :state
|
2125
|
+
|
2126
|
+
# The version to upgrade to.
|
2127
|
+
# Corresponds to the JSON property `version`
|
2128
|
+
# @return [String]
|
2129
|
+
attr_accessor :version
|
2130
|
+
|
2131
|
+
def initialize(**args)
|
2132
|
+
update!(**args)
|
2133
|
+
end
|
2134
|
+
|
2135
|
+
# Update properties of this object
|
2136
|
+
def update!(**args)
|
2137
|
+
@error = args[:error] if args.key?(:error)
|
2138
|
+
@previous_version = args[:previous_version] if args.key?(:previous_version)
|
2139
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
2140
|
+
@state = args[:state] if args.key?(:state)
|
2141
|
+
@version = args[:version] if args.key?(:version)
|
2142
|
+
end
|
2143
|
+
end
|
2144
|
+
|
1961
2145
|
# Utilization report details the utilization (CPU, memory, etc.) of selected
|
1962
2146
|
# source VMs.
|
1963
2147
|
class UtilizationReport
|
@@ -2276,8 +2460,9 @@ module Google
|
|
2276
2460
|
# @return [String]
|
2277
2461
|
attr_accessor :display_name
|
2278
2462
|
|
2279
|
-
# The VM's OS. See for example https://
|
2280
|
-
#
|
2463
|
+
# The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-
|
2464
|
+
# public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-
|
2465
|
+
# 746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
|
2281
2466
|
# strings this might hold.
|
2282
2467
|
# Corresponds to the JSON property `guestDescription`
|
2283
2468
|
# @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.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 = "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
|
|
@@ -292,6 +304,18 @@ module Google
|
|
292
304
|
include Google::Apis::Core::JsonObjectSupport
|
293
305
|
end
|
294
306
|
|
307
|
+
class UpgradeApplianceRequest
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class UpgradeStatus
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
295
319
|
class UtilizationReport
|
296
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
321
|
|
@@ -335,6 +359,16 @@ module Google
|
|
335
359
|
end
|
336
360
|
end
|
337
361
|
|
362
|
+
class ApplianceVersion
|
363
|
+
# @private
|
364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
365
|
+
property :critical, as: 'critical'
|
366
|
+
property :release_notes_uri, as: 'releaseNotesUri'
|
367
|
+
property :uri, as: 'uri'
|
368
|
+
property :version, as: 'version'
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
338
372
|
class AppliedLicense
|
339
373
|
# @private
|
340
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -343,6 +377,16 @@ module Google
|
|
343
377
|
end
|
344
378
|
end
|
345
379
|
|
380
|
+
class AvailableUpdates
|
381
|
+
# @private
|
382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
383
|
+
property :in_place_update, as: 'inPlaceUpdate', class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1alpha1::ApplianceVersion::Representation
|
384
|
+
|
385
|
+
property :new_deployable_appliance, as: 'newDeployableAppliance', class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1alpha1::ApplianceVersion::Representation
|
386
|
+
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
346
390
|
class CancelCloneJobRequest
|
347
391
|
# @private
|
348
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -382,6 +426,7 @@ module Google
|
|
382
426
|
class ComputeEngineTargetDefaults
|
383
427
|
# @private
|
384
428
|
class Representation < Google::Apis::Core::JsonRepresentation
|
429
|
+
collection :additional_licenses, as: 'additionalLicenses'
|
385
430
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation
|
386
431
|
|
387
432
|
property :boot_option, as: 'bootOption'
|
@@ -407,6 +452,7 @@ module Google
|
|
407
452
|
class ComputeEngineTargetDetails
|
408
453
|
# @private
|
409
454
|
class Representation < Google::Apis::Core::JsonRepresentation
|
455
|
+
collection :additional_licenses, as: 'additionalLicenses'
|
410
456
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation
|
411
457
|
|
412
458
|
property :boot_option, as: 'bootOption'
|
@@ -465,6 +511,10 @@ module Google
|
|
465
511
|
class DatacenterConnector
|
466
512
|
# @private
|
467
513
|
class Representation < Google::Apis::Core::JsonRepresentation
|
514
|
+
property :appliance_infrastructure_version, as: 'applianceInfrastructureVersion'
|
515
|
+
property :appliance_software_version, as: 'applianceSoftwareVersion'
|
516
|
+
property :available_versions, as: 'availableVersions', class: Google::Apis::VmmigrationV1alpha1::AvailableUpdates, decorator: Google::Apis::VmmigrationV1alpha1::AvailableUpdates::Representation
|
517
|
+
|
468
518
|
property :bucket, as: 'bucket'
|
469
519
|
property :create_time, as: 'createTime'
|
470
520
|
property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
|
@@ -475,6 +525,8 @@ module Google
|
|
475
525
|
property :state, as: 'state'
|
476
526
|
property :state_time, as: 'stateTime'
|
477
527
|
property :update_time, as: 'updateTime'
|
528
|
+
property :upgrade_status, as: 'upgradeStatus', class: Google::Apis::VmmigrationV1alpha1::UpgradeStatus, decorator: Google::Apis::VmmigrationV1alpha1::UpgradeStatus::Representation
|
529
|
+
|
478
530
|
property :version, as: 'version'
|
479
531
|
end
|
480
532
|
end
|
@@ -738,6 +790,7 @@ module Google
|
|
738
790
|
property :progress, as: 'progress'
|
739
791
|
property :progress_percent, as: 'progressPercent'
|
740
792
|
property :start_time, as: 'startTime'
|
793
|
+
property :total_pause_duration, as: 'totalPauseDuration'
|
741
794
|
end
|
742
795
|
end
|
743
796
|
|
@@ -842,6 +895,25 @@ module Google
|
|
842
895
|
end
|
843
896
|
end
|
844
897
|
|
898
|
+
class UpgradeApplianceRequest
|
899
|
+
# @private
|
900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
901
|
+
property :request_id, as: 'requestId'
|
902
|
+
end
|
903
|
+
end
|
904
|
+
|
905
|
+
class UpgradeStatus
|
906
|
+
# @private
|
907
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
908
|
+
property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
|
909
|
+
|
910
|
+
property :previous_version, as: 'previousVersion'
|
911
|
+
property :start_time, as: 'startTime'
|
912
|
+
property :state, as: 'state'
|
913
|
+
property :version, as: 'version'
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
845
917
|
class UtilizationReport
|
846
918
|
# @private
|
847
919
|
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.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-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_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.6.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
|