google-apis-vmmigration_v1alpha1 0.49.0 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45bef06e5461496552a3b36fdcc0007445225fcb68e4a3c026f77ac7e0b9813a
4
- data.tar.gz: 5a43bd8caa10b02a6fb751480638996da0fa0dd328b46b46ed0475f80f736b1f
3
+ metadata.gz: 3cf969d0de76aecd875540ebd31a6b6d5fb48382d31bb4b24757de1e850d45e4
4
+ data.tar.gz: fd22233dd58795c4563e2a1e11441a18a9788390de5a2f3a954043de0b64a457
5
5
  SHA512:
6
- metadata.gz: db6f65cbf7c8329a53bf54d33e45d8a3e90c1262ad722c53abf39ba62d2c620bd79b8d1624d1526214a3005013be7acbc1030ce3da57f47cbac97085942113f0
7
- data.tar.gz: 12b886bcf2cfd0912244dee438d85080899be9995b680103fe7f1bf50028366ce8eefdaaa2bcf6b4fdd6ecab67b03efd8f3629b599035686ed8d8dacc13157ac
6
+ metadata.gz: 4af8f8ef7d3e4f78836c51993dc106e8cc66769faa055a2380d5868104d7bf0ffee95198c90a475021e9da98151f621f3c143abe264c940c3eabfd89c8386f85
7
+ data.tar.gz: 47c86ebbb2fcbb31f3a65be745509992b3a1e8b5c363d83c58a6d4a0df0e7e0281199733c6e08eab107cae885f355756d6544f38911a6a976768fd699c7b85f2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.51.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240712
6
+
7
+ ### v0.50.0 (2024-06-23)
8
+
9
+ * Regenerated from discovery document revision 20240613
10
+
3
11
  ### v0.49.0 (2024-06-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20240530
@@ -272,6 +272,11 @@ 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
+
275
280
  # Output only. The source's public IP. All communication initiated by this
276
281
  # source will originate from this IP.
277
282
  # Corresponds to the JSON property `publicIp`
@@ -295,6 +300,7 @@ module Google
295
300
  @inventory_security_group_names = args[:inventory_security_group_names] if args.key?(:inventory_security_group_names)
296
301
  @inventory_tag_list = args[:inventory_tag_list] if args.key?(:inventory_tag_list)
297
302
  @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)
298
304
  @public_ip = args[:public_ip] if args.key?(:public_ip)
299
305
  @state = args[:state] if args.key?(:state)
300
306
  end
@@ -798,6 +804,19 @@ module Google
798
804
  end
799
805
  end
800
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
+
801
820
  # Request message for 'CancelImageImportJob' request.
802
821
  class CancelImageImportJobRequest
803
822
  include Google::Apis::Core::Hashable
@@ -1810,7 +1829,10 @@ module Google
1810
1829
  class DiskImageTargetDetails
1811
1830
  include Google::Apis::Core::Hashable
1812
1831
 
1813
- # 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
1814
1836
  # Corresponds to the JSON property `additionalLicenses`
1815
1837
  # @return [Array<String>]
1816
1838
  attr_accessor :additional_licenses
@@ -2196,6 +2218,12 @@ module Google
2196
2218
  # @return [Google::Apis::VmmigrationV1alpha1::Encryption]
2197
2219
  attr_accessor :encryption
2198
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
+
2199
2227
  # Output only. The resource path of the ImageImport.
2200
2228
  # Corresponds to the JSON property `name`
2201
2229
  # @return [String]
@@ -2217,6 +2245,7 @@ module Google
2217
2245
  @create_time = args[:create_time] if args.key?(:create_time)
2218
2246
  @disk_image_target_defaults = args[:disk_image_target_defaults] if args.key?(:disk_image_target_defaults)
2219
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)
2220
2249
  @name = args[:name] if args.key?(:name)
2221
2250
  @recent_image_import_jobs = args[:recent_image_import_jobs] if args.key?(:recent_image_import_jobs)
