google-apis-vmmigration_v1 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 245a03f0b02e75b87695fa984b23c1e87c9b3709fcdf3a91b82150c638cf9852
|
4
|
+
data.tar.gz: c454806983b225ee537207dccc9de1be2cc9fae25e57c28ff5fbf4cd9ea34eb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0be68f49b4a279749db2df8f5da2f0a46fa304069b492cada5b7a7b78285ecf1aeaaaf415f6b9615c20beff81935486c4b40a27cd63855ae4e543a0c44a422fd
|
7
|
+
data.tar.gz: d8c7c2d83fd13c8c93b967a8931f5bb612e0cb02e7f6096d304f456902dbadbcfcd7960b8be10fbee8ebf7722e552451705dd85da89ec19fb227a0af299ca573
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Vmmigration service in particular.)
|
67
67
|
|
@@ -186,6 +186,11 @@ module Google
|
|
186
186
|
# @return [Google::Apis::VmmigrationV1::AppliedLicense]
|
187
187
|
attr_accessor :applied_license
|
188
188
|
|
189
|
+
# Output only. The VM Boot Option, as set in the source vm.
|
190
|
+
# Corresponds to the JSON property `bootOption`
|
191
|
+
# @return [String]
|
192
|
+
attr_accessor :boot_option
|
193
|
+
|
189
194
|
# Scheduling information for VM on maintenance/restart behaviour and node
|
190
195
|
# allocation in sole tenant nodes.
|
191
196
|
# Corresponds to the JSON property `computeScheduling`
|
@@ -217,6 +222,11 @@ module Google
|
|
217
222
|
# @return [String]
|
218
223
|
attr_accessor :machine_type_series
|
219
224
|
|
225
|
+
# The metadata key/value pairs to assign to the VM.
|
226
|
+
# Corresponds to the JSON property `metadata`
|
227
|
+
# @return [Hash<String,String>]
|
228
|
+
attr_accessor :metadata
|
229
|
+
|
220
230
|
# List of NICs connected to this VM.
|
221
231
|
# Corresponds to the JSON property `networkInterfaces`
|
222
232
|
# @return [Array<Google::Apis::VmmigrationV1::NetworkInterface>]
|
@@ -227,6 +237,13 @@ module Google
|
|
227
237
|
# @return [Array<String>]
|
228
238
|
attr_accessor :network_tags
|
229
239
|
|
240
|
+
# Defines whether the instance has Secure Boot enabled. This can be set to true
|
241
|
+
# only if the vm boot option is EFI.
|
242
|
+
# Corresponds to the JSON property `secureBoot`
|
243
|
+
# @return [Boolean]
|
244
|
+
attr_accessor :secure_boot
|
245
|
+
alias_method :secure_boot?, :secure_boot
|
246
|
+
|
230
247
|
# The service account to associate the VM with.
|
231
248
|
# Corresponds to the JSON property `serviceAccount`
|
232
249
|
# @return [String]
|
@@ -255,14 +272,17 @@ module Google
|
|
255
272
|
# Update properties of this object
|
256
273
|
def update!(**args)
|
257
274
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
275
|
+
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
258
276
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
259
277
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
260
278
|
@labels = args[:labels] if args.key?(:labels)
|
261
279
|
@license_type = args[:license_type] if args.key?(:license_type)
|
262
280
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
263
281
|
@machine_type_series = args[:machine_type_series] if args.key?(:machine_type_series)
|
282
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
264
283
|
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
265
284
|
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
285
|
+
@secure_boot = args[:secure_boot] if args.key?(:secure_boot)
|
266
286
|
@service_account = args[:service_account] if args.key?(:service_account)
|
267
287
|
@target_project = args[:target_project] if args.key?(:target_project)
|
268
288
|
@vm_name = args[:vm_name] if args.key?(:vm_name)
|
@@ -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.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211014"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -382,6 +382,7 @@ module Google
|
|
382
382
|
class Representation < Google::Apis::Core::JsonRepresentation
|
383
383
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
|
384
384
|
|
385
|
+
property :boot_option, as: 'bootOption'
|
385
386
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
|
386
387
|
|
387
388
|
property :disk_type, as: 'diskType'
|
@@ -389,9 +390,11 @@ module Google
|
|
389
390
|
property :license_type, as: 'licenseType'
|
390
391
|
property :machine_type, as: 'machineType'
|
391
392
|
property :machine_type_series, as: 'machineTypeSeries'
|
393
|
+
hash :metadata, as: 'metadata'
|
392
394
|
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1::NetworkInterface, decorator: Google::Apis::VmmigrationV1::NetworkInterface::Representation
|
393
395
|
|
394
396
|
collection :network_tags, as: 'networkTags'
|
397
|
+
property :secure_boot, as: 'secureBoot'
|
395
398
|
property :service_account, as: 'serviceAccount'
|
396
399
|
property :target_project, as: 'targetProject'
|
397
400
|
property :vm_name, as: 'vmName'
|
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.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.2.0
|
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: []
|
65
65
|
require_paths:
|