google-apis-vmmigration_v1 0.49.0 → 0.50.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: ce978759a6f2b8c8f78cbc8613521b261a8295a750f8d022004ec6b0394e558a
|
4
|
+
data.tar.gz: 9fb2764a09915861159b5be307015f35949aee55427f89760d9ecf98e6909186
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50fd6d51d8379a90b17e76f2e8e2d5d24c07047656150a3a6025834cc34d34f034c79ebcd3812db62319a1a1bed19a2ca4d0bcbf014077d4aee74840997eccb6
|
7
|
+
data.tar.gz: 047204d47b54387c9a30f91efeb796ed84d01b39bc70f934e1070aa060da3337d777e2a21abcc20fe2ec832e7334234916a57bf38a409653469a825ac40e0c9e
|
data/CHANGELOG.md
CHANGED
@@ -804,6 +804,19 @@ module Google
|
|
804
804
|
end
|
805
805
|
end
|
806
806
|
|
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
|
+
|
807
820
|
# Request message for 'CancelImageImportJob' request.
|
808
821
|
class CancelImageImportJobRequest
|
809
822
|
include Google::Apis::Core::Hashable
|
@@ -1775,7 +1788,10 @@ module Google
|
|
1775
1788
|
class DiskImageTargetDetails
|
1776
1789
|
include Google::Apis::Core::Hashable
|
1777
1790
|
|
1778
|
-
# Optional. Additional licenses to assign to the image.
|
1791
|
+
# Optional. Additional licenses to assign to the image. Format: https://www.
|
1792
|
+
# googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or
|
1793
|
+
# https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/
|
1794
|
+
# LICENSE_NAME
|
1779
1795
|
# Corresponds to the JSON property `additionalLicenses`
|
1780
1796
|
# @return [Array<String>]
|
1781
1797
|
attr_accessor :additional_licenses
|
@@ -2161,6 +2177,12 @@ module Google
|
|
2161
2177
|
# @return [Google::Apis::VmmigrationV1::Encryption]
|
2162
2178
|
attr_accessor :encryption
|
2163
2179
|
|
2180
|
+
# The target details of the machine image resource that will be created by the
|
2181
|
+
# image import job.
|
2182
|
+
# Corresponds to the JSON property `machineImageTargetDefaults`
|
2183
|
+
# @return [Google::Apis::VmmigrationV1::MachineImageTargetDetails]
|
2184
|
+
attr_accessor :machine_image_target_defaults
|
2185
|
+
|
2164
2186
|
# Output only. The resource path of the ImageImport.
|
2165
2187
|
# Corresponds to the JSON property `name`
|
2166
2188
|
# @return [String]
|
@@ -2182,6 +2204,7 @@ module Google
|
|
2182
2204
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2183
2205
|
@disk_image_target_defaults = args[:disk_image_target_defaults] if args.key?(:disk_image_target_defaults)
|
2184
2206
|
@encryption = args[:encryption] if args.key?(:encryption)
|
2207
|
+
@machine_image_target_defaults = args[:machine_image_target_defaults] if args.key?(:machine_image_target_defaults)
|
2185
2208
|
@name = args[:name] if args.key?(:name)
|
2186
2209
|
@recent_image_import_jobs = args[:recent_image_import_jobs] if args.key?(:recent_image_import_jobs)
|
2187
2210
|
end
|
@@ -2226,6 +2249,12 @@ module Google
|
|
2226
2249
|
# @return [Array<Google::Apis::VmmigrationV1::Status>]
|
2227
2250
|
attr_accessor :errors
|
2228
2251
|
|
2252
|
+
# The target details of the machine image resource that will be created by the
|
2253
|
+
# image import job.
|
2254
|
+
# Corresponds to the JSON property `machineImageTargetDetails`
|
2255
|
+
# @return [Google::Apis::VmmigrationV1::MachineImageTargetDetails]
|
2256
|
+
attr_accessor :machine_image_target_details
|
2257
|
+
|
2229
2258
|
# Output only. The resource path of the ImageImportJob.
|
2230
2259
|
# Corresponds to the JSON property `name`
|
2231
2260
|
# @return [String]
|
@@ -2258,6 +2287,7 @@ module Google
|
|
2258
2287
|
@disk_image_target_details = args[:disk_image_target_details] if args.key?(:disk_image_target_details)
|
2259
2288
|
@end_time = args[:end_time] if args.key?(:end_time)
|
2260
2289
|
@errors = args[:errors] if args.key?(:errors)
|
2290
|
+
@machine_image_target_details = args[:machine_image_target_details] if args.key?(:machine_image_target_details)
|
2261
2291
|
@name = args[:name] if args.key?(:name)
|
2262
2292
|
@state = args[:state] if args.key?(:state)
|
2263
2293
|
@steps = args[:steps] if args.key?(:steps)
|
@@ -2897,6 +2927,136 @@ module Google
|
|
2897
2927
|
end
|
2898
2928
|
end
|
2899
2929
|
|
2930
|
+
# Parameters overriding decisions based on the source machine image
|
2931
|
+
# configurations.
|
2932
|
+
class MachineImageParametersOverrides
|
2933
|
+
include Google::Apis::Core::Hashable
|
2934
|
+
|
2935
|
+
# Optional. The machine type to create the MachineImage with. If empty, the
|
2936
|
+
# service will choose a relevant machine type based on the information from the
|
2937
|
+
# source image. For more information about machine types, please refer to https:/
|
2938
|
+
# /cloud.google.com/compute/docs/machine-resource.
|
2939
|
+
# Corresponds to the JSON property `machineType`
|
2940
|
+
# @return [String]
|
2941
|
+
attr_accessor :machine_type
|
2942
|
+
|
2943
|
+
def initialize(**args)
|
2944
|
+
update!(**args)
|
2945
|
+
end
|
2946
|
+
|
2947
|
+
# Update properties of this object
|
2948
|
+
def update!(**args)
|
2949
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
2950
|
+
end
|
2951
|
+
end
|
2952
|
+
|
2953
|
+
# The target details of the machine image resource that will be created by the
|
2954
|
+
# image import job.
|
2955
|
+
class MachineImageTargetDetails
|
2956
|
+
include Google::Apis::Core::Hashable
|
2957
|
+
|
2958
|
+
# Optional. Additional licenses to assign to the instance created by the machine
|
2959
|
+
# image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/
|
2960
|
+
# global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/
|
2961
|
+
# projects/PROJECT_ID/global/licenses/LICENSE_NAME
|
2962
|
+
# Corresponds to the JSON property `additionalLicenses`
|
2963
|
+
# @return [Array<String>]
|
2964
|
+
attr_accessor :additional_licenses
|
2965
|
+
|
2966
|
+
# Optional. An optional description of the machine image.
|
2967
|
+
# Corresponds to the JSON property `description`
|
2968
|
+
# @return [String]
|
2969
|
+
attr_accessor :description
|
2970
|
+
|
2971
|
+
# Encryption message describes the details of the applied encryption.
|
2972
|
+
# Corresponds to the JSON property `encryption`
|
2973
|
+
# @return [Google::Apis::VmmigrationV1::Encryption]
|
2974
|
+
attr_accessor :encryption
|
2975
|
+
|
2976
|
+
# Optional. The labels to apply to the instance created by the machine image.
|
2977
|
+
# Corresponds to the JSON property `labels`
|
2978
|
+
# @return [Hash<String,String>]
|
2979
|
+
attr_accessor :labels
|
2980
|
+
|
2981
|
+
# Required. The name of the machine image to be created.
|
2982
|
+
# Corresponds to the JSON property `machineImageName`
|
2983
|
+
# @return [String]
|
2984
|
+
attr_accessor :machine_image_name
|
2985
|
+
|
2986
|
+
# Parameters overriding decisions based on the source machine image
|
2987
|
+
# configurations.
|
2988
|
+
# Corresponds to the JSON property `machineImageParametersOverrides`
|
2989
|
+
# @return [Google::Apis::VmmigrationV1::MachineImageParametersOverrides]
|
2990
|
+
attr_accessor :machine_image_parameters_overrides
|
2991
|
+
|
2992
|
+
# Optional. The network interfaces to create with the instance created by the
|
2993
|
+
# machine image. Internal and external IP addresses are ignored for machine
|
2994
|
+
# image import.
|
2995
|
+
# Corresponds to the JSON property `networkInterfaces`
|
2996
|
+
# @return [Array<Google::Apis::VmmigrationV1::NetworkInterface>]
|
2997
|
+
attr_accessor :network_interfaces
|
2998
|
+
|
2999
|
+
# Parameters affecting the OS adaptation process.
|
3000
|
+
# Corresponds to the JSON property `osAdaptationParameters`
|
3001
|
+
# @return [Google::Apis::VmmigrationV1::ImageImportOsAdaptationParameters]
|
3002
|
+
attr_accessor :os_adaptation_parameters
|
3003
|
+
|
3004
|
+
# Service account to assign to the instance created by the machine image.
|
3005
|
+
# Corresponds to the JSON property `serviceAccount`
|
3006
|
+
# @return [Google::Apis::VmmigrationV1::ServiceAccount]
|
3007
|
+
attr_accessor :service_account
|
3008
|
+
|
3009
|
+
# Shielded instance configuration.
|
3010
|
+
# Corresponds to the JSON property `shieldedInstanceConfig`
|
3011
|
+
# @return [Google::Apis::VmmigrationV1::ShieldedInstanceConfig]
|
3012
|
+
attr_accessor :shielded_instance_config
|
3013
|
+
|
3014
|
+
# Optional. Set to true to set the machine image storageLocations to the single
|
3015
|
+
# region of the import job. When false, the closest multi-region is selected.
|
3016
|
+
# Corresponds to the JSON property `singleRegionStorage`
|
3017
|
+
# @return [Boolean]
|
3018
|
+
attr_accessor :single_region_storage
|
3019
|
+
alias_method :single_region_storage?, :single_region_storage
|
3020
|
+
|
3021
|
+
# Mentions that the machine image import is not using OS adaptation process.
|
3022
|
+
# Corresponds to the JSON property `skipOsAdaptation`
|
3023
|
+
# @return [Google::Apis::VmmigrationV1::SkipOsAdaptation]
|
3024
|
+
attr_accessor :skip_os_adaptation
|
3025
|
+
|
3026
|
+
# Optional. The tags to apply to the instance created by the machine image.
|
3027
|
+
# Corresponds to the JSON property `tags`
|
3028
|
+
# @return [Array<String>]
|
3029
|
+
attr_accessor :tags
|
3030
|
+
|
3031
|
+
# Required. Reference to the TargetProject resource that represents the target
|
3032
|
+
# project in which the imported machine image will be created.
|
3033
|
+
# Corresponds to the JSON property `targetProject`
|
3034
|
+
# @return [String]
|
3035
|
+
attr_accessor :target_project
|
3036
|
+
|
3037
|
+
def initialize(**args)
|
3038
|
+
update!(**args)
|
3039
|
+
end
|
3040
|
+
|
3041
|
+
# Update properties of this object
|
3042
|
+
def update!(**args)
|
3043
|
+
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
3044
|
+
@description = args[:description] if args.key?(:description)
|
3045
|
+
@encryption = args[:encryption] if args.key?(:encryption)
|
3046
|
+
@labels = args[:labels] if args.key?(:labels)
|
3047
|
+
@machine_image_name = args[:machine_image_name] if args.key?(:machine_image_name)
|
3048
|
+
@machine_image_parameters_overrides = args[:machine_image_parameters_overrides] if args.key?(:machine_image_parameters_overrides)
|
3049
|
+
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
3050
|
+
@os_adaptation_parameters = args[:os_adaptation_parameters] if args.key?(:os_adaptation_parameters)
|
3051
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
3052
|
+
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
3053
|
+
@single_region_storage = args[:single_region_storage] if args.key?(:single_region_storage)
|
3054
|
+
@skip_os_adaptation = args[:skip_os_adaptation] if args.key?(:skip_os_adaptation)
|
3055
|
+
@tags = args[:tags] if args.key?(:tags)
|
3056
|
+
@target_project = args[:target_project] if args.key?(:target_project)
|
3057
|
+
end
|
3058
|
+
end
|
3059
|
+
|
2900
3060
|
# MigratingVm describes the VM that will be migrated from a Source environment
|
2901
3061
|
# and its replication state.
|
2902
3062
|
class MigratingVm
|
@@ -3211,7 +3371,13 @@ module Google
|
|
3211
3371
|
# @return [String]
|
3212
3372
|
attr_accessor :network
|
3213
3373
|
|
3214
|
-
# The
|
3374
|
+
# Optional. The networking tier used for configuring network access
|
3375
|
+
# configuration. If left empty, will default to PREMIUM.
|
3376
|
+
# Corresponds to the JSON property `networkTier`
|
3377
|
+
# @return [String]
|
3378
|
+
attr_accessor :network_tier
|
3379
|
+
|
3380
|
+
# Optional. The subnetwork to connect the NIC to.
|
3215
3381
|
# Corresponds to the JSON property `subnetwork`
|
3216
3382
|
# @return [String]
|
3217
3383
|
attr_accessor :subnetwork
|
@@ -3225,6 +3391,7 @@ module Google
|
|
3225
3391
|
@external_ip = args[:external_ip] if args.key?(:external_ip)
|
3226
3392
|
@internal_ip = args[:internal_ip] if args.key?(:internal_ip)
|
3227
3393
|
@network = args[:network] if args.key?(:network)
|
3394
|
+
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
3228
3395
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
3229
3396
|
end
|
3230
3397
|
end
|
@@ -3700,6 +3867,19 @@ module Google
|
|
3700
3867
|
end
|
3701
3868
|
end
|
3702
3869
|
|
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
|
+
|
3703
3883
|
# A policy for scheduling replications.
|
3704
3884
|
class SchedulePolicy
|
3705
3885
|
include Google::Apis::Core::Hashable
|
@@ -3761,6 +3941,68 @@ module Google
|
|
3761
3941
|
end
|
3762
3942
|
end
|
3763
3943
|
|
3944
|
+
# Service account to assign to the instance created by the machine image.
|
3945
|
+
class ServiceAccount
|
3946
|
+
include Google::Apis::Core::Hashable
|
3947
|
+
|
3948
|
+
# Required. The email address of the service account.
|
3949
|
+
# Corresponds to the JSON property `email`
|
3950
|
+
# @return [String]
|
3951
|
+
attr_accessor :email
|
3952
|
+
|
3953
|
+
# Optional. The list of scopes to be made available for this service account.
|
3954
|
+
# Corresponds to the JSON property `scopes`
|
3955
|
+
# @return [Array<String>]
|
3956
|
+
attr_accessor :scopes
|
3957
|
+
|
3958
|
+
def initialize(**args)
|
3959
|
+
update!(**args)
|
3960
|
+
end
|
3961
|
+
|
3962
|
+
# Update properties of this object
|
3963
|
+
def update!(**args)
|
3964
|
+
@email = args[:email] if args.key?(:email)
|
3965
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
3966
|
+
end
|
3967
|
+
end
|
3968
|
+
|
3969
|
+
# Shielded instance configuration.
|
3970
|
+
class ShieldedInstanceConfig
|
3971
|
+
include Google::Apis::Core::Hashable
|
3972
|
+
|
3973
|
+
# Optional. Defines whether the instance created by the machine image has
|
3974
|
+
# integrity monitoring enabled. This can be set to true only if the image boot
|
3975
|
+
# option is EFI, and vTPM is enabled.
|
3976
|
+
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
3977
|
+
# @return [Boolean]
|
3978
|
+
attr_accessor :enable_integrity_monitoring
|
3979
|
+
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
3980
|
+
|
3981
|
+
# Optional. Defines whether the instance created by the machine image has vTPM
|
3982
|
+
# enabled. This can be set to true only if the image boot option is EFI.
|
3983
|
+
# Corresponds to the JSON property `enableVtpm`
|
3984
|
+
# @return [Boolean]
|
3985
|
+
attr_accessor :enable_vtpm
|
3986
|
+
alias_method :enable_vtpm?, :enable_vtpm
|
3987
|
+
|
3988
|
+
# Optional. Defines whether the instance created by the machine image has Secure
|
3989
|
+
# Boot enabled. This can be set to true only if the image boot option is EFI.
|
3990
|
+
# Corresponds to the JSON property `secureBoot`
|
3991
|
+
# @return [String]
|
3992
|
+
attr_accessor :secure_boot
|
3993
|
+
|
3994
|
+
def initialize(**args)
|
3995
|
+
update!(**args)
|
3996
|
+
end
|
3997
|
+
|
3998
|
+
# Update properties of this object
|
3999
|
+
def update!(**args)
|
4000
|
+
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
|
4001
|
+
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
|
4002
|
+
@secure_boot = args[:secure_boot] if args.key?(:secure_boot)
|
4003
|
+
end
|
4004
|
+
end
|
4005
|
+
|
3764
4006
|
# ShuttingDownSourceVMStep contains specific step details.
|
3765
4007
|
class ShuttingDownSourceVmStep
|
3766
4008
|
include Google::Apis::Core::Hashable
|
@@ -3774,6 +4016,19 @@ module Google
|
|
3774
4016
|
end
|
3775
4017
|
end
|
3776
4018
|
|
4019
|
+
# Mentions that the machine image import is not using OS adaptation process.
|
4020
|
+
class SkipOsAdaptation
|
4021
|
+
include Google::Apis::Core::Hashable
|
4022
|
+
|
4023
|
+
def initialize(**args)
|
4024
|
+
update!(**args)
|
4025
|
+
end
|
4026
|
+
|
4027
|
+
# Update properties of this object
|
4028
|
+
def update!(**args)
|
4029
|
+
end
|
4030
|
+
end
|
4031
|
+
|
3777
4032
|
# Source message describes a specific vm migration Source resource. It contains
|
3778
4033
|
# the source environment information.
|
3779
4034
|
class Source
|
@@ -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.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240712"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -142,6 +142,12 @@ 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
|
+
|
145
151
|
class CancelImageImportJobRequest
|
146
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
153
|
|
@@ -460,6 +466,18 @@ module Google
|
|
460
466
|
include Google::Apis::Core::JsonObjectSupport
|
461
467
|
end
|
462
468
|
|
469
|
+
class MachineImageParametersOverrides
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class MachineImageTargetDetails
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
463
481
|
class MigratingVm
|
464
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
483
|
|
@@ -574,6 +592,12 @@ module Google
|
|
574
592
|
include Google::Apis::Core::JsonObjectSupport
|
575
593
|
end
|
576
594
|
|
595
|
+
class RunDiskMigrationJobRequest
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
577
601
|
class SchedulePolicy
|
578
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
603
|
|
@@ -586,12 +610,30 @@ module Google
|
|
586
610
|
include Google::Apis::Core::JsonObjectSupport
|
587
611
|
end
|
588
612
|
|
613
|
+
class ServiceAccount
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
619
|
+
class ShieldedInstanceConfig
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
589
625
|
class ShuttingDownSourceVmStep
|
590
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
627
|
|
592
628
|
include Google::Apis::Core::JsonObjectSupport
|
593
629
|
end
|
594
630
|
|
631
|
+
class SkipOsAdaptation
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
+
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
635
|
+
end
|
636
|
+
|
595
637
|
class Source
|
596
638
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
639
|
|
@@ -916,6 +958,12 @@ module Google
|
|
916
958
|
end
|
917
959
|
end
|
918
960
|
|
961
|
+
class CancelDiskMigrationJobRequest
|
962
|
+
# @private
|
963
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
964
|
+
end
|
965
|
+
end
|
966
|
+
|
919
967
|
class CancelImageImportJobRequest
|
920
968
|
# @private
|
921
969
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1292,6 +1340,8 @@ module Google
|
|
1292
1340
|
|
1293
1341
|
property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
|
1294
1342
|
|
1343
|
+
property :machine_image_target_defaults, as: 'machineImageTargetDefaults', class: Google::Apis::VmmigrationV1::MachineImageTargetDetails, decorator: Google::Apis::VmmigrationV1::MachineImageTargetDetails::Representation
|
1344
|
+
|
1295
1345
|
property :name, as: 'name'
|
1296
1346
|
collection :recent_image_import_jobs, as: 'recentImageImportJobs', class: Google::Apis::VmmigrationV1::ImageImportJob, decorator: Google::Apis::VmmigrationV1::ImageImportJob::Representation
|
1297
1347
|
|
@@ -1309,6 +1359,8 @@ module Google
|
|
1309
1359
|
property :end_time, as: 'endTime'
|
1310
1360
|
collection :errors, as: 'errors', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
|
1311
1361
|
|
1362
|
+
property :machine_image_target_details, as: 'machineImageTargetDetails', class: Google::Apis::VmmigrationV1::MachineImageTargetDetails, decorator: Google::Apis::VmmigrationV1::MachineImageTargetDetails::Representation
|
1363
|
+
|
1312
1364
|
property :name, as: 'name'
|
1313
1365
|
property :state, as: 'state'
|
1314
1366
|
collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1::ImageImportStep, decorator: Google::Apis::VmmigrationV1::ImageImportStep::Representation
|
@@ -1521,6 +1573,40 @@ module Google
|
|
1521
1573
|
end
|
1522
1574
|
end
|
1523
1575
|
|
1576
|
+
class MachineImageParametersOverrides
|
1577
|
+
# @private
|
1578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1579
|
+
property :machine_type, as: 'machineType'
|
1580
|
+
end
|
1581
|
+
end
|
1582
|
+
|
1583
|
+
class MachineImageTargetDetails
|
1584
|
+
# @private
|
1585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1586
|
+
collection :additional_licenses, as: 'additionalLicenses'
|
1587
|
+
property :description, as: 'description'
|
1588
|
+
property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
|
1589
|
+
|
1590
|
+
hash :labels, as: 'labels'
|
1591
|
+
property :machine_image_name, as: 'machineImageName'
|
1592
|
+
property :machine_image_parameters_overrides, as: 'machineImageParametersOverrides', class: Google::Apis::VmmigrationV1::MachineImageParametersOverrides, decorator: Google::Apis::VmmigrationV1::MachineImageParametersOverrides::Representation
|
1593
|
+
|
1594
|
+
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1::NetworkInterface, decorator: Google::Apis::VmmigrationV1::NetworkInterface::Representation
|
1595
|
+
|
1596
|
+
property :os_adaptation_parameters, as: 'osAdaptationParameters', class: Google::Apis::VmmigrationV1::ImageImportOsAdaptationParameters, decorator: Google::Apis::VmmigrationV1::ImageImportOsAdaptationParameters::Representation
|
1597
|
+
|
1598
|
+
property :service_account, as: 'serviceAccount', class: Google::Apis::VmmigrationV1::ServiceAccount, decorator: Google::Apis::VmmigrationV1::ServiceAccount::Representation
|
1599
|
+
|
1600
|
+
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::VmmigrationV1::ShieldedInstanceConfig, decorator: Google::Apis::VmmigrationV1::ShieldedInstanceConfig::Representation
|
1601
|
+
|
1602
|
+
property :single_region_storage, as: 'singleRegionStorage'
|
1603
|
+
property :skip_os_adaptation, as: 'skipOsAdaptation', class: Google::Apis::VmmigrationV1::SkipOsAdaptation, decorator: Google::Apis::VmmigrationV1::SkipOsAdaptation::Representation
|
1604
|
+
|
1605
|
+
collection :tags, as: 'tags'
|
1606
|
+
property :target_project, as: 'targetProject'
|
1607
|
+
end
|
1608
|
+
end
|
1609
|
+
|
1524
1610
|
class MigratingVm
|
1525
1611
|
# @private
|
1526
1612
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1605,6 +1691,7 @@ module Google
|
|
1605
1691
|
property :external_ip, as: 'externalIp'
|
1606
1692
|
property :internal_ip, as: 'internalIp'
|
1607
1693
|
property :network, as: 'network'
|
1694
|
+
property :network_tier, as: 'networkTier'
|
1608
1695
|
property :subnetwork, as: 'subnetwork'
|
1609
1696
|
end
|
1610
1697
|
end
|
@@ -1742,6 +1829,12 @@ module Google
|
|
1742
1829
|
end
|
1743
1830
|
end
|
1744
1831
|
|
1832
|
+
class RunDiskMigrationJobRequest
|
1833
|
+
# @private
|
1834
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1835
|
+
end
|
1836
|
+
end
|
1837
|
+
|
1745
1838
|
class SchedulePolicy
|
1746
1839
|
# @private
|
1747
1840
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1759,12 +1852,35 @@ module Google
|
|
1759
1852
|
end
|
1760
1853
|
end
|
1761
1854
|
|
1855
|
+
class ServiceAccount
|
1856
|
+
# @private
|
1857
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1858
|
+
property :email, as: 'email'
|
1859
|
+
collection :scopes, as: 'scopes'
|
1860
|
+
end
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
class ShieldedInstanceConfig
|
1864
|
+
# @private
|
1865
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1866
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
1867
|
+
property :enable_vtpm, as: 'enableVtpm'
|
1868
|
+
property :secure_boot, as: 'secureBoot'
|
1869
|
+
end
|
1870
|
+
end
|
1871
|
+
|
1762
1872
|
class ShuttingDownSourceVmStep
|
1763
1873
|
# @private
|
1764
1874
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1765
1875
|
end
|
1766
1876
|
end
|
1767
1877
|
|
1878
|
+
class SkipOsAdaptation
|
1879
|
+
# @private
|
1880
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1881
|
+
end
|
1882
|
+
end
|
1883
|
+
|
1768
1884
|
class Source
|
1769
1885
|
# @private
|
1770
1886
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1304,6 +1304,72 @@ 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
|
+
|
1307
1373
|
# Creates a new MigratingVm in a given Source.
|
1308
1374
|
# @param [String] parent
|
1309
1375
|
# 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.50.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-07-25 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.50.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: []
|