2222
2251
  end
@@ -2261,6 +2290,12 @@ module Google
2261
2290
  # @return [Array<Google::Apis::VmmigrationV1alpha1::Status>]
2262
2291
  attr_accessor :errors
2263
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
+
2264
2299
  # Output only. The resource path of the ImageImportJob.
2265
2300
  # Corresponds to the JSON property `name`
2266
2301
  # @return [String]
@@ -2293,6 +2328,7 @@ module Google
2293
2328
  @disk_image_target_details = args[:disk_image_target_details] if args.key?(:disk_image_target_details)
2294
2329
  @end_time = args[:end_time] if args.key?(:end_time)
2295
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)
2296
2332
  @name = args[:name] if args.key?(:name)
2297
2333
  @state = args[:state] if args.key?(:state)
2298
2334
  @steps = args[:steps] if args.key?(:steps)
@@ -2932,6 +2968,136 @@ module Google
2932
2968
  end
2933
2969
  end
2934
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
+
2935
3101
  # MigratingVm describes the VM that will be migrated from a Source environment
2936
3102
  # and its replication state.
2937
3103
  class MigratingVm
@@ -3213,6 +3379,33 @@ module Google
3213
3379
  end
3214
3380
  end
3215
3381
 
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
+
3216
3409
  # NetworkInterface represents a NIC of a VM.
3217
3410
  class NetworkInterface
3218
3411
  include Google::Apis::Core::Hashable
@@ -3233,7 +3426,13 @@ module Google
3233
3426
  # @return [String]
3234
3427
  attr_accessor :network
3235
3428
 
3236
- # The subnetwork to connect the NIC to.
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.
3237
3436
  # Corresponds to the JSON property `subnetwork`
3238
3437
  # @return [String]
3239
3438
  attr_accessor :subnetwork
@@ -3247,6 +3446,7 @@ module Google
3247
3446
  @external_ip = args[:external_ip] if args.key?(:external_ip)
3248
3447
  @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
3249
3448
  @network = args[:network] if args.key?(:network)
3449
+ @network_tier = args[:network_tier] if args.key?(:network_tier)
3250
3450
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
3251
3451
  end
3252
3452
  end
@@ -3728,6 +3928,19 @@ module Google
3728
3928
  end
3729
3929
  end
3730
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
+
3731
3944
  # A policy for scheduling replications.
3732
3945
  class SchedulePolicy
3733
3946
  include Google::Apis::Core::Hashable
@@ -3789,6 +4002,68 @@ module Google
3789
4002
  end
3790
4003
  end
3791
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
+
3792
4067
  # ShuttingDownSourceVMStep contains specific step details.
3793
4068
  class ShuttingDownSourceVmStep
3794
4069
  include Google::Apis::Core::Hashable
@@ -3802,6 +4077,19 @@ module Google
3802
4077
  end
3803
4078
  end
3804
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
+
3805
4093
  # Source message describes a specific vm migration Source resource. It contains
3806
4094
  # the source environment information.
3807
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.49.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 = "20240530"
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
 
@@ -478,6 +496,12 @@ module Google
478
496
  include Google::Apis::Core::JsonObjectSupport
479
497
  end
480
498
 
499
+ class NetworkInsights
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
481
505
  class NetworkInterface
482
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
507
 
@@ -568,6 +592,12 @@ module Google
568
592
  include Google::Apis::Core::JsonObjectSupport
569
593
  end
570
594
 
595
+ class RunDiskMigrationJobRequest
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
571
601
  class SchedulePolicy
572
602
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
603
 
@@ -580,12 +610,30 @@ module Google
580
610
  include Google::Apis::Core::JsonObjectSupport
581
611
  end
582
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
+
583
625
  class ShuttingDownSourceVmStep
584
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
627
 
586
628
  include Google::Apis::Core::JsonObjectSupport
587
629
  end
588
630
 
631
+ class SkipOsAdaptation
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
589
637
  class Source
590
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
639
 
@@ -773,6 +821,8 @@ module Google
773
821
  collection :inventory_tag_list, as: 'inventoryTagList', class: Google::Apis::VmmigrationV1alpha1::Tag, decorator: Google::Apis::VmmigrationV1alpha1::Tag::Representation
774
822
 
775
823
  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
+
776
826
  property :public_ip, as: 'publicIp'
777
827
  property :state, as: 'state'
778
828
  end
@@ -914,6 +964,12 @@ module Google
914
964
  end
915
965
  end
916
966
 
967
+ class CancelDiskMigrationJobRequest
968
+ # @private
969
+ class Representation < Google::Apis::Core::JsonRepresentation
970
+ end
971
+ end
972
+
917
973
  class CancelImageImportJobRequest
918
974
  # @private
919
975
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1300,6 +1356,8 @@ module Google
1300
1356
 
1301
1357
  property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1alpha1::Encryption, decorator: Google::Apis::VmmigrationV1alpha1::Encryption::Representation
1302
1358
 
1359
+ property :machine_image_target_defaults, as: 'machineImageTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::MachineImageTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::MachineImageTargetDetails::Representation
1360
+
1303
1361
  property :name, as: 'name'
1304
1362
  collection :recent_image_import_jobs, as: 'recentImageImportJobs', class: Google::Apis::VmmigrationV1alpha1::ImageImportJob, decorator: Google::Apis::VmmigrationV1alpha1::ImageImportJob::Representation
1305
1363
 
@@ -1317,6 +1375,8 @@ module Google
1317
1375
  property :end_time, as: 'endTime'
1318
1376
  collection :errors, as: 'errors', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
1319
1377
 
1378
+ property :machine_image_target_details, as: 'machineImageTargetDetails', class: Google::Apis::VmmigrationV1alpha1::MachineImageTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::MachineImageTargetDetails::Representation
1379
+
1320
1380
  property :name, as: 'name'
1321
1381
  property :state, as: 'state'
1322
1382
  collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::ImageImportStep, decorator: Google::Apis::VmmigrationV1alpha1::ImageImportStep::Representation
@@ -1529,6 +1589,40 @@ module Google
1529
1589
  end
1530
1590
  end
1531
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
+
1532
1626
  class MigratingVm
1533
1627
  # @private
1534
1628
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1603,12 +1697,21 @@ module Google
1603
1697
  end
1604
1698
  end
1605
1699
 
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
+
1606
1708
  class NetworkInterface
1607
1709
  # @private
1608
1710
  class Representation < Google::Apis::Core::JsonRepresentation
1609
1711
  property :external_ip, as: 'externalIp'
1610
1712
  property :internal_ip, as: 'internalIp'
1611
1713
  property :network, as: 'network'
1714
+ property :network_tier, as: 'networkTier'
1612
1715
  property :subnetwork, as: 'subnetwork'
1613
1716
  end
1614
1717
  end
@@ -1747,6 +1850,12 @@ module Google
1747
1850
  end
1748
1851
  end
1749
1852
 
1853
+ class RunDiskMigrationJobRequest
1854
+ # @private
1855
+ class Representation < Google::Apis::Core::JsonRepresentation
1856
+ end
1857
+ end
1858
+
1750
1859
  class SchedulePolicy
1751
1860
  # @private
1752
1861
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1764,12 +1873,35 @@ module Google
1764
1873
  end
1765
1874
  end
1766
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
+
1767
1893
  class ShuttingDownSourceVmStep
1768
1894
  # @private
1769
1895
  class Representation < Google::Apis::Core::JsonRepresentation
1770
1896
  end
1771
1897
  end
1772
1898
 
1899
+ class SkipOsAdaptation
1900
+ # @private
1901
+ class Representation < Google::Apis::Core::JsonRepresentation
1902
+ end
1903
+ end
1904
+
1773
1905
  class Source
1774
1906
  # @private
1775
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.49.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-06-09 00:00:00.000000000 Z
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.49.0
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: []