google-apis-vmmigration_v1alpha1 0.51.0 → 0.53.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 +10 -0
- data/lib/google/apis/vmmigration_v1alpha1/classes.rb +106 -69
- data/lib/google/apis/vmmigration_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/vmmigration_v1alpha1/representations.rb +13 -40
- data/lib/google/apis/vmmigration_v1alpha1/service.rb +8 -74
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7c4e47598fa1299269188f02e16f171260fc3ef858a8788e7ca4b9370e32441
|
4
|
+
data.tar.gz: b61f07528e524f5ba2e8e6238909c0cc46d2034580ba68fb646f7b1ffd2ba87b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ec62bcf171ca243ee6fb4af3f863ea8647c732c2fa29feb8d4b98d8f085614733902a04058ab32ecb0a8268fb1b089619330535760344c79b9442372f9b1e27
|
7
|
+
data.tar.gz: 619ceb3133499ec8074c21a3caae788c99e748756493359139f2554423c1a1a66be175dec09829f1565588a4c98121355338982de5cbe616f0b6467a594a2fa6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1alpha1
|
2
2
|
|
3
|
+
### v0.53.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250213
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.52.0 (2024-12-02)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241114
|
11
|
+
* Regenerated using generator version 0.15.1
|
12
|
+
|
3
13
|
### v0.51.0 (2024-07-25)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20240712
|
@@ -149,7 +149,7 @@ module Google
|
|
149
149
|
end
|
150
150
|
end
|
151
151
|
|
152
|
-
# Holds
|
152
|
+
# Holds information about the available versions for upgrade.
|
153
153
|
class AvailableUpdates
|
154
154
|
include Google::Apis::Core::Hashable
|
155
155
|
|
@@ -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::VmmigrationV1alpha1::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
|
@@ -310,6 +304,11 @@ module Google
|
|
310
304
|
class AwsSourceVmDetails
|
311
305
|
include Google::Apis::Core::Hashable
|
312
306
|
|
307
|
+
# Output only. The VM architecture.
|
308
|
+
# Corresponds to the JSON property `architecture`
|
309
|
+
# @return [String]
|
310
|
+
attr_accessor :architecture
|
311
|
+
|
313
312
|
# Output only. The total size of the disks being migrated in bytes.
|
314
313
|
# Corresponds to the JSON property `committedStorageBytes`
|
315
314
|
# @return [Fixnum]
|
@@ -337,6 +336,7 @@ module Google
|
|
337
336
|
|
338
337
|
# Update properties of this object
|
339
338
|
def update!(**args)
|
339
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
340
340
|
@committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
|
341
341
|
@disks = args[:disks] if args.key?(:disks)
|
342
342
|
@firmware = args[:firmware] if args.key?(:firmware)
|
@@ -585,6 +585,11 @@ module Google
|
|
585
585
|
class AzureSourceVmDetails
|
586
586
|
include Google::Apis::Core::Hashable
|
587
587
|
|
588
|
+
# Output only. The VM architecture.
|
589
|
+
# Corresponds to the JSON property `architecture`
|
590
|
+
# @return [String]
|
591
|
+
attr_accessor :architecture
|
592
|
+
|
588
593
|
# Output only. The total size of the disks being migrated in bytes.
|
589
594
|
# Corresponds to the JSON property `committedStorageBytes`
|
590
595
|
# @return [Fixnum]
|
@@ -612,6 +617,7 @@ module Google
|
|
612
617
|
|
613
618
|
# Update properties of this object
|
614
619
|
def update!(**args)
|
620
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
615
621
|
@committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
|
616
622
|
@disks = args[:disks] if args.key?(:disks)
|
617
623
|
@firmware = args[:firmware] if args.key?(:firmware)
|
@@ -623,6 +629,11 @@ module Google
|
|
623
629
|
class AzureVmDetails
|
624
630
|
include Google::Apis::Core::Hashable
|
625
631
|
|
632
|
+
# The CPU architecture.
|
633
|
+
# Corresponds to the JSON property `architecture`
|
634
|
+
# @return [String]
|
635
|
+
attr_accessor :architecture
|
636
|
+
|
626
637
|
# The VM Boot Option.
|
627
638
|
# Corresponds to the JSON property `bootOption`
|
628
639
|
# @return [String]
|
@@ -695,6 +706,7 @@ module Google
|
|
695
706
|
|
696
707
|
# Update properties of this object
|
697
708
|
def update!(**args)
|
709
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
698
710
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
699
711
|
@committed_storage_mb = args[:committed_storage_mb] if args.key?(:committed_storage_mb)
|
700
712
|
@computer_name = args[:computer_name] if args.key?(:computer_name)
|
@@ -804,19 +816,6 @@ module Google
|
|
804
816
|
end
|
805
817
|
end
|
806
818
|
|
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
819
|
# Request message for 'CancelImageImportJob' request.
|
821
820
|
class CancelImageImportJobRequest
|
822
821
|
include Google::Apis::Core::Hashable
|
@@ -1106,13 +1105,21 @@ module Google
|
|
1106
1105
|
# @return [Google::Apis::VmmigrationV1alpha1::AppliedLicense]
|
1107
1106
|
attr_accessor :applied_license
|
1108
1107
|
|
1108
|
+
# Optional. By default the virtual machine will keep its existing boot option.
|
1109
|
+
# Setting this property will trigger an internal process which will convert the
|
1110
|
+
# virtual machine from using the existing boot option to another.
|
1111
|
+
# Corresponds to the JSON property `bootConversion`
|
1112
|
+
# @return [String]
|
1113
|
+
attr_accessor :boot_conversion
|
1114
|
+
|
1109
1115
|
# Output only. The VM Boot Option, as set in the source VM.
|
1110
1116
|
# Corresponds to the JSON property `bootOption`
|
1111
1117
|
# @return [String]
|
1112
1118
|
attr_accessor :boot_option
|
1113
1119
|
|
1114
1120
|
# Scheduling information for VM on maintenance/restart behaviour and node
|
1115
|
-
# allocation in sole tenant nodes.
|
1121
|
+
# allocation in sole tenant nodes. Options for instance behavior when the host
|
1122
|
+
# machine undergoes maintenance that may temporarily impact instance performance.
|
1116
1123
|
# Corresponds to the JSON property `computeScheduling`
|
1117
1124
|
# @return [Google::Apis::VmmigrationV1alpha1::ComputeScheduling]
|
1118
1125
|
attr_accessor :compute_scheduling
|
@@ -1122,6 +1129,20 @@ module Google
|
|
1122
1129
|
# @return [String]
|
1123
1130
|
attr_accessor :disk_type
|
1124
1131
|
|
1132
|
+
# Optional. Defines whether the instance has integrity monitoring enabled. This
|
1133
|
+
# can be set to true only if the VM boot option is EFI, and vTPM is enabled.
|
1134
|
+
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
1135
|
+
# @return [Boolean]
|
1136
|
+
attr_accessor :enable_integrity_monitoring
|
1137
|
+
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
1138
|
+
|
1139
|
+
# Optional. Defines whether the instance has vTPM enabled. This can be set to
|
1140
|
+
# true only if the VM boot option is EFI.
|
1141
|
+
# Corresponds to the JSON property `enableVtpm`
|
1142
|
+
# @return [Boolean]
|
1143
|
+
attr_accessor :enable_vtpm
|
1144
|
+
alias_method :enable_vtpm?, :enable_vtpm
|
1145
|
+
|
1125
1146
|
# Encryption message describes the details of the applied encryption.
|
1126
1147
|
# Corresponds to the JSON property `encryption`
|
1127
1148
|
# @return [Google::Apis::VmmigrationV1alpha1::Encryption]
|
@@ -1203,9 +1224,12 @@ module Google
|
|
1203
1224
|
def update!(**args)
|
1204
1225
|
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
1205
1226
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
1227
|
+
@boot_conversion = args[:boot_conversion] if args.key?(:boot_conversion)
|
1206
1228
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
1207
1229
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
1208
1230
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1231
|
+
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
|
1232
|
+
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
|
1209
1233
|
@encryption = args[:encryption] if args.key?(:encryption)
|
1210
1234
|
@hostname = args[:hostname] if args.key?(:hostname)
|
1211
1235
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -1238,13 +1262,21 @@ module Google
|
|
1238
1262
|
# @return [Google::Apis::VmmigrationV1alpha1::AppliedLicense]
|
1239
1263
|
attr_accessor :applied_license
|
1240
1264
|
|
1265
|
+
# Optional. By default the virtual machine will keep its existing boot option.
|
1266
|
+
# Setting this property will trigger an internal process which will convert the
|
1267
|
+
# virtual machine from using the existing boot option to another.
|
1268
|
+
# Corresponds to the JSON property `bootConversion`
|
1269
|
+
# @return [String]
|
1270
|
+
attr_accessor :boot_conversion
|
1271
|
+
|
1241
1272
|
# The VM Boot Option, as set in the source VM.
|
1242
1273
|
# Corresponds to the JSON property `bootOption`
|
1243
1274
|
# @return [String]
|
1244
1275
|
attr_accessor :boot_option
|
1245
1276
|
|
1246
1277
|
# Scheduling information for VM on maintenance/restart behaviour and node
|
1247
|
-
# allocation in sole tenant nodes.
|
1278
|
+
# allocation in sole tenant nodes. Options for instance behavior when the host
|
1279
|
+
# machine undergoes maintenance that may temporarily impact instance performance.
|
1248
1280
|
# Corresponds to the JSON property `computeScheduling`
|
1249
1281
|
# @return [Google::Apis::VmmigrationV1alpha1::ComputeScheduling]
|
1250
1282
|
attr_accessor :compute_scheduling
|
@@ -1254,6 +1286,18 @@ module Google
|
|
1254
1286
|
# @return [String]
|
1255
1287
|
attr_accessor :disk_type
|
1256
1288
|
|
1289
|
+
# Optional. Defines whether the instance has integrity monitoring enabled.
|
1290
|
+
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
1291
|
+
# @return [Boolean]
|
1292
|
+
attr_accessor :enable_integrity_monitoring
|
1293
|
+
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
1294
|
+
|
1295
|
+
# Optional. Defines whether the instance has vTPM enabled.
|
1296
|
+
# Corresponds to the JSON property `enableVtpm`
|
1297
|
+
# @return [Boolean]
|
1298
|
+
attr_accessor :enable_vtpm
|
1299
|
+
alias_method :enable_vtpm?, :enable_vtpm
|
1300
|
+
|
1257
1301
|
# Encryption message describes the details of the applied encryption.
|
1258
1302
|
# Corresponds to the JSON property `encryption`
|
1259
1303
|
# @return [Google::Apis::VmmigrationV1alpha1::Encryption]
|
@@ -1334,9 +1378,12 @@ module Google
|
|
1334
1378
|
def update!(**args)
|
1335
1379
|
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
1336
1380
|
@applied_license = args[:applied_license] if args.key?(:applied_license)
|
1381
|
+
@boot_conversion = args[:boot_conversion] if args.key?(:boot_conversion)
|
1337
1382
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
1338
1383
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
1339
1384
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1385
|
+
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
|
1386
|
+
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
|
1340
1387
|
@encryption = args[:encryption] if args.key?(:encryption)
|
1341
1388
|
@hostname = args[:hostname] if args.key?(:hostname)
|
1342
1389
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -1355,7 +1402,8 @@ module Google
|
|
1355
1402
|
end
|
1356
1403
|
|
1357
1404
|
# Scheduling information for VM on maintenance/restart behaviour and node
|
1358
|
-
# allocation in sole tenant nodes.
|
1405
|
+
# allocation in sole tenant nodes. Options for instance behavior when the host
|
1406
|
+
# machine undergoes maintenance that may temporarily impact instance performance.
|
1359
1407
|
class ComputeScheduling
|
1360
1408
|
include Google::Apis::Core::Hashable
|
1361
1409
|
|
@@ -1438,7 +1486,7 @@ module Google
|
|
1438
1486
|
end
|
1439
1487
|
|
1440
1488
|
# CutoverJob message describes a cutover of a migrating VM. The CutoverJob is
|
1441
|
-
# the operation of shutting down the VM, creating a snapshot and
|
1489
|
+
# the operation of shutting down the VM, creating a snapshot and cloning the VM
|
1442
1490
|
# using the replicated snapshot.
|
1443
1491
|
class CutoverJob
|
1444
1492
|
include Google::Apis::Core::Hashable
|
@@ -1680,7 +1728,7 @@ module Google
|
|
1680
1728
|
# @return [String]
|
1681
1729
|
attr_accessor :appliance_software_version
|
1682
1730
|
|
1683
|
-
# Holds
|
1731
|
+
# Holds information about the available versions for upgrade.
|
1684
1732
|
# Corresponds to the JSON property `availableVersions`
|
1685
1733
|
# @return [Google::Apis::VmmigrationV1alpha1::AvailableUpdates]
|
1686
1734
|
attr_accessor :available_versions
|
@@ -1945,11 +1993,24 @@ module Google
|
|
1945
1993
|
attr_accessor :boot_disk_defaults
|
1946
1994
|
|
1947
1995
|
# Scheduling information for VM on maintenance/restart behaviour and node
|
1948
|
-
# allocation in sole tenant nodes.
|
1996
|
+
# allocation in sole tenant nodes. Options for instance behavior when the host
|
1997
|
+
# machine undergoes maintenance that may temporarily impact instance performance.
|
1949
1998
|
# Corresponds to the JSON property `computeScheduling`
|
1950
1999
|
# @return [Google::Apis::VmmigrationV1alpha1::ComputeScheduling]
|
1951
2000
|
attr_accessor :compute_scheduling
|
1952
2001
|
|
2002
|
+
# Optional. Defines whether the instance has integrity monitoring enabled.
|
2003
|
+
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
2004
|
+
# @return [Boolean]
|
2005
|
+
attr_accessor :enable_integrity_monitoring
|
2006
|
+
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
2007
|
+
|
2008
|
+
# Optional. Defines whether the instance has vTPM enabled.
|
2009
|
+
# Corresponds to the JSON property `enableVtpm`
|
2010
|
+
# @return [Boolean]
|
2011
|
+
attr_accessor :enable_vtpm
|
2012
|
+
alias_method :enable_vtpm?, :enable_vtpm
|
2013
|
+
|
1953
2014
|
# Encryption message describes the details of the applied encryption.
|
1954
2015
|
# Corresponds to the JSON property `encryption`
|
1955
2016
|
# @return [Google::Apis::VmmigrationV1alpha1::Encryption]
|
@@ -2016,6 +2077,8 @@ module Google
|
|
2016
2077
|
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
2017
2078
|
@boot_disk_defaults = args[:boot_disk_defaults] if args.key?(:boot_disk_defaults)
|
2018
2079
|
@compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
|
2080
|
+
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
|
2081
|
+
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
|
2019
2082
|
@encryption = args[:encryption] if args.key?(:encryption)
|
2020
2083
|
@hostname = args[:hostname] if args.key?(:hostname)
|
2021
2084
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -3379,33 +3442,6 @@ module Google
|
|
3379
3442
|
end
|
3380
3443
|
end
|
3381
3444
|
|
3382
|
-
# Information about the network coniguration of the source.
|
3383
|
-
class NetworkInsights
|
3384
|
-
include Google::Apis::Core::Hashable
|
3385
|
-
|
3386
|
-
# Output only. The gathered network configuration of the source. Presented in
|
3387
|
-
# json format.
|
3388
|
-
# Corresponds to the JSON property `sourceNetworkConfig`
|
3389
|
-
# @return [String]
|
3390
|
-
attr_accessor :source_network_config
|
3391
|
-
|
3392
|
-
# Output only. The gathered network configuration of the source. Presented in
|
3393
|
-
# terraform format.
|
3394
|
-
# Corresponds to the JSON property `sourceNetworkTerraform`
|
3395
|
-
# @return [String]
|
3396
|
-
attr_accessor :source_network_terraform
|
3397
|
-
|
3398
|
-
def initialize(**args)
|
3399
|
-
update!(**args)
|
3400
|
-
end
|
3401
|
-
|
3402
|
-
# Update properties of this object
|
3403
|
-
def update!(**args)
|
3404
|
-
@source_network_config = args[:source_network_config] if args.key?(:source_network_config)
|
3405
|
-
@source_network_terraform = args[:source_network_terraform] if args.key?(:source_network_terraform)
|
3406
|
-
end
|
3407
|
-
end
|
3408
|
-
|
3409
3445
|
# NetworkInterface represents a NIC of a VM.
|
3410
3446
|
class NetworkInterface
|
3411
3447
|
include Google::Apis::Core::Hashable
|
@@ -3426,8 +3462,9 @@ module Google
|
|
3426
3462
|
# @return [String]
|
3427
3463
|
attr_accessor :network
|
3428
3464
|
|
3429
|
-
# Optional. The networking tier used for
|
3430
|
-
#
|
3465
|
+
# Optional. The networking tier used for optimizing connectivity between
|
3466
|
+
# instances and systems on the internet. Applies only for external ephemeral IP
|
3467
|
+
# addresses. If left empty, will default to PREMIUM.
|
3431
3468
|
# Corresponds to the JSON property `networkTier`
|
3432
3469
|
# @return [String]
|
3433
3470
|
attr_accessor :network_tier
|
@@ -3928,19 +3965,6 @@ module Google
|
|
3928
3965
|
end
|
3929
3966
|
end
|
3930
3967
|
|
3931
|
-
# Request message for 'RunDiskMigrationJobRequest' request.
|
3932
|
-
class RunDiskMigrationJobRequest
|
3933
|
-
include Google::Apis::Core::Hashable
|
3934
|
-
|
3935
|
-
def initialize(**args)
|
3936
|
-
update!(**args)
|
3937
|
-
end
|
3938
|
-
|
3939
|
-
# Update properties of this object
|
3940
|
-
def update!(**args)
|
3941
|
-
end
|
3942
|
-
end
|
3943
|
-
|
3944
3968
|
# A policy for scheduling replications.
|
3945
3969
|
class SchedulePolicy
|
3946
3970
|
include Google::Apis::Core::Hashable
|
@@ -4310,7 +4334,8 @@ module Google
|
|
4310
4334
|
attr_accessor :boot_option
|
4311
4335
|
|
4312
4336
|
# Scheduling information for VM on maintenance/restart behaviour and node
|
4313
|
-
# allocation in sole tenant nodes.
|
4337
|
+
# allocation in sole tenant nodes. Options for instance behavior when the host
|
4338
|
+
# machine undergoes maintenance that may temporarily impact instance performance.
|
4314
4339
|
# Corresponds to the JSON property `computeScheduling`
|
4315
4340
|
# @return [Google::Apis::VmmigrationV1alpha1::ComputeScheduling]
|
4316
4341
|
attr_accessor :compute_scheduling
|
@@ -4881,6 +4906,11 @@ module Google
|
|
4881
4906
|
class VmwareSourceVmDetails
|
4882
4907
|
include Google::Apis::Core::Hashable
|
4883
4908
|
|
4909
|
+
# Output only. The VM architecture.
|
4910
|
+
# Corresponds to the JSON property `architecture`
|
4911
|
+
# @return [String]
|
4912
|
+
attr_accessor :architecture
|
4913
|
+
|
4884
4914
|
# Output only. The total size of the disks being migrated in bytes.
|
4885
4915
|
# Corresponds to the JSON property `committedStorageBytes`
|
4886
4916
|
# @return [Fixnum]
|
@@ -4908,6 +4938,7 @@ module Google
|
|
4908
4938
|
|
4909
4939
|
# Update properties of this object
|
4910
4940
|
def update!(**args)
|
4941
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
4911
4942
|
@committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
|
4912
4943
|
@disks = args[:disks] if args.key?(:disks)
|
4913
4944
|
@firmware = args[:firmware] if args.key?(:firmware)
|
@@ -4919,6 +4950,11 @@ module Google
|
|
4919
4950
|
class VmwareVmDetails
|
4920
4951
|
include Google::Apis::Core::Hashable
|
4921
4952
|
|
4953
|
+
# Output only. The CPU architecture.
|
4954
|
+
# Corresponds to the JSON property `architecture`
|
4955
|
+
# @return [String]
|
4956
|
+
attr_accessor :architecture
|
4957
|
+
|
4922
4958
|
# Output only. The VM Boot Option.
|
4923
4959
|
# Corresponds to the JSON property `bootOption`
|
4924
4960
|
# @return [String]
|
@@ -4994,6 +5030,7 @@ module Google
|
|
4994
5030
|
|
4995
5031
|
# Update properties of this object
|
4996
5032
|
def update!(**args)
|
5033
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
4997
5034
|
@boot_option = args[:boot_option] if args.key?(:boot_option)
|
4998
5035
|
@committed_storage = args[:committed_storage] if args.key?(:committed_storage)
|
4999
5036
|
@committed_storage_mb = args[:committed_storage_mb] if args.key?(:committed_storage_mb)
|
@@ -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.53.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250213"
|
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
|
|
@@ -821,8 +803,6 @@ module Google
|
|
821
803
|
collection :inventory_tag_list, as: 'inventoryTagList', class: Google::Apis::VmmigrationV1alpha1::Tag, decorator: Google::Apis::VmmigrationV1alpha1::Tag::Representation
|
822
804
|
|
823
805
|
hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
|
824
|
-
property :network_insights, as: 'networkInsights', class: Google::Apis::VmmigrationV1alpha1::NetworkInsights, decorator: Google::Apis::VmmigrationV1alpha1::NetworkInsights::Representation
|
825
|
-
|
826
806
|
property :public_ip, as: 'publicIp'
|
827
807
|
property :state, as: 'state'
|
828
808
|
end
|
@@ -831,6 +811,7 @@ module Google
|
|
831
811
|
class AwsSourceVmDetails
|
832
812
|
# @private
|
833
813
|
class Representation < Google::Apis::Core::JsonRepresentation
|
814
|
+
property :architecture, as: 'architecture'
|
834
815
|
property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
|
835
816
|
collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::AwsDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsDiskDetails::Representation
|
836
817
|
|
@@ -900,6 +881,7 @@ module Google
|
|
900
881
|
class AzureSourceVmDetails
|
901
882
|
# @private
|
902
883
|
class Representation < Google::Apis::Core::JsonRepresentation
|
884
|
+
property :architecture, as: 'architecture'
|
903
885
|
property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
|
904
886
|
collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::AzureDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureDiskDetails::Representation
|
905
887
|
|
@@ -912,6 +894,7 @@ module Google
|
|
912
894
|
class AzureVmDetails
|
913
895
|
# @private
|
914
896
|
class Representation < Google::Apis::Core::JsonRepresentation
|
897
|
+
property :architecture, as: 'architecture'
|
915
898
|
property :boot_option, as: 'bootOption'
|
916
899
|
property :committed_storage_mb, :numeric_string => true, as: 'committedStorageMb'
|
917
900
|
property :computer_name, as: 'computerName'
|
@@ -964,12 +947,6 @@ module Google
|
|
964
947
|
end
|
965
948
|
end
|
966
949
|
|
967
|
-
class CancelDiskMigrationJobRequest
|
968
|
-
# @private
|
969
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
970
|
-
end
|
971
|
-
end
|
972
|
-
|
973
950
|
class CancelImageImportJobRequest
|
974
951
|
# @private
|
975
952
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1060,10 +1037,13 @@ module Google
|
|
1060
1037
|
collection :additional_licenses, as: 'additionalLicenses'
|
1061
1038
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation
|
1062
1039
|
|
1040
|
+
property :boot_conversion, as: 'bootConversion'
|
1063
1041
|
property :boot_option, as: 'bootOption'
|
1064
1042
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
|
1065
1043
|
|
1066
1044
|
property :disk_type, as: 'diskType'
|
1045
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
1046
|
+
property :enable_vtpm, as: 'enableVtpm'
|
1067
1047
|
property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1alpha1::Encryption, decorator: Google::Apis::VmmigrationV1alpha1::Encryption::Representation
|
1068
1048
|
|
1069
1049
|
property :hostname, as: 'hostname'
|
@@ -1089,10 +1069,13 @@ module Google
|
|
1089
1069
|
collection :additional_licenses, as: 'additionalLicenses'
|
1090
1070
|
property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation
|
1091
1071
|
|
1072
|
+
property :boot_conversion, as: 'bootConversion'
|
1092
1073
|
property :boot_option, as: 'bootOption'
|
1093
1074
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
|
1094
1075
|
|
1095
1076
|
property :disk_type, as: 'diskType'
|
1077
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
1078
|
+
property :enable_vtpm, as: 'enableVtpm'
|
1096
1079
|
property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1alpha1::Encryption, decorator: Google::Apis::VmmigrationV1alpha1::Encryption::Representation
|
1097
1080
|
|
1098
1081
|
property :hostname, as: 'hostname'
|
@@ -1279,6 +1262,8 @@ module Google
|
|
1279
1262
|
|
1280
1263
|
property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
|
1281
1264
|
|
1265
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
1266
|
+
property :enable_vtpm, as: 'enableVtpm'
|
1282
1267
|
property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1alpha1::Encryption, decorator: Google::Apis::VmmigrationV1alpha1::Encryption::Representation
|
1283
1268
|
|
1284
1269
|
property :hostname, as: 'hostname'
|
@@ -1697,14 +1682,6 @@ module Google
|
|
1697
1682
|
end
|
1698
1683
|
end
|
1699
1684
|
|
1700
|
-
class NetworkInsights
|
1701
|
-
# @private
|
1702
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1703
|
-
property :source_network_config, as: 'sourceNetworkConfig'
|
1704
|
-
property :source_network_terraform, as: 'sourceNetworkTerraform'
|
1705
|
-
end
|
1706
|
-
end
|
1707
|
-
|
1708
1685
|
class NetworkInterface
|
1709
1686
|
# @private
|
1710
1687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1850,12 +1827,6 @@ module Google
|
|
1850
1827
|
end
|
1851
1828
|
end
|
1852
1829
|
|
1853
|
-
class RunDiskMigrationJobRequest
|
1854
|
-
# @private
|
1855
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1856
|
-
end
|
1857
|
-
end
|
1858
|
-
|
1859
1830
|
class SchedulePolicy
|
1860
1831
|
# @private
|
1861
1832
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2096,6 +2067,7 @@ module Google
|
|
2096
2067
|
class VmwareSourceVmDetails
|
2097
2068
|
# @private
|
2098
2069
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2070
|
+
property :architecture, as: 'architecture'
|
2099
2071
|
property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
|
2100
2072
|
collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails::Representation
|
2101
2073
|
|
@@ -2108,6 +2080,7 @@ module Google
|
|
2108
2080
|
class VmwareVmDetails
|
2109
2081
|
# @private
|
2110
2082
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2083
|
+
property :architecture, as: 'architecture'
|
2111
2084
|
property :boot_option, as: 'bootOption'
|
2112
2085
|
property :committed_storage, :numeric_string => true, as: 'committedStorage'
|
2113
2086
|
property :committed_storage_mb, :numeric_string => true, as: 'committedStorageMb'
|
@@ -534,10 +534,10 @@ module Google
|
|
534
534
|
# @param [String] parent
|
535
535
|
# Required. The parent, which owns this collection of targets.
|
536
536
|
# @param [String] filter
|
537
|
-
# Optional. The filter request (according to
|
537
|
+
# Optional. The filter request (according to AIP-160).
|
538
538
|
# @param [String] order_by
|
539
|
-
# Optional. The order by fields for the result (according to
|
540
|
-
#
|
539
|
+
# Optional. The order by fields for the result (according to AIP-132). Currently
|
540
|
+
# ordering is only possible by "name" field.
|
541
541
|
# @param [Fixnum] page_size
|
542
542
|
# Optional. The maximum number of targets to return. The service may return
|
543
543
|
# fewer than this value. If unspecified, at most 500 targets will be returned.
|
@@ -645,10 +645,10 @@ module Google
|
|
645
645
|
# @param [String] parent
|
646
646
|
# Required. The parent, which owns this collection of targets.
|
647
647
|
# @param [String] filter
|
648
|
-
# Optional. The filter request (according to
|
648
|
+
# Optional. The filter request (according to AIP-160).
|
649
649
|
# @param [String] order_by
|
650
|
-
# Optional. The order by fields for the result (according to
|
651
|
-
#
|
650
|
+
# Optional. The order by fields for the result (according to AIP-132). Currently
|
651
|
+
# ordering is only possible by "name" field.
|
652
652
|
# @param [Fixnum] page_size
|
653
653
|
# Optional. The maximum number of targets to return. The service may return
|
654
654
|
# fewer than this value. If unspecified, at most 500 targets will be returned.
|
@@ -695,8 +695,8 @@ module Google
|
|
695
695
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
696
696
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
697
697
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
698
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
699
|
-
# corresponding to `Code.CANCELLED`.
|
698
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
699
|
+
# , corresponding to `Code.CANCELLED`.
|
700
700
|
# @param [String] name
|
701
701
|
# The name of the operation resource to be cancelled.
|
702
702
|
# @param [Google::Apis::VmmigrationV1alpha1::CancelOperationRequest] cancel_operation_request_object
|
@@ -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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::Operation] parsed result object
|
1321
|
-
# @yieldparam err [StandardError] error object if request failed
|
1322
|
-
#
|
1323
|
-
# @return [Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+name}:cancel', options)
|
1330
|
-
command.request_representation = Google::Apis::VmmigrationV1alpha1::CancelDiskMigrationJobRequest::Representation
|
1331
|
-
command.request_object = cancel_disk_migration_job_request_object
|
1332
|
-
command.response_representation = Google::Apis::VmmigrationV1alpha1::Operation::Representation
|
1333
|
-
command.response_class = Google::Apis::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::Operation] parsed result object
|
1354
|
-
# @yieldparam err [StandardError] error object if request failed
|
1355
|
-
#
|
1356
|
-
# @return [Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+name}:run', options)
|
1363
|
-
command.request_representation = Google::Apis::VmmigrationV1alpha1::RunDiskMigrationJobRequest::Representation
|
1364
|
-
command.request_object = run_disk_migration_job_request_object
|
1365
|
-
command.response_representation = Google::Apis::VmmigrationV1alpha1::Operation::Representation
|
1366
|
-
command.response_class = Google::Apis::VmmigrationV1alpha1::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,13 @@
|
|
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.53.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.53.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for VM Migration API V1alpha1
|
82
79
|
test_files: []
|