google-apis-vmmigration_v1alpha1 0.50.0 → 0.51.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 +4 -0
- data/lib/google/apis/vmmigration_v1alpha1/classes.rb +257 -2
- data/lib/google/apis/vmmigration_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/vmmigration_v1alpha1/representations.rb +116 -0
- data/lib/google/apis/vmmigration_v1alpha1/service.rb +66 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cf969d0de76aecd875540ebd31a6b6d5fb48382d31bb4b24757de1e850d45e4
|
4
|
+
data.tar.gz: fd22233dd58795c4563e2a1e11441a18a9788390de5a2f3a954043de0b64a457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4af8f8ef7d3e4f78836c51993dc106e8cc66769faa055a2380d5868104d7bf0ffee95198c90a475021e9da98151f621f3c143abe264c940c3eabfd89c8386f85
|
7
|
+
data.tar.gz: 47c86ebbb2fcbb31f3a65be745509992b3a1e8b5c363d83c58a6d4a0df0e7e0281199733c6e08eab107cae885f355756d6544f38911a6a976768fd699c7b85f2
|
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
|
@@ -1816,7 +1829,10 @@ module Google
|
|
1816
1829
|
class DiskImageTargetDetails
|
1817
1830
|
include Google::Apis::Core::Hashable
|
1818
1831
|
|
1819
|
-
# Optional. Additional licenses to assign to the image.
|
1832
|
+
# Optional. Additional licenses to assign to the image. Format: https://www.
|
1833
|
+
# googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or
|
1834
|
+
# https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/
|
1835
|
+
# LICENSE_NAME
|
1820
1836
|
# Corresponds to the JSON property `additionalLicenses`
|
1821
1837
|
# @return [Array<String>]
|
1822
1838
|
attr_accessor :additional_licenses
|
@@ -2202,6 +2218,12 @@ module Google
|
|
2202
2218
|
# @return [Google::Apis::VmmigrationV1alpha1::Encryption]
|
2203
2219
|
attr_accessor :encryption
|
2204
2220
|
|
2221
|
+
# The target details of the machine image resource that will be created by the
|
2222
|
+
# image import job.
|
2223
|
+
# Corresponds to the JSON property `machineImageTargetDefaults`
|
2224
|
+
# @return [Google::Apis::VmmigrationV1alpha1::MachineImageTargetDetails]
|
2225
|
+
attr_accessor :machine_image_target_defaults
|
2226
|
+
|
2205
2227
|
# Output only. The resource path of the ImageImport.
|
2206
2228
|
# Corresponds to the JSON property `name`
|
2207
2229
|
# @return [String]
|
@@ -2223,6 +2245,7 @@ module Google
|
|
2223
2245
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2224
2246
|
@disk_image_target_defaults = args[:disk_image_target_defaults] if args.key?(:disk_image_target_defaults)
|
2225
2247
|
@encryption = args[:encryption] if args.key?(:encryption)
|
2248
|
+
@machine_image_target_defaults = args[:machine_image_target_defaults] if args.key?(:machine_image_target_defaults)
|
2226
2249
|
@name = args[:name] if args.key?(:name)
|
2227
2250
|
@recent_image_import_jobs = args[:recent_image_import_jobs] if args.key?(:recent_image_import_jobs)
|
2228
2251
|
end
|
@@ -2267,6 +2290,12 @@ module Google
|
|
2267
2290
|
# @return [Array<Google::Apis::VmmigrationV1alpha1::Status>]
|
2268
2291
|
attr_accessor :errors
|
2269
2292
|
|
2293
|
+
# The target details of the machine image resource that will be created by the
|
2294
|
+
# image import job.
|
2295
|
+
# Corresponds to the JSON property `machineImageTargetDetails`
|
2296
|
+
# @return [Google::Apis::VmmigrationV1alpha1::MachineImageTargetDetails]
|
2297
|
+
attr_accessor :machine_image_target_details
|
2298
|
+
|
2270
2299
|
# Output only. The resource path of the ImageImportJob.
|
2271
2300
|
# Corresponds to the JSON property `name`
|
2272
2301
|
# @return [String]
|
@@ -2299,6 +2328,7 @@ module Google
|
|
2299
2328
|
@disk_image_target_details = args[:disk_image_target_details] if args.key?(:disk_image_target_details)
|
2300
2329
|
@end_time = args[:end_time] if args.key?(:end_time)
|
2301
2330
|
@errors = args[:errors] if args.key?(:errors)
|
2331
|
+
@machine_image_target_details = args[:machine_image_target_details] if args.key?(:machine_image_target_details)
|
2302
2332
|
@name = args[:name] if args.key?(:name)
|
2303
2333
|
@state = args[:state] if args.key?(:state)
|
2304
2334
|
@steps = args[:steps] if args.key?(:steps)
|
@@ -2938,6 +2968,136 @@ module Google
|
|
2938
2968
|
end
|
2939
2969
|
end
|
2940
2970
|
|
2971
|
+
# Parameters overriding decisions based on the source machine image
|
2972
|
+
# configurations.
|
2973
|
+
class MachineImageParametersOverrides
|
2974
|
+
include Google::Apis::Core::Hashable
|
2975
|
+
|
2976
|
+
# Optional. The machine type to create the MachineImage with. If empty, the
|
2977
|
+
# service will choose a relevant machine type based on the information from the
|
2978
|
+
# source image. For more information about machine types, please refer to https:/
|
2979
|
+
# /cloud.google.com/compute/docs/machine-resource.
|
2980
|
+
# Corresponds to the JSON property `machineType`
|
2981
|
+
# @return [String]
|
2982
|
+
attr_accessor :machine_type
|
2983
|
+
|
2984
|
+
def initialize(**args)
|
2985
|
+
update!(**args)
|
2986
|
+
end
|
2987
|
+
|
2988
|
+
# Update properties of this object
|
2989
|
+
def update!(**args)
|
2990
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
2991
|
+
end
|
2992
|
+
end
|
2993
|
+
|
2994
|
+
# The target details of the machine image resource that will be created by the
|
2995
|
+
# image import job.
|
2996
|
+
class MachineImageTargetDetails
|
2997
|
+
include Google::Apis::Core::Hashable
|
2998
|
+
|
2999
|
+
# Optional. Additional licenses to assign to the instance created by the machine
|
3000
|
+
# image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/
|
3001
|
+
# global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/
|
3002
|
+
# projects/PROJECT_ID/global/licenses/LICENSE_NAME
|
3003
|
+
# Corresponds to the JSON property `additionalLicenses`
|
3004
|
+
# @return [Array<String>]
|
3005
|
+
attr_accessor :additional_licenses
|
3006
|
+
|
3007
|
+
# Optional. An optional description of the machine image.
|
3008
|
+
# Corresponds to the JSON property `description`
|
3009
|
+
# @return [String]
|
3010
|
+
attr_accessor :description
|
3011
|
+
|
3012
|
+
# Encryption message describes the details of the applied encryption.
|
3013
|
+
# Corresponds to the JSON property `encryption`
|
3014
|
+
# @return [Google::Apis::VmmigrationV1alpha1::Encryption]
|
3015
|
+
attr_accessor :encryption
|
3016
|
+
|
3017
|
+
# Optional. The labels to apply to the instance created by the machine image.
|
3018
|
+
# Corresponds to the JSON property `labels`
|
3019
|
+
# @return [Hash<String,String>]
|
3020
|
+
attr_accessor :labels
|
3021
|
+
|
3022
|
+
# Required. The name of the machine image to be created.
|
3023
|
+
# Corresponds to the JSON property `machineImageName`
|
3024
|
+
# @return [String]
|
3025
|
+
attr_accessor :machine_image_name
|
3026
|
+
|
3027
|
+
# Parameters overriding decisions based on the source machine image
|
3028
|
+
# configurations.
|
3029
|
+
# Corresponds to the JSON property `machineImageParametersOverrides`
|
3030
|
+
# @return [Google::Apis::VmmigrationV1alpha1::MachineImageParametersOverrides]
|
3031
|
+
attr_accessor :machine_image_parameters_overrides
|
3032
|
+
|
3033
|
+
# Optional. The network interfaces to create with the instance created by the
|
3034
|
+
# machine image. Internal and external IP addresses are ignored for machine
|
3035
|
+
# image import.
|
3036
|
+
# Corresponds to the JSON property `networkInterfaces`
|
3037
|
+
# @return [Array<Google::Apis::VmmigrationV1alpha1::NetworkInterface>]
|
3038
|
+
attr_accessor :network_interfaces
|
3039
|
+
|
3040
|
+
# Parameters affecting the OS adaptation process.
|
3041
|
+
# Corresponds to the JSON property `osAdaptationParameters`
|
3042
|
+
# @return [Google::Apis::VmmigrationV1alpha1::ImageImportOsAdaptationParameters]
|
3043
|
+
attr_accessor :os_adaptation_parameters
|
3044
|
+
|
3045
|
+
# Service account to assign to the instance created by the machine image.
|
3046
|
+
# Corresponds to the JSON property `serviceAccount`
|
3047
|
+
# @return [Google::Apis::VmmigrationV1alpha1::ServiceAccount]
|
3048
|
+
attr_accessor :service_account
|
3049
|
+
|
3050
|
+
# Shielded instance configuration.
|
3051
|
+
# Corresponds to the JSON property `shieldedInstanceConfig`
|
3052
|
+
# @return [Google::Apis::VmmigrationV1alpha1::ShieldedInstanceConfig]
|
3053
|
+
attr_accessor :shielded_instance_config
|
3054
|
+
|
3055
|
+
# Optional. Set to true to set the machine image storageLocations to the single
|
3056
|
+
# region of the import job. When false, the closest multi-region is selected.
|
3057
|
+
# Corresponds to the JSON property `singleRegionStorage`
|
3058
|
+
# @return [Boolean]
|
3059
|
+
attr_accessor :single_region_storage
|
3060
|
+
alias_method :single_region_storage?, :single_region_storage
|
3061
|
+
|
3062
|
+
# Mentions that the machine image import is not using OS adaptation process.
|
3063
|
+
# Corresponds to the JSON property `skipOsAdaptation`
|
3064
|
+
# @return [Google::Apis::VmmigrationV1alpha1::SkipOsAdaptation]
|
3065
|
+
attr_accessor :skip_os_adaptation
|
3066
|
+
|
3067
|
+
# Optional. The tags to apply to the instance created by the machine image.
|
3068
|
+
# Corresponds to the JSON property `tags`
|
3069
|
+
# @return [Array<String>]
|
3070
|
+
attr_accessor :tags
|
3071
|
+
|
3072
|
+
# Required. Reference to the TargetProject resource that represents the target
|
3073
|
+
# project in which the imported machine image will be created.
|
3074
|
+
# Corresponds to the JSON property `targetProject`
|
3075
|
+
# @return [String]
|
3076
|
+
attr_accessor :target_project
|
3077
|
+
|
3078
|
+
def initialize(**args)
|
3079
|
+
update!(**args)
|
3080
|
+
end
|
3081
|
+
|
3082
|
+
# Update properties of this object
|
3083
|
+
def update!(**args)
|
3084
|
+
@additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
|
3085
|
+
@description = args[:description] if args.key?(:description)
|
3086
|
+
@encryption = args[:encryption] if args.key?(:encryption)
|
3087
|
+
@labels = args[:labels] if args.key?(:labels)
|
3088
|
+
@machine_image_name = args[:machine_image_name] if args.key?(:machine_image_name)
|
3089
|
+
@machine_image_parameters_overrides = args[:machine_image_parameters_overrides] if args.key?(:machine_image_parameters_overrides)
|
3090
|
+
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
3091
|
+
@os_adaptation_parameters = args[:os_adaptation_parameters] if args.key?(:os_adaptation_parameters)
|
3092
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
3093
|
+
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
3094
|
+
@single_region_storage = args[:single_region_storage] if args.key?(:single_region_storage)
|
3095
|
+
@skip_os_adaptation = args[:skip_os_adaptation] if args.key?(:skip_os_adaptation)
|
3096
|
+
@tags = args[:tags] if args.key?(:tags)
|
3097
|
+
@target_project = args[:target_project] if args.key?(:target_project)
|
3098
|
+
end
|
3099
|
+
end
|
3100
|
+
|
2941
3101
|
# MigratingVm describes the VM that will be migrated from a Source environment
|
2942
3102
|
# and its replication state.
|
2943
3103
|
class MigratingVm
|
@@ -3266,7 +3426,13 @@ module Google
|
|
3266
3426
|
# @return [String]
|
3267
3427
|
attr_accessor :network
|
3268
3428
|
|
3269
|
-
# The
|
3429
|
+
# Optional. The networking tier used for configuring network access
|
3430
|
+
# configuration. If left empty, will default to PREMIUM.
|
3431
|
+
# Corresponds to the JSON property `networkTier`
|
3432
|
+
# @return [String]
|
3433
|
+
attr_accessor :network_tier
|
3434
|
+
|
3435
|
+
# Optional. The subnetwork to connect the NIC to.
|
3270
3436
|
# Corresponds to the JSON property `subnetwork`
|
3271
3437
|
# @return [String]
|
3272
3438
|
attr_accessor :subnetwork
|
@@ -3280,6 +3446,7 @@ module Google
|
|
3280
3446
|
@external_ip = args[:external_ip] if args.key?(:external_ip)
|
3281
3447
|
@internal_ip = args[:internal_ip] if args.key?(:internal_ip)
|
3282
3448
|
@network = args[:network] if args.key?(:network)
|
3449
|
+
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
3283
3450
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
3284
3451
|
end
|
3285
3452
|
end
|
@@ -3761,6 +3928,19 @@ module Google
|
|
3761
3928
|
end
|
3762
3929
|
end
|
3763
3930
|
|
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
|
+
|
3764
3944
|
# A policy for scheduling replications.
|
3765
3945
|
class SchedulePolicy
|
3766
3946
|
include Google::Apis::Core::Hashable
|
@@ -3822,6 +4002,68 @@ module Google
|
|
3822
4002
|
end
|
3823
4003
|
end
|
3824
4004
|
|
4005
|
+
# Service account to assign to the instance created by the machine image.
|
4006
|
+
class ServiceAccount
|
4007
|
+
include Google::Apis::Core::Hashable
|
4008
|
+
|
4009
|
+
# Required. The email address of the service account.
|
4010
|
+
# Corresponds to the JSON property `email`
|
4011
|
+
# @return [String]
|
4012
|
+
attr_accessor :email
|
4013
|
+
|
4014
|
+
# Optional. The list of scopes to be made available for this service account.
|
4015
|
+
# Corresponds to the JSON property `scopes`
|
4016
|
+
# @return [Array<String>]
|
4017
|
+
attr_accessor :scopes
|
4018
|
+
|
4019
|
+
def initialize(**args)
|
4020
|
+
update!(**args)
|
4021
|
+
end
|
4022
|
+
|
4023
|
+
# Update properties of this object
|
4024
|
+
def update!(**args)
|
4025
|
+
@email = args[:email] if args.key?(:email)
|
4026
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
4027
|
+
end
|
4028
|
+
end
|
4029
|
+
|
4030
|
+
# Shielded instance configuration.
|
4031
|
+
class ShieldedInstanceConfig
|
4032
|
+
include Google::Apis::Core::Hashable
|
4033
|
+
|
4034
|
+
# Optional. Defines whether the instance created by the machine image has
|
4035
|
+
# integrity monitoring enabled. This can be set to true only if the image boot
|
4036
|
+
# option is EFI, and vTPM is enabled.
|
4037
|
+
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
4038
|
+
# @return [Boolean]
|
4039
|
+
attr_accessor :enable_integrity_monitoring
|
4040
|
+
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
4041
|
+
|
4042
|
+
# Optional. Defines whether the instance created by the machine image has vTPM
|
4043
|
+
# enabled. This can be set to true only if the image boot option is EFI.
|
4044
|
+
# Corresponds to the JSON property `enableVtpm`
|
4045
|
+
# @return [Boolean]
|
4046
|
+
attr_accessor :enable_vtpm
|
4047
|
+
alias_method :enable_vtpm?, :enable_vtpm
|
4048
|
+
|
4049
|
+
# Optional. Defines whether the instance created by the machine image has Secure
|
4050
|
+
# Boot enabled. This can be set to true only if the image boot option is EFI.
|
4051
|
+
# Corresponds to the JSON property `secureBoot`
|
4052
|
+
# @return [String]
|
4053
|
+
attr_accessor :secure_boot
|
4054
|
+
|
4055
|
+
def initialize(**args)
|
4056
|
+
update!(**args)
|
4057
|
+
end
|
4058
|
+
|
4059
|
+
# Update properties of this object
|
4060
|
+
def update!(**args)
|
4061
|
+
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
|
4062
|
+
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
|
4063
|
+
@secure_boot = args[:secure_boot] if args.key?(:secure_boot)
|
4064
|
+
end
|
4065
|
+
end
|
4066
|
+
|
3825
4067
|
# ShuttingDownSourceVMStep contains specific step details.
|
3826
4068
|
class ShuttingDownSourceVmStep
|
3827
4069
|
include Google::Apis::Core::Hashable
|
@@ -3835,6 +4077,19 @@ module Google
|
|
3835
4077
|
end
|
3836
4078
|
end
|
3837
4079
|
|
4080
|
+
# Mentions that the machine image import is not using OS adaptation process.
|
4081
|
+
class SkipOsAdaptation
|
4082
|
+
include Google::Apis::Core::Hashable
|
4083
|
+
|
4084
|
+
def initialize(**args)
|
4085
|
+
update!(**args)
|
4086
|
+
end
|
4087
|
+
|
4088
|
+
# Update properties of this object
|
4089
|
+
def update!(**args)
|
4090
|
+
end
|
4091
|
+
end
|
4092
|
+
|
3838
4093
|
# Source message describes a specific vm migration Source resource. It contains
|
3839
4094
|
# the source environment information.
|
3840
4095
|
class Source
|
@@ -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.51.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
|
|
@@ -922,6 +964,12 @@ module Google
|
|
922
964
|
end
|
923
965
|
end
|
924
966
|
|
967
|
+
class CancelDiskMigrationJobRequest
|
968
|
+
# @private
|
969
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
970
|
+
end
|
971
|
+
end
|
972
|
+
|
925
973
|
class CancelImageImportJobRequest
|
926
974
|
# @private
|
927
975
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1308,6 +1356,8 @@ module Google
|
|
1308
1356
|
|
1309
1357
|
property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1alpha1::Encryption, decorator: Google::Apis::VmmigrationV1alpha1::Encryption::Representation
|
1310
1358
|
|
1359
|
+
property :machine_image_target_defaults, as: 'machineImageTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::MachineImageTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::MachineImageTargetDetails::Representation
|
1360
|
+
|
1311
1361
|
property :name, as: 'name'
|
1312
1362
|
collection :recent_image_import_jobs, as: 'recentImageImportJobs', class: Google::Apis::VmmigrationV1alpha1::ImageImportJob, decorator: Google::Apis::VmmigrationV1alpha1::ImageImportJob::Representation
|
1313
1363
|
|
@@ -1325,6 +1375,8 @@ module Google
|
|
1325
1375
|
property :end_time, as: 'endTime'
|
1326
1376
|
collection :errors, as: 'errors', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
|
1327
1377
|
|
1378
|
+
property :machine_image_target_details, as: 'machineImageTargetDetails', class: Google::Apis::VmmigrationV1alpha1::MachineImageTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::MachineImageTargetDetails::Representation
|
1379
|
+
|
1328
1380
|
property :name, as: 'name'
|
1329
1381
|
property :state, as: 'state'
|
1330
1382
|
collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::ImageImportStep, decorator: Google::Apis::VmmigrationV1alpha1::ImageImportStep::Representation
|
@@ -1537,6 +1589,40 @@ module Google
|
|
1537
1589
|
end
|
1538
1590
|
end
|
1539
1591
|
|
1592
|
+
class MachineImageParametersOverrides
|
1593
|
+
# @private
|
1594
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1595
|
+
property :machine_type, as: 'machineType'
|
1596
|
+
end
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
class MachineImageTargetDetails
|
1600
|
+
# @private
|
1601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1602
|
+
collection :additional_licenses, as: 'additionalLicenses'
|
1603
|
+
property :description, as: 'description'
|
1604
|
+
property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1alpha1::Encryption, decorator: Google::Apis::VmmigrationV1alpha1::Encryption::Representation
|
1605
|
+
|
1606
|
+
hash :labels, as: 'labels'
|
1607
|
+
property :machine_image_name, as: 'machineImageName'
|
1608
|
+
property :machine_image_parameters_overrides, as: 'machineImageParametersOverrides', class: Google::Apis::VmmigrationV1alpha1::MachineImageParametersOverrides, decorator: Google::Apis::VmmigrationV1alpha1::MachineImageParametersOverrides::Representation
|
1609
|
+
|
1610
|
+
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1alpha1::NetworkInterface, decorator: Google::Apis::VmmigrationV1alpha1::NetworkInterface::Representation
|
1611
|
+
|
1612
|
+
property :os_adaptation_parameters, as: 'osAdaptationParameters', class: Google::Apis::VmmigrationV1alpha1::ImageImportOsAdaptationParameters, decorator: Google::Apis::VmmigrationV1alpha1::ImageImportOsAdaptationParameters::Representation
|
1613
|
+
|
1614
|
+
property :service_account, as: 'serviceAccount', class: Google::Apis::VmmigrationV1alpha1::ServiceAccount, decorator: Google::Apis::VmmigrationV1alpha1::ServiceAccount::Representation
|
1615
|
+
|
1616
|
+
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::VmmigrationV1alpha1::ShieldedInstanceConfig, decorator: Google::Apis::VmmigrationV1alpha1::ShieldedInstanceConfig::Representation
|
1617
|
+
|
1618
|
+
property :single_region_storage, as: 'singleRegionStorage'
|
1619
|
+
property :skip_os_adaptation, as: 'skipOsAdaptation', class: Google::Apis::VmmigrationV1alpha1::SkipOsAdaptation, decorator: Google::Apis::VmmigrationV1alpha1::SkipOsAdaptation::Representation
|
1620
|
+
|
1621
|
+
collection :tags, as: 'tags'
|
1622
|
+
property :target_project, as: 'targetProject'
|
1623
|
+
end
|
1624
|
+
end
|
1625
|
+
|
1540
1626
|
class MigratingVm
|
1541
1627
|
# @private
|
1542
1628
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1625,6 +1711,7 @@ module Google
|
|
1625
1711
|
property :external_ip, as: 'externalIp'
|
1626
1712
|
property :internal_ip, as: 'internalIp'
|
1627
1713
|
property :network, as: 'network'
|
1714
|
+
property :network_tier, as: 'networkTier'
|
1628
1715
|
property :subnetwork, as: 'subnetwork'
|
1629
1716
|
end
|
1630
1717
|
end
|
@@ -1763,6 +1850,12 @@ module Google
|
|
1763
1850
|
end
|
1764
1851
|
end
|
1765
1852
|
|
1853
|
+
class RunDiskMigrationJobRequest
|
1854
|
+
# @private
|
1855
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1856
|
+
end
|
1857
|
+
end
|
1858
|
+
|
1766
1859
|
class SchedulePolicy
|
1767
1860
|
# @private
|
1768
1861
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1780,12 +1873,35 @@ module Google
|
|
1780
1873
|
end
|
1781
1874
|
end
|
1782
1875
|
|
1876
|
+
class ServiceAccount
|
1877
|
+
# @private
|
1878
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1879
|
+
property :email, as: 'email'
|
1880
|
+
collection :scopes, as: 'scopes'
|
1881
|
+
end
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
class ShieldedInstanceConfig
|
1885
|
+
# @private
|
1886
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1887
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
1888
|
+
property :enable_vtpm, as: 'enableVtpm'
|
1889
|
+
property :secure_boot, as: 'secureBoot'
|
1890
|
+
end
|
1891
|
+
end
|
1892
|
+
|
1783
1893
|
class ShuttingDownSourceVmStep
|
1784
1894
|
# @private
|
1785
1895
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1786
1896
|
end
|
1787
1897
|
end
|
1788
1898
|
|
1899
|
+
class SkipOsAdaptation
|
1900
|
+
# @private
|
1901
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1902
|
+
end
|
1903
|
+
end
|
1904
|
+
|
1789
1905
|
class Source
|
1790
1906
|
# @private
|
1791
1907
|
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::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
|
+
|
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_v1alpha1
|
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-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_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.51.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|