google-apis-vmmigration_v1 0.50.0 → 0.51.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: d046b4ec2458a28832547c3d7f660ee15f993de71ccaf8ec1f65baf055d6ec06
|
4
|
+
data.tar.gz: 776a3e4ad98c4e30034c24cfac35bb6d59705886594a6e383a382f43561d11a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a99868197c4d9cf69d245c311ab1d92a2b93c4b6263390966232e9b368a47e4048af939d27afbdce3bf4d1fe3cf2ff3dfaa81ca3039985ce96c249a015c87e9
|
7
|
+
data.tar.gz: ee2c34f2cf74c9534234127a2a0a9d899b9d0bacfc76d632dfa57cf25cb64aa0b945ca532d42ef504557e6d76545b8afe82b149a61f46d2dc80a889d4a20cb45
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1
|
2
2
|
|
3
|
+
### v0.51.0 (2024-08-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240808
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.50.0 (2024-07-25)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240712
|
@@ -272,11 +272,6 @@ module Google
|
|
272
272
|
# @return [Hash<String,String>]
|
273
273
|
attr_accessor :migration_resources_user_tags
|
274
274
|
|
275
|
-
# Information about the network coniguration of the source.
|
276
|
-
# Corresponds to the JSON property `networkInsights`
|
277
|
-
# @return [Google::Apis::VmmigrationV1::NetworkInsights]
|
278
|
-
attr_accessor :network_insights
|
279
|
-
|
280
275
|
# Output only. The source's public IP. All communication initiated by this
|
281
276
|
# source will originate from this IP.
|
282
277
|
# Corresponds to the JSON property `publicIp`
|
@@ -300,7 +295,6 @@ module Google
|
|
300
295
|
@inventory_security_group_names = args[:inventory_security_group_names] if args.key?(:inventory_security_group_names)
|
301
296
|
@inventory_tag_list = args[:inventory_tag_list] if args.key?(:inventory_tag_list)
|
302
297
|
@migration_resources_user_tags = args[:migration_resources_user_tags] if args.key?(:migration_resources_user_tags)
|
303
|
-
@network_insights = args[:network_insights] if args.key?(:network_insights)
|
304
298
|
@public_ip = args[:public_ip] if args.key?(:public_ip)
|
305
299
|
@state = args[:state] if args.key?(:state)
|
306
300
|
end
|
@@ -804,19 +798,6 @@ module Google
|
|
804
798
|
end
|
805
799
|
end
|
806
800
|
|
807
|
-
# Request message for 'CancelDiskMigrationJob' request.
|
808
|
-
class CancelDiskMigrationJobRequest
|
809
|
-
include Google::Apis::Core::Hashable
|
810
|
-
|
811
|
-
def initialize(**args)
|
812
|
-
update!(**args)
|
813
|
-
end
|
814
|
-
|
815
|
-
# Update properties of this object
|
816
|
-
def update!(**args)
|
817
|
-
end
|
818
|
-
end
|
819
|
-
|
820
801
|
# Request message for 'CancelImageImportJob' request.
|
821
802
|
class CancelImageImportJobRequest
|
822
803
|
include Google::Apis::Core::Hashable
|
@@ -1092,6 +1073,13 @@ module Google
|
|
1092
1073
|
# @return [Google::Apis::VmmigrationV1::AppliedLicense]
|
1093
1074
|
attr_accessor :applied_license
|
1094
1075
|
|
1076
|
+
# Optional. By default the virtual machine will keep its existing boot option.
|
1077
|
+
# Setting this property will trigger an internal process which will convert the
|
1078
|
+
# virtual machine from using the existing boot option to another.
|
1079
|
+
# Corresponds to the JSON property `bootConversion`
|
1080
|
+
# @return [String]
|
1081
|
+
attr_accessor :boot_conversion
|
1082
|
+
|
1095
1083
|
# Output only. The VM Boot Option, as set in the source VM.
|
1096
1084
|
# Corresponds to the JSON property `bootOption`
|
1097
1085
|
# @return [String]
|
@@ -1108,6 +1096,20 @@ module Google
|
|
1108
1096
|
# @return [String]
|
1109
1097
|
attr_accessor :disk_type
|
1110
1098
|
|
1099
|
+
# Optional. Defines whether the instance has integrity monitoring enabled. This
|
1100
|
+
# can be set to true only if the VM boot option is EFI, and vTPM is enabled.
|
1101
|
+
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
1102
|
+
# @return [Boolean]
|
1103
|
+
attr_accessor :enable_integrity_monitoring
|
1104
|
+
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
1105
|
+
|
1106
|
+
# Optional. Defines whether the instance has vTPM enabled. This can be set to
|
1107
|
+
# true only if the VM boot option is EFI.
|
1108
|
+
# Corresponds to the JSON property `enableVtpm`
|
1109
|
+
# @return [Boolean]
|
1110
|
+
attr_accessor :enable_vtpm
|
1111
|
+
alias_method :enable_vtpm?, :enable_vtpm
|
1112
|
+
|
1111
1113
|
# Encryption message describes the details of the applied encryption.
|
1112
1114
|
# Corresponds to the JSON property `encryption`
|
1113
1115
|
# @return [Google::Apis::VmmigrationV1::Encryption]
|
@@ -1189,9 +1191,12 @@ module Google
|
|
1189
1191
|
def update!(**args)
|
1190
1192
|
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
1191
1193
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
1194
|
+
@boot_conversion = args[:boot_conversion] if args.key?(:boot_conversion)
|
1192
1195
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
1193
1196
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
1194
1197
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1198
|
+
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
|
1199
|
+
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
|
1195
1200
|
@encryption = args[:encryption] if args.key?(:encryption)
|
1196
1201
|
@hostname = args[:hostname] if args.key?(:hostname)
|
1197
1202
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -1224,6 +1229,13 @@ module Google
|
|
1224
1229
|
# @return [Google::Apis::VmmigrationV1::AppliedLicense]
|
1225
1230
|
attr_accessor :applied_license
|
1226
1231
|
|
1232
|
+
# Optional. By default the virtual machine will keep its existing boot option.
|
1233
|
+
# Setting this property will trigger an internal process which will convert the
|
1234
|
+
# virtual machine from using the existing boot option to another.
|
1235
|
+
# Corresponds to the JSON property `bootConversion`
|
1236
|
+
# @return [String]
|
1237
|
+
attr_accessor :boot_conversion
|
1238
|
+
|
1227
1239
|
# The VM Boot Option, as set in the source VM.
|
1228
1240
|
# Corresponds to the JSON property `bootOption`
|
1229
1241
|
# @return [String]
|
@@ -1240,6 +1252,18 @@ module Google
|
|
1240
1252
|
# @return [String]
|
1241
1253
|
attr_accessor :disk_type
|
1242
1254
|
|
1255
|
+
# Optional. Defines whether the instance has integrity monitoring enabled.
|
1256
|
+
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
1257
|
+
# @return [Boolean]
|
1258
|
+
attr_accessor :enable_integrity_monitoring
|
1259
|
+
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
1260
|
+
|
1261
|
+
# Optional. Defines whether the instance has vTPM enabled.
|
1262
|
+
# Corresponds to the JSON property `enableVtpm`
|
1263
|
+
# @return [Boolean]
|
1264
|
+
attr_accessor :enable_vtpm
|
1265
|
+
alias_method :enable_vtpm?, :enable_vtpm
|
1266
|
+
|
1243
1267
|
# Encryption message describes the details of the applied encryption.
|
1244
1268
|
# Corresponds to the JSON property `encryption`
|
1245
1269
|
# @return [Google::Apis::VmmigrationV1::Encryption]
|
@@ -1320,9 +1344,12 @@ module Google
|
|
1320
1344
|
def update!(**args)
|
1321
1345
|
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
1322
1346
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
1347
|
+
@boot_conversion = args[:boot_conversion] if args.key?(:boot_conversion)
|
1323
1348
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
1324
1349
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
1325
1350
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1351
|
+
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
|
1352
|
+
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
|
1326
1353
|
@encryption = args[:encryption] if args.key?(:encryption)
|
1327
1354
|
@hostname = args[:hostname] if args.key?(:hostname)
|
1328
1355
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -1909,6 +1936,18 @@ module Google
|
|
1909
1936
|
# @return [Google::Apis::VmmigrationV1::ComputeScheduling]
|
1910
1937
|
attr_accessor :compute_scheduling
|
1911
1938
|
|
1939
|
+
# Optional. Defines whether the instance has integrity monitoring enabled.
|
1940
|
+
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
1941
|
+
# @return [Boolean]
|
1942
|
+
attr_accessor :enable_integrity_monitoring
|
1943
|
+
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
1944
|
+
|
1945
|
+
# Optional. Defines whether the instance has vTPM enabled.
|
1946
|
+
# Corresponds to the JSON property `enableVtpm`
|
1947
|
+
# @return [Boolean]
|
1948
|
+
attr_accessor :enable_vtpm
|
1949
|
+
alias_method :enable_vtpm?, :enable_vtpm
|
1950
|
+
|
1912
1951
|
# Encryption message describes the details of the applied encryption.
|
1913
1952
|
# Corresponds to the JSON property `encryption`
|
1914
1953
|
# @return [Google::Apis::VmmigrationV1::Encryption]
|
@@ -1975,6 +2014,8 @@ module Google
|
|
1975
2014
|
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
1976
2015
|
@boot_disk_defaults = args[:boot_disk_defaults] if args.key?(:boot_disk_defaults)
|
1977
2016
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
2017
|
+
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
|
2018
|
+
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
|
1978
2019
|
@encryption = args[:encryption] if args.key?(:encryption)
|
1979
2020
|
@hostname = args[:hostname] if args.key?(:hostname)
|
1980
2021
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -3324,33 +3365,6 @@ module Google
|
|
3324
3365
|
end
|
3325
3366
|
end
|
3326
3367
|
|
3327
|
-
# Information about the network coniguration of the source.
|
3328
|
-
class NetworkInsights
|
3329
|
-
include Google::Apis::Core::Hashable
|
3330
|
-
|
3331
|
-
# Output only. The gathered network configuration of the source. Presented in
|
3332
|
-
# json format.
|
3333
|
-
# Corresponds to the JSON property `sourceNetworkConfig`
|
3334
|
-
# @return [String]
|
3335
|
-
attr_accessor :source_network_config
|
3336
|
-
|
3337
|
-
# Output only. The gathered network configuration of the source. Presented in
|
3338
|
-
# terraform format.
|
3339
|
-
# Corresponds to the JSON property `sourceNetworkTerraform`
|
3340
|
-
# @return [String]
|
3341
|
-
attr_accessor :source_network_terraform
|
3342
|
-
|
3343
|
-
def initialize(**args)
|
3344
|
-
update!(**args)
|
3345
|
-
end
|
3346
|
-
|
3347
|
-
# Update properties of this object
|
3348
|
-
def update!(**args)
|
3349
|
-
@source_network_config = args[:source_network_config] if args.key?(:source_network_config)
|
3350
|
-
@source_network_terraform = args[:source_network_terraform] if args.key?(:source_network_terraform)
|
3351
|
-
end
|
3352
|
-
end
|
3353
|
-
|
3354
3368
|
# NetworkInterface represents a NIC of a VM.
|
3355
3369
|
class NetworkInterface
|
3356
3370
|
include Google::Apis::Core::Hashable
|
@@ -3371,8 +3385,9 @@ module Google
|
|
3371
3385
|
# @return [String]
|
3372
3386
|
attr_accessor :network
|
3373
3387
|
|
3374
|
-
# Optional. The networking tier used for
|
3375
|
-
#
|
3388
|
+
# Optional. The networking tier used for optimizing connectivity between
|
3389
|
+
# instances and systems on the internet. Applies only for external ephemeral IP
|
3390
|
+
# addresses. If left empty, will default to PREMIUM.
|
3376
3391
|
# Corresponds to the JSON property `networkTier`
|
3377
3392
|
# @return [String]
|
3378
3393
|
attr_accessor :network_tier
|
@@ -3867,19 +3882,6 @@ module Google
|
|
3867
3882
|
end
|
3868
3883
|
end
|
3869
3884
|
|
3870
|
-
# Request message for 'RunDiskMigrationJobRequest' request.
|
3871
|
-
class RunDiskMigrationJobRequest
|
3872
|
-
include Google::Apis::Core::Hashable
|
3873
|
-
|
3874
|
-
def initialize(**args)
|
3875
|
-
update!(**args)
|
3876
|
-
end
|
3877
|
-
|
3878
|
-
# Update properties of this object
|
3879
|
-
def update!(**args)
|
3880
|
-
end
|
3881
|
-
end
|
3882
|
-
|
3883
3885
|
# A policy for scheduling replications.
|
3884
3886
|
class SchedulePolicy
|
3885
3887
|
include Google::Apis::Core::Hashable
|
@@ -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.51.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240808"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -142,12 +142,6 @@ module Google
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
-
class CancelDiskMigrationJobRequest
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
-
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
149
|
-
end
|
150
|
-
|
151
145
|
class CancelImageImportJobRequest
|
152
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
147
|
|
@@ -496,12 +490,6 @@ module Google
|
|
496
490
|
include Google::Apis::Core::JsonObjectSupport
|
497
491
|
end
|
498
492
|
|
499
|
-
class NetworkInsights
|
500
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
-
|
502
|
-
include Google::Apis::Core::JsonObjectSupport
|
503
|
-
end
|
504
|
-
|
505
493
|
class NetworkInterface
|
506
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
495
|
|
@@ -592,12 +580,6 @@ module Google
|
|
592
580
|
include Google::Apis::Core::JsonObjectSupport
|
593
581
|
end
|
594
582
|
|
595
|
-
class RunDiskMigrationJobRequest
|
596
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
-
|
598
|
-
include Google::Apis::Core::JsonObjectSupport
|
599
|
-
end
|
600
|
-
|
601
583
|
class SchedulePolicy
|
602
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
585
|
|
@@ -815,8 +797,6 @@ module Google
|
|
815
797
|
collection :inventory_tag_list, as: 'inventoryTagList', class: Google::Apis::VmmigrationV1::Tag, decorator: Google::Apis::VmmigrationV1::Tag::Representation
|
816
798
|
|
817
799
|
hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
|
818
|
-
property :network_insights, as: 'networkInsights', class: Google::Apis::VmmigrationV1::NetworkInsights, decorator: Google::Apis::VmmigrationV1::NetworkInsights::Representation
|
819
|
-
|
820
800
|
property :public_ip, as: 'publicIp'
|
821
801
|
property :state, as: 'state'
|
822
802
|
end
|
@@ -958,12 +938,6 @@ module Google
|
|
958
938
|
end
|
959
939
|
end
|
960
940
|
|
961
|
-
class CancelDiskMigrationJobRequest
|
962
|
-
# @private
|
963
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
964
|
-
end
|
965
|
-
end
|
966
|
-
|
967
941
|
class CancelImageImportJobRequest
|
968
942
|
# @private
|
969
943
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1050,10 +1024,13 @@ module Google
|
|
1050
1024
|
collection :additional_licenses, as: 'additionalLicenses'
|
1051
1025
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
|
1052
1026
|
|
1027
|
+
property :boot_conversion, as: 'bootConversion'
|
1053
1028
|
property :boot_option, as: 'bootOption'
|
1054
1029
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
|
1055
1030
|
|
1056
1031
|
property :disk_type, as: 'diskType'
|
1032
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
1033
|
+
property :enable_vtpm, as: 'enableVtpm'
|
1057
1034
|
property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
|
1058
1035
|
|
1059
1036
|
property :hostname, as: 'hostname'
|
@@ -1079,10 +1056,13 @@ module Google
|
|
1079
1056
|
collection :additional_licenses, as: 'additionalLicenses'
|
1080
1057
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
|
1081
1058
|
|
1059
|
+
property :boot_conversion, as: 'bootConversion'
|
1082
1060
|
property :boot_option, as: 'bootOption'
|
1083
1061
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
|
1084
1062
|
|
1085
1063
|
property :disk_type, as: 'diskType'
|
1064
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
1065
|
+
property :enable_vtpm, as: 'enableVtpm'
|
1086
1066
|
property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
|
1087
1067
|
|
1088
1068
|
property :hostname, as: 'hostname'
|
@@ -1263,6 +1243,8 @@ module Google
|
|
1263
1243
|
|
1264
1244
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
|
1265
1245
|
|
1246
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
1247
|
+
property :enable_vtpm, as: 'enableVtpm'
|
1266
1248
|
property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
|
1267
1249
|
|
1268
1250
|
property :hostname, as: 'hostname'
|
@@ -1677,14 +1659,6 @@ module Google
|
|
1677
1659
|
end
|
1678
1660
|
end
|
1679
1661
|
|
1680
|
-
class NetworkInsights
|
1681
|
-
# @private
|
1682
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1683
|
-
property :source_network_config, as: 'sourceNetworkConfig'
|
1684
|
-
property :source_network_terraform, as: 'sourceNetworkTerraform'
|
1685
|
-
end
|
1686
|
-
end
|
1687
|
-
|
1688
1662
|
class NetworkInterface
|
1689
1663
|
# @private
|
1690
1664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1829,12 +1803,6 @@ module Google
|
|
1829
1803
|
end
|
1830
1804
|
end
|
1831
1805
|
|
1832
|
-
class RunDiskMigrationJobRequest
|
1833
|
-
# @private
|
1834
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1835
|
-
end
|
1836
|
-
end
|
1837
|
-
|
1838
1806
|
class SchedulePolicy
|
1839
1807
|
# @private
|
1840
1808
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1304,72 +1304,6 @@ module Google
|
|
1304
1304
|
execute_or_queue_command(command, &block)
|
1305
1305
|
end
|
1306
1306
|
|
1307
|
-
# Cancels the disk migration job.
|
1308
|
-
# @param [String] name
|
1309
|
-
# Required. The name of the DiskMigrationJob.
|
1310
|
-
# @param [Google::Apis::VmmigrationV1::CancelDiskMigrationJobRequest] cancel_disk_migration_job_request_object
|
1311
|
-
# @param [String] fields
|
1312
|
-
# Selector specifying which fields to include in a partial response.
|
1313
|
-
# @param [String] quota_user
|
1314
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1315
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1316
|
-
# @param [Google::Apis::RequestOptions] options
|
1317
|
-
# Request-specific options
|
1318
|
-
#
|
1319
|
-
# @yield [result, err] Result & error if block supplied
|
1320
|
-
# @yieldparam result [Google::Apis::VmmigrationV1::Operation] parsed result object
|
1321
|
-
# @yieldparam err [StandardError] error object if request failed
|
1322
|
-
#
|
1323
|
-
# @return [Google::Apis::VmmigrationV1::Operation]
|
1324
|
-
#
|
1325
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1326
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1327
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1328
|
-
def cancel_disk_migration_job(name, cancel_disk_migration_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1329
|
-
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
1330
|
-
command.request_representation = Google::Apis::VmmigrationV1::CancelDiskMigrationJobRequest::Representation
|
1331
|
-
command.request_object = cancel_disk_migration_job_request_object
|
1332
|
-
command.response_representation = Google::Apis::VmmigrationV1::Operation::Representation
|
1333
|
-
command.response_class = Google::Apis::VmmigrationV1::Operation
|
1334
|
-
command.params['name'] = name unless name.nil?
|
1335
|
-
command.query['fields'] = fields unless fields.nil?
|
1336
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1337
|
-
execute_or_queue_command(command, &block)
|
1338
|
-
end
|
1339
|
-
|
1340
|
-
# Runs the disk migration job.
|
1341
|
-
# @param [String] name
|
1342
|
-
# Required. The name of the DiskMigrationJob.
|
1343
|
-
# @param [Google::Apis::VmmigrationV1::RunDiskMigrationJobRequest] run_disk_migration_job_request_object
|
1344
|
-
# @param [String] fields
|
1345
|
-
# Selector specifying which fields to include in a partial response.
|
1346
|
-
# @param [String] quota_user
|
1347
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1348
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1349
|
-
# @param [Google::Apis::RequestOptions] options
|
1350
|
-
# Request-specific options
|
1351
|
-
#
|
1352
|
-
# @yield [result, err] Result & error if block supplied
|
1353
|
-
# @yieldparam result [Google::Apis::VmmigrationV1::Operation] parsed result object
|
1354
|
-
# @yieldparam err [StandardError] error object if request failed
|
1355
|
-
#
|
1356
|
-
# @return [Google::Apis::VmmigrationV1::Operation]
|
1357
|
-
#
|
1358
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1359
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1360
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1361
|
-
def run_disk_migration_job(name, run_disk_migration_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1362
|
-
command = make_simple_command(:post, 'v1/{+name}:run', options)
|
1363
|
-
command.request_representation = Google::Apis::VmmigrationV1::RunDiskMigrationJobRequest::Representation
|
1364
|
-
command.request_object = run_disk_migration_job_request_object
|
1365
|
-
command.response_representation = Google::Apis::VmmigrationV1::Operation::Representation
|
1366
|
-
command.response_class = Google::Apis::VmmigrationV1::Operation
|
1367
|
-
command.params['name'] = name unless name.nil?
|
1368
|
-
command.query['fields'] = fields unless fields.nil?
|
1369
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1370
|
-
execute_or_queue_command(command, &block)
|
1371
|
-
end
|
1372
|
-
|
1373
1307
|
# Creates a new MigratingVm in a given Source.
|
1374
1308
|
# @param [String] parent
|
1375
1309
|
# Required. The MigratingVm's parent.
|
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.51.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: 2024-
|
11
|
+
date: 2024-08-18 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.51.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: []
|