google-apis-vmmigration_v1 0.9.0 → 0.12.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: 2d4c87d3dc0898813f8b5cdb34e3e73feaed87efe8987e2e1f58c59bf2b5a935
|
4
|
+
data.tar.gz: 1c16ae83e77dd1fdc3eabfafeecf61d52660e09037359dd0d9e757f92ac5308a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c1f7dba250971945839d7ee875d2c9c361b09d2819adc31e45f8c6ab6c80ce161f02cc67a8e9d1d9fce19aad0c76f92fa89564fcda8013322a284fcf3e7cc76
|
7
|
+
data.tar.gz: 0bdd235be3dbba8cf56e3cbccc85846cf19e828fb067c2351a68c0a63449d59063f3186ed729f166af2e4e62c76f5cb319702bf625743ca43288eb6fa89a858d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2022-05-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220520
|
6
|
+
|
7
|
+
### v0.11.0 (2022-05-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220428
|
10
|
+
|
11
|
+
### v0.10.0 (2022-04-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220408
|
14
|
+
|
3
15
|
### v0.9.0 (2022-04-08)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220401
|
@@ -129,6 +129,25 @@ module Google
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
+
# Represent the source AWS VM details.
|
133
|
+
class AwsSourceVmDetails
|
134
|
+
include Google::Apis::Core::Hashable
|
135
|
+
|
136
|
+
# The firmware type of the source VM.
|
137
|
+
# Corresponds to the JSON property `firmware`
|
138
|
+
# @return [String]
|
139
|
+
attr_accessor :firmware
|
140
|
+
|
141
|
+
def initialize(**args)
|
142
|
+
update!(**args)
|
143
|
+
end
|
144
|
+
|
145
|
+
# Update properties of this object
|
146
|
+
def update!(**args)
|
147
|
+
@firmware = args[:firmware] if args.key?(:firmware)
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
132
151
|
# Request message for 'CancelCloneJob' request.
|
133
152
|
class CancelCloneJobRequest
|
134
153
|
include Google::Apis::Core::Hashable
|
@@ -269,6 +288,11 @@ module Google
|
|
269
288
|
# @return [String]
|
270
289
|
attr_accessor :disk_type
|
271
290
|
|
291
|
+
# The hostname to assign to the VM.
|
292
|
+
# Corresponds to the JSON property `hostname`
|
293
|
+
# @return [String]
|
294
|
+
attr_accessor :hostname
|
295
|
+
|
272
296
|
# A map of labels to associate with the VM.
|
273
297
|
# Corresponds to the JSON property `labels`
|
274
298
|
# @return [Hash<String,String>]
|
@@ -343,6 +367,7 @@ module Google
|
|
343
367
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
344
368
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
345
369
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
370
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
346
371
|
@labels = args[:labels] if args.key?(:labels)
|
347
372
|
@license_type = args[:license_type] if args.key?(:license_type)
|
348
373
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
@@ -389,6 +414,11 @@ module Google
|
|
389
414
|
# @return [String]
|
390
415
|
attr_accessor :disk_type
|
391
416
|
|
417
|
+
# The hostname to assign to the VM.
|
418
|
+
# Corresponds to the JSON property `hostname`
|
419
|
+
# @return [String]
|
420
|
+
attr_accessor :hostname
|
421
|
+
|
392
422
|
# A map of labels to associate with the VM.
|
393
423
|
# Corresponds to the JSON property `labels`
|
394
424
|
# @return [Hash<String,String>]
|
@@ -462,6 +492,7 @@ module Google
|
|
462
492
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
463
493
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
464
494
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
495
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
465
496
|
@labels = args[:labels] if args.key?(:labels)
|
466
497
|
@license_type = args[:license_type] if args.key?(:license_type)
|
467
498
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
@@ -731,6 +762,12 @@ module Google
|
|
731
762
|
class FetchInventoryResponse
|
732
763
|
include Google::Apis::Core::Hashable
|
733
764
|
|
765
|
+
# Output only. A token, which can be sent as `page_token` to retrieve the next
|
766
|
+
# page. If this field is omitted, there are no subsequent pages.
|
767
|
+
# Corresponds to the JSON property `nextPageToken`
|
768
|
+
# @return [String]
|
769
|
+
attr_accessor :next_page_token
|
770
|
+
|
734
771
|
# Output only. The timestamp when the source was last queried (if the result is
|
735
772
|
# from the cache).
|
736
773
|
# Corresponds to the JSON property `updateTime`
|
@@ -748,6 +785,7 @@ module Google
|
|
748
785
|
|
749
786
|
# Update properties of this object
|
750
787
|
def update!(**args)
|
788
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
751
789
|
@update_time = args[:update_time] if args.key?(:update_time)
|
752
790
|
@vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
|
753
791
|
end
|
@@ -1220,6 +1258,11 @@ module Google
|
|
1220
1258
|
class MigratingVm
|
1221
1259
|
include Google::Apis::Core::Hashable
|
1222
1260
|
|
1261
|
+
# Represent the source AWS VM details.
|
1262
|
+
# Corresponds to the JSON property `awsSourceVmDetails`
|
1263
|
+
# @return [Google::Apis::VmmigrationV1::AwsSourceVmDetails]
|
1264
|
+
attr_accessor :aws_source_vm_details
|
1265
|
+
|
1223
1266
|
# ComputeEngineTargetDefaults is a collection of details for creating a VM in a
|
1224
1267
|
# target Compute Engine project.
|
1225
1268
|
# Corresponds to the JSON property `computeEngineTargetDefaults`
|
@@ -1328,6 +1371,7 @@ module Google
|
|
1328
1371
|
|
1329
1372
|
# Update properties of this object
|
1330
1373
|
def update!(**args)
|
1374
|
+
@aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
|
1331
1375
|
@compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
|
1332
1376
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1333
1377
|
@current_sync_info = args[:current_sync_info] if args.key?(:current_sync_info)
|
@@ -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.12.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 = "20220520"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class AwsSourceVmDetails
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class CancelCloneJobRequest
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -381,6 +387,13 @@ module Google
|
|
381
387
|
end
|
382
388
|
end
|
383
389
|
|
390
|
+
class AwsSourceVmDetails
|
391
|
+
# @private
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
393
|
+
property :firmware, as: 'firmware'
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
384
397
|
class CancelCloneJobRequest
|
385
398
|
# @private
|
386
399
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -424,6 +437,7 @@ module Google
|
|
424
437
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
|
425
438
|
|
426
439
|
property :disk_type, as: 'diskType'
|
440
|
+
property :hostname, as: 'hostname'
|
427
441
|
hash :labels, as: 'labels'
|
428
442
|
property :license_type, as: 'licenseType'
|
429
443
|
property :machine_type, as: 'machineType'
|
@@ -450,6 +464,7 @@ module Google
|
|
450
464
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
|
451
465
|
|
452
466
|
property :disk_type, as: 'diskType'
|
467
|
+
property :hostname, as: 'hostname'
|
453
468
|
hash :labels, as: 'labels'
|
454
469
|
property :license_type, as: 'licenseType'
|
455
470
|
property :machine_type, as: 'machineType'
|
@@ -526,6 +541,7 @@ module Google
|
|
526
541
|
class FetchInventoryResponse
|
527
542
|
# @private
|
528
543
|
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
property :next_page_token, as: 'nextPageToken'
|
529
545
|
property :update_time, as: 'updateTime'
|
530
546
|
property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1::VmwareVmsDetails::Representation
|
531
547
|
|
@@ -677,6 +693,8 @@ module Google
|
|
677
693
|
class MigratingVm
|
678
694
|
# @private
|
679
695
|
class Representation < Google::Apis::Core::JsonRepresentation
|
696
|
+
property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceVmDetails::Representation
|
697
|
+
|
680
698
|
property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults::Representation
|
681
699
|
|
682
700
|
property :create_time, as: 'createTime'
|
@@ -656,6 +656,16 @@ module Google
|
|
656
656
|
# @param [Boolean] force_refresh
|
657
657
|
# If this flag is set to true, the source will be queried instead of using
|
658
658
|
# cached results. Using this flag will make the call slower.
|
659
|
+
# @param [Fixnum] page_size
|
660
|
+
# The maximum number of VMs to return. The service may return fewer than this
|
661
|
+
# value. For AWS source: If unspecified, at most 500 VMs will be returned. The
|
662
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000. For VMWare
|
663
|
+
# source: If unspecified, all VMs will be returned. There is no limit for
|
664
|
+
# maximum value.
|
665
|
+
# @param [String] page_token
|
666
|
+
# A page token, received from a previous `FetchInventory` call. Provide this to
|
667
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
668
|
+
# to `FetchInventory` must match the call that provided the page token.
|
659
669
|
# @param [String] fields
|
660
670
|
# Selector specifying which fields to include in a partial response.
|
661
671
|
# @param [String] quota_user
|
@@ -673,12 +683,14 @@ module Google
|
|
673
683
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
674
684
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
675
685
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
676
|
-
def fetch_project_location_source_inventory(source, force_refresh: nil, fields: nil, quota_user: nil, options: nil, &block)
|
686
|
+
def fetch_project_location_source_inventory(source, force_refresh: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
677
687
|
command = make_simple_command(:get, 'v1/{+source}:fetchInventory', options)
|
678
688
|
command.response_representation = Google::Apis::VmmigrationV1::FetchInventoryResponse::Representation
|
679
689
|
command.response_class = Google::Apis::VmmigrationV1::FetchInventoryResponse
|
680
690
|
command.params['source'] = source unless source.nil?
|
681
691
|
command.query['forceRefresh'] = force_refresh unless force_refresh.nil?
|
692
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
693
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
682
694
|
command.query['fields'] = fields unless fields.nil?
|
683
695
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
684
696
|
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.12.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-05-30 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.12.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.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for VM Migration API V1
|