google-apis-vmmigration_v1 0.48.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: 05c1808db435bc1ffaecce47c95bc4a859d891b138134a5b29039b311299ca9c
4
- data.tar.gz: 37b930d29b83384c40d7008d2aa734f3abb9cc67f021840d5732ea9557f6e18b
3
+ metadata.gz: ce978759a6f2b8c8f78cbc8613521b261a8295a750f8d022004ec6b0394e558a
4
+ data.tar.gz: 9fb2764a09915861159b5be307015f35949aee55427f89760d9ecf98e6909186
5
5
  SHA512:
6
- metadata.gz: 736c4a5a2e6412c06eb19489a74637109c26f5bf9166ff7608712b2194982af24f4e47310102618a11ea36dd6375858c48b5e1a6c6f06c096ce864cff1490666
7
- data.tar.gz: c48c34dd00b7ca70295423bbda8210246bfca55a4e8374d3c485199e1d5673ff61abe06c63531c7109fdef0c90147cc1732100303413efc8409655acc491a420
6
+ metadata.gz: 50fd6d51d8379a90b17e76f2e8e2d5d24c07047656150a3a6025834cc34d34f034c79ebcd3812db62319a1a1bed19a2ca4d0bcbf014077d4aee74840997eccb6
7
+ data.tar.gz: 047204d47b54387c9a30f91efeb796ed84d01b39bc70f934e1070aa060da3337d777e2a21abcc20fe2ec832e7334234916a57bf38a409653469a825ac40e0c9e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.50.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240712
6
+
7
+ ### v0.49.0 (2024-06-23)
8
+
9
+ * Regenerated from discovery document revision 20240613
10
+
3
11
  ### v0.48.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::VmmigrationV1::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
@@ -1769,7 +1788,10 @@ module Google
1769
1788
  class DiskImageTargetDetails
1770
1789
  include Google::Apis::Core::Hashable
1771
1790
 
1772
- # 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
1773
1795
  # Corresponds to the JSON property `additionalLicenses`
1774
1796
  # @return [Array<String>]
1775
1797
  attr_accessor :additional_licenses
@@ -2155,6 +2177,12 @@ module Google
2155
2177
  # @return [Google::Apis::VmmigrationV1::Encryption]
2156
2178
  attr_accessor :encryption
2157
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
+
2158
2186
  # Output only. The resource path of the ImageImport.
2159
2187
  # Corresponds to the JSON property `name`
2160
2188
  # @return [String]
@@ -2176,6 +2204,7 @@ module Google
2176
2204
  @create_time = args[:create_time] if args.key?(:create_time)
2177
2205
  @disk_image_target_defaults = args[:disk_image_target_defaults] if args.key?(:disk_image_target_defaults)
2178
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)
2179
2208
  @name = args[:name] if args.key?(:name)
2180
2209
  @recent_image_import_jobs = args[:recent_image_import_jobs] if args.key?(:recent_image_import_jobs)
2181
2210
  end
@@ -2220,6 +2249,12 @@ module Google
2220
2249
  # @return [Array<Google::Apis::VmmigrationV1::Status>]
2221
2250
  attr_accessor :errors
2222
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
+
2223
2258
  # Output only. The resource path of the ImageImportJob.
2224
2259
  # Corresponds to the JSON property `name`
2225
2260
  # @return [String]
@@ -2252,6 +2287,7 @@ module Google
2252
2287
  @disk_image_target_details = args[:disk_image_target_details] if args.key?(:disk_image_target_details)
2253
2288
  @end_time = args[:end_time] if args.key?(:end_time)
2254
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)
2255
2291
  @name = args[:name] if args.key?(:name)
2256
2292
  @state = args[:state] if args.key?(:state)
2257
2293
  @steps = args[:steps] if args.key?(:steps)
@@ -2891,6 +2927,136 @@ module Google
2891
2927
  end
2892
2928
  end
2893
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
+
2894
3060
  # MigratingVm describes the VM that will be migrated from a Source environment
2895
3061
  # and its replication state.
2896
3062
  class MigratingVm
@@ -3158,6 +3324,33 @@ module Google
3158
3324
  end
3159
3325
  end
3160
3326
 
3327
+ # Information about the network coniguration of the source.
3328
+ class NetworkInsights
3329
+ include Google::Apis::Core::Hashable
3330
+
3331
+ # Output only. The gathered network configuration of the source. Presented in
3332
+ # json format.
3333
+ # Corresponds to the JSON property `sourceNetworkConfig`
3334
+ # @return [String]
3335
+ attr_accessor :source_network_config
3336
+
3337
+ # Output only. The gathered network configuration of the source. Presented in
3338
+ # terraform format.
3339
+ # Corresponds to the JSON property `sourceNetworkTerraform`
3340
+ # @return [String]
3341
+ attr_accessor :source_network_terraform
3342
+
3343
+ def initialize(**args)
3344
+ update!(**args)
3345
+ end
3346
+
3347
+ # Update properties of this object
3348
+ def update!(**args)
3349
+ @source_network_config = args[:source_network_config] if args.key?(:source_network_config)
3350
+ @source_network_terraform = args[:source_network_terraform] if args.key?(:source_network_terraform)
3351
+ end
3352
+ end
3353
+
3161
3354
  # NetworkInterface represents a NIC of a VM.
3162
3355
  class NetworkInterface
3163
3356
  include Google::Apis::Core::Hashable
@@ -3178,7 +3371,13 @@ module Google
3178
3371
  # @return [String]
3179
3372
  attr_accessor :network
3180
3373
 
3181
- # The subnetwork to connect the NIC to.
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.
3182
3381
  # Corresponds to the JSON property `subnetwork`
3183
3382
  # @return [String]
3184
3383
  attr_accessor :subnetwork
@@ -3192,6 +3391,7 @@ module Google
3192
3391
  @external_ip = args[:external_ip] if args.key?(:external_ip)
3193
3392
  @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
3194
3393
  @network = args[:network] if args.key?(:network)
3394
+ @network_tier = args[:network_tier] if args.key?(:network_tier)
3195
3395
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
3196
3396
  end
3197
3397
  end
@@ -3667,6 +3867,19 @@ module Google
3667
3867
  end
3668
3868
  end
3669
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
+
3670
3883
  # A policy for scheduling replications.
3671
3884
  class SchedulePolicy
3672
3885
  include Google::Apis::Core::Hashable
@@ -3728,6 +3941,68 @@ module Google
3728
3941
  end
3729
3942
  end
3730
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
+
3731
4006
  # ShuttingDownSourceVMStep contains specific step details.
3732
4007
  class ShuttingDownSourceVmStep
3733
4008
  include Google::Apis::Core::Hashable
@@ -3741,6 +4016,19 @@ module Google
3741
4016
  end
3742
4017
  end
3743
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
+
3744
4032
  # Source message describes a specific vm migration Source resource. It contains
3745
4033
  # the source environment information.
3746
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.48.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 = "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
 
@@ -767,6 +815,8 @@ module Google
767
815
  collection :inventory_tag_list, as: 'inventoryTagList', class: Google::Apis::VmmigrationV1::Tag, decorator: Google::Apis::VmmigrationV1::Tag::Representation
768
816
 
769
817
  hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
818
+ property :network_insights, as: 'networkInsights', class: Google::Apis::VmmigrationV1::NetworkInsights, decorator: Google::Apis::VmmigrationV1::NetworkInsights::Representation
819
+
770
820
  property :public_ip, as: 'publicIp'
771
821
  property :state, as: 'state'
772
822
  end
@@ -908,6 +958,12 @@ module Google
908
958
  end
909
959
  end
910
960
 
961
+ class CancelDiskMigrationJobRequest
962
+ # @private
963
+ class Representation < Google::Apis::Core::JsonRepresentation
964
+ end
965
+ end
966
+
911
967
  class CancelImageImportJobRequest
912
968
  # @private
913
969
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1284,6 +1340,8 @@ module Google
1284
1340
 
1285
1341
  property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1286
1342
 
1343
+ property :machine_image_target_defaults, as: 'machineImageTargetDefaults', class: Google::Apis::VmmigrationV1::MachineImageTargetDetails, decorator: Google::Apis::VmmigrationV1::MachineImageTargetDetails::Representation
1344
+
1287
1345
  property :name, as: 'name'
1288
1346
  collection :recent_image_import_jobs, as: 'recentImageImportJobs', class: Google::Apis::VmmigrationV1::ImageImportJob, decorator: Google::Apis::VmmigrationV1::ImageImportJob::Representation
1289
1347
 
@@ -1301,6 +1359,8 @@ module Google
1301
1359
  property :end_time, as: 'endTime'
1302
1360
  collection :errors, as: 'errors', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
1303
1361
 
1362
+ property :machine_image_target_details, as: 'machineImageTargetDetails', class: Google::Apis::VmmigrationV1::MachineImageTargetDetails, decorator: Google::Apis::VmmigrationV1::MachineImageTargetDetails::Representation
1363
+
1304
1364
  property :name, as: 'name'
1305
1365
  property :state, as: 'state'
1306
1366
  collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1::ImageImportStep, decorator: Google::Apis::VmmigrationV1::ImageImportStep::Representation
@@ -1513,6 +1573,40 @@ module Google
1513
1573
  end
1514
1574
  end
1515
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
+
1516
1610
  class MigratingVm
1517
1611
  # @private
1518
1612
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1583,12 +1677,21 @@ module Google
1583
1677
  end
1584
1678
  end
1585
1679
 
1680
+ class NetworkInsights
1681
+ # @private
1682
+ class Representation < Google::Apis::Core::JsonRepresentation
1683
+ property :source_network_config, as: 'sourceNetworkConfig'
1684
+ property :source_network_terraform, as: 'sourceNetworkTerraform'
1685
+ end
1686
+ end
1687
+
1586
1688
  class NetworkInterface
1587
1689
  # @private
1588
1690
  class Representation < Google::Apis::Core::JsonRepresentation
1589
1691
  property :external_ip, as: 'externalIp'
1590
1692
  property :internal_ip, as: 'internalIp'
1591
1693
  property :network, as: 'network'
1694
+ property :network_tier, as: 'networkTier'
1592
1695
  property :subnetwork, as: 'subnetwork'
1593
1696
  end
1594
1697
  end
@@ -1726,6 +1829,12 @@ module Google
1726
1829
  end
1727
1830
  end
1728
1831
 
1832
+ class RunDiskMigrationJobRequest
1833
+ # @private
1834
+ class Representation < Google::Apis::Core::JsonRepresentation
1835
+ end
1836
+ end
1837
+
1729
1838
  class SchedulePolicy
1730
1839
  # @private
1731
1840
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1743,12 +1852,35 @@ module Google
1743
1852
  end
1744
1853
  end
1745
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
+
1746
1872
  class ShuttingDownSourceVmStep
1747
1873
  # @private
1748
1874
  class Representation < Google::Apis::Core::JsonRepresentation
1749
1875
  end
1750
1876
  end
1751
1877
 
1878
+ class SkipOsAdaptation
1879
+ # @private
1880
+ class Representation < Google::Apis::Core::JsonRepresentation
1881
+ end
1882
+ end
1883
+
1752
1884
  class Source
1753
1885
  # @private
1754
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.48.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-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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.48.0
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: []