google-apis-vmmigration_v1alpha1 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 +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/vmmigration_v1alpha1/classes.rb +45 -1
- data/lib/google/apis/vmmigration_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/vmmigration_v1alpha1/representations.rb +18 -0
- data/lib/google/apis/vmmigration_v1alpha1/service.rb +13 -1
- 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: 07bb810db44112e4261092c0e9927c0104a4617c94ce06ff17af73cd7b6943ea
|
4
|
+
data.tar.gz: 4a6aad1570f1a1dd42af4f4fbedde8764214120d766bc9bfb2255c6b40ba7892
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d90f0816fd416d72b651c960ce944e0934e3230a4ced7658cc273e3fc11892a86ea342ae9e3f61564ab5c55c1ccd53b6010f8d254940e0afd6d517904771f55f
|
7
|
+
data.tar.gz: 540165ad2d32138d06bd6fe7812d1879519b0278b847a780210fb3f1afbd380af6e1f108e844cbf50ccde141c7b9a6c76c809a9fb856ab3dc9ae4eae9a9027eb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1alpha1
|
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
|
@@ -277,6 +296,11 @@ module Google
|
|
277
296
|
# @return [String]
|
278
297
|
attr_accessor :disk_type
|
279
298
|
|
299
|
+
# The hostname to assign to the VM.
|
300
|
+
# Corresponds to the JSON property `hostname`
|
301
|
+
# @return [String]
|
302
|
+
attr_accessor :hostname
|
303
|
+
|
280
304
|
# A map of labels to associate with the VM.
|
281
305
|
# Corresponds to the JSON property `labels`
|
282
306
|
# @return [Hash<String,String>]
|
@@ -351,6 +375,7 @@ module Google
|
|
351
375
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
352
376
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
353
377
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
378
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
354
379
|
@labels = args[:labels] if args.key?(:labels)
|
355
380
|
@license_type = args[:license_type] if args.key?(:license_type)
|
356
381
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
@@ -397,6 +422,11 @@ module Google
|
|
397
422
|
# @return [String]
|
398
423
|
attr_accessor :disk_type
|
399
424
|
|
425
|
+
# The hostname to assign to the VM.
|
426
|
+
# Corresponds to the JSON property `hostname`
|
427
|
+
# @return [String]
|
428
|
+
attr_accessor :hostname
|
429
|
+
|
400
430
|
# A map of labels to associate with the VM.
|
401
431
|
# Corresponds to the JSON property `labels`
|
402
432
|
# @return [Hash<String,String>]
|
@@ -470,6 +500,7 @@ module Google
|
|
470
500
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
471
501
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
472
502
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
503
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
473
504
|
@labels = args[:labels] if args.key?(:labels)
|
474
505
|
@license_type = args[:license_type] if args.key?(:license_type)
|
475
506
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
@@ -627,7 +658,7 @@ module Google
|
|
627
658
|
end
|
628
659
|
end
|
629
660
|
|
630
|
-
# CycleStep
|
661
|
+
# CycleStep holds information about a step progress.
|
631
662
|
class CycleStep
|
632
663
|
include Google::Apis::Core::Hashable
|
633
664
|
|
@@ -803,6 +834,12 @@ module Google
|
|
803
834
|
class FetchInventoryResponse
|
804
835
|
include Google::Apis::Core::Hashable
|
805
836
|
|
837
|
+
# Output only. A token, which can be sent as `page_token` to retrieve the next
|
838
|
+
# page. If this field is omitted, there are no subsequent pages.
|
839
|
+
# Corresponds to the JSON property `nextPageToken`
|
840
|
+
# @return [String]
|
841
|
+
attr_accessor :next_page_token
|
842
|
+
|
806
843
|
# Output only. The timestamp when the source was last queried (if the result is
|
807
844
|
# from the cache).
|
808
845
|
# Corresponds to the JSON property `updateTime`
|
@@ -820,6 +857,7 @@ module Google
|
|
820
857
|
|
821
858
|
# Update properties of this object
|
822
859
|
def update!(**args)
|
860
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
823
861
|
@update_time = args[:update_time] if args.key?(:update_time)
|
824
862
|
@vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
|
825
863
|
end
|
@@ -1305,6 +1343,11 @@ module Google
|
|
1305
1343
|
class MigratingVm
|
1306
1344
|
include Google::Apis::Core::Hashable
|
1307
1345
|
|
1346
|
+
# Represent the source AWS VM details.
|
1347
|
+
# Corresponds to the JSON property `awsSourceVmDetails`
|
1348
|
+
# @return [Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails]
|
1349
|
+
attr_accessor :aws_source_vm_details
|
1350
|
+
|
1308
1351
|
# ComputeEngineTargetDefaults is a collection of details for creating a VM in a
|
1309
1352
|
# target Compute Engine project.
|
1310
1353
|
# Corresponds to the JSON property `computeEngineTargetDefaults`
|
@@ -1425,6 +1468,7 @@ module Google
|
|
1425
1468
|
|
1426
1469
|
# Update properties of this object
|
1427
1470
|
def update!(**args)
|
1471
|
+
@aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
|
1428
1472
|
@compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
|
1429
1473
|
@compute_engine_vm_defaults = args[:compute_engine_vm_defaults] if args.key?(:compute_engine_vm_defaults)
|
1430
1474
|
@create_time = args[:create_time] if args.key?(:create_time)
|
@@ -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.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
|
|
@@ -411,6 +417,13 @@ module Google
|
|
411
417
|
end
|
412
418
|
end
|
413
419
|
|
420
|
+
class AwsSourceVmDetails
|
421
|
+
# @private
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
423
|
+
property :firmware, as: 'firmware'
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
414
427
|
class CancelCloneJobRequest
|
415
428
|
# @private
|
416
429
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -457,6 +470,7 @@ module Google
|
|
457
470
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
|
458
471
|
|
459
472
|
property :disk_type, as: 'diskType'
|
473
|
+
property :hostname, as: 'hostname'
|
460
474
|
hash :labels, as: 'labels'
|
461
475
|
property :license_type, as: 'licenseType'
|
462
476
|
property :machine_type, as: 'machineType'
|
@@ -483,6 +497,7 @@ module Google
|
|
483
497
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
|
484
498
|
|
485
499
|
property :disk_type, as: 'diskType'
|
500
|
+
property :hostname, as: 'hostname'
|
486
501
|
hash :labels, as: 'labels'
|
487
502
|
property :license_type, as: 'licenseType'
|
488
503
|
property :machine_type, as: 'machineType'
|
@@ -578,6 +593,7 @@ module Google
|
|
578
593
|
class FetchInventoryResponse
|
579
594
|
# @private
|
580
595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
596
|
+
property :next_page_token, as: 'nextPageToken'
|
581
597
|
property :update_time, as: 'updateTime'
|
582
598
|
property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails::Representation
|
583
599
|
|
@@ -735,6 +751,8 @@ module Google
|
|
735
751
|
class MigratingVm
|
736
752
|
# @private
|
737
753
|
class Representation < Google::Apis::Core::JsonRepresentation
|
754
|
+
property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails::Representation
|
755
|
+
|
738
756
|
property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults::Representation
|
739
757
|
|
740
758
|
property :compute_engine_vm_defaults, as: 'computeEngineVmDefaults', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
|
@@ -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, 'v1alpha1/{+source}:fetchInventory', options)
|
678
688
|
command.response_representation = Google::Apis::VmmigrationV1alpha1::FetchInventoryResponse::Representation
|
679
689
|
command.response_class = Google::Apis::VmmigrationV1alpha1::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_v1alpha1
|
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_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.12.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.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 V1alpha1
|