google-apis-vmmigration_v1 0.49.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fb0fdb8744be505d5f18e02f4ccfceec553cee614e4d69eccf38918ed635ff6
4
- data.tar.gz: 32135ff792ca4bb5da8e5e087607b964f53781199d3c9411ee3f7cabf88df1e7
3
+ metadata.gz: d046b4ec2458a28832547c3d7f660ee15f993de71ccaf8ec1f65baf055d6ec06
4
+ data.tar.gz: 776a3e4ad98c4e30034c24cfac35bb6d59705886594a6e383a382f43561d11a7
5
5
  SHA512:
6
- metadata.gz: 4ca27bc9ad76760e40c66f2d8de095da01d0f3a98c07ab7e5f13f0878037b7716c7909923cd045eabe3db0f7840ce67157073c86a4456498dcfe87b6ca3b7f1d
7
- data.tar.gz: c8a3d32912aea4efbd5fe26470fd973d57eac97bd3c96dcfedc925529480c0d357086808c0559f70f19ee52bedd2bbb31dab6148a9ec424e60a0bc3e9156b178
6
+ metadata.gz: 4a99868197c4d9cf69d245c311ab1d92a2b93c4b6263390966232e9b368a47e4048af939d27afbdce3bf4d1fe3cf2ff3dfaa81ca3039985ce96c249a015c87e9
7
+ data.tar.gz: ee2c34f2cf74c9534234127a2a0a9d899b9d0bacfc76d632dfa57cf25cb64aa0b945ca532d42ef504557e6d76545b8afe82b149a61f46d2dc80a889d4a20cb45
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.51.0 (2024-08-18)
4
+
5
+ * Regenerated from discovery document revision 20240808
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.50.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240712
11
+
3
12
  ### v0.49.0 (2024-06-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20240613
@@ -272,11 +272,6 @@ module Google
272
272
  # @return [Hash<String,String>]
273
273
  attr_accessor :migration_resources_user_tags
274
274
 
275
- # Information about the network coniguration of the source.
276
- # Corresponds to the JSON property `networkInsights`
277
- # @return [Google::Apis::VmmigrationV1::NetworkInsights]
278
- attr_accessor :network_insights
279
-
280
275
  # Output only. The source's public IP. All communication initiated by this
281
276
  # source will originate from this IP.
282
277
  # Corresponds to the JSON property `publicIp`
@@ -300,7 +295,6 @@ module Google
300
295
  @inventory_security_group_names = args[:inventory_security_group_names] if args.key?(:inventory_security_group_names)
301
296
  @inventory_tag_list = args[:inventory_tag_list] if args.key?(:inventory_tag_list)
302
297
  @migration_resources_user_tags = args[:migration_resources_user_tags] if args.key?(:migration_resources_user_tags)
303
- @network_insights = args[:network_insights] if args.key?(:network_insights)
304
298
  @public_ip = args[:public_ip] if args.key?(:public_ip)
305
299
  @state = args[:state] if args.key?(:state)
306
300
  end
@@ -1079,6 +1073,13 @@ module Google
1079
1073
  # @return [Google::Apis::VmmigrationV1::AppliedLicense]
1080
1074
  attr_accessor :applied_license
1081
1075
 
1076
+ # Optional. By default the virtual machine will keep its existing boot option.
1077
+ # Setting this property will trigger an internal process which will convert the
1078
+ # virtual machine from using the existing boot option to another.
1079
+ # Corresponds to the JSON property `bootConversion`
1080
+ # @return [String]
1081
+ attr_accessor :boot_conversion
1082
+
1082
1083
  # Output only. The VM Boot Option, as set in the source VM.
1083
1084
  # Corresponds to the JSON property `bootOption`
1084
1085
  # @return [String]
@@ -1095,6 +1096,20 @@ module Google
1095
1096
  # @return [String]
1096
1097
  attr_accessor :disk_type
1097
1098
 
1099
+ # Optional. Defines whether the instance has integrity monitoring enabled. This
1100
+ # can be set to true only if the VM boot option is EFI, and vTPM is enabled.
1101
+ # Corresponds to the JSON property `enableIntegrityMonitoring`
1102
+ # @return [Boolean]
1103
+ attr_accessor :enable_integrity_monitoring
1104
+ alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
1105
+
1106
+ # Optional. Defines whether the instance has vTPM enabled. This can be set to
1107
+ # true only if the VM boot option is EFI.
1108
+ # Corresponds to the JSON property `enableVtpm`
1109
+ # @return [Boolean]
1110
+ attr_accessor :enable_vtpm
1111
+ alias_method :enable_vtpm?, :enable_vtpm
1112
+
1098
1113
  # Encryption message describes the details of the applied encryption.
1099
1114
  # Corresponds to the JSON property `encryption`
1100
1115
  # @return [Google::Apis::VmmigrationV1::Encryption]
@@ -1176,9 +1191,12 @@ module Google
1176
1191
  def update!(**args)
1177
1192
  @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
1178
1193
  @applied_license = args[:applied_license] if args.key?(:applied_license)
1194
+ @boot_conversion = args[:boot_conversion] if args.key?(:boot_conversion)
1179
1195
  @boot_option = args[:boot_option] if args.key?(:boot_option)
1180
1196
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
1181
1197
  @disk_type = args[:disk_type] if args.key?(:disk_type)
1198
+ @enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
1199
+ @enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
1182
1200
  @encryption = args[:encryption] if args.key?(:encryption)
1183
1201
  @hostname = args[:hostname] if args.key?(:hostname)
1184
1202
  @labels = args[:labels] if args.key?(:labels)
@@ -1211,6 +1229,13 @@ module Google
1211
1229
  # @return [Google::Apis::VmmigrationV1::AppliedLicense]
1212
1230
  attr_accessor :applied_license
1213
1231
 
1232
+ # Optional. By default the virtual machine will keep its existing boot option.
1233
+ # Setting this property will trigger an internal process which will convert the
1234
+ # virtual machine from using the existing boot option to another.
1235
+ # Corresponds to the JSON property `bootConversion`
1236
+ # @return [String]
1237
+ attr_accessor :boot_conversion
1238
+
1214
1239
  # The VM Boot Option, as set in the source VM.
1215
1240
  # Corresponds to the JSON property `bootOption`
1216
1241
  # @return [String]
@@ -1227,6 +1252,18 @@ module Google
1227
1252
  # @return [String]
1228
1253
  attr_accessor :disk_type
1229
1254
 
1255
+ # Optional. Defines whether the instance has integrity monitoring enabled.
1256
+ # Corresponds to the JSON property `enableIntegrityMonitoring`
1257
+ # @return [Boolean]
1258
+ attr_accessor :enable_integrity_monitoring
1259
+ alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
1260
+
1261
+ # Optional. Defines whether the instance has vTPM enabled.
1262
+ # Corresponds to the JSON property `enableVtpm`
1263
+ # @return [Boolean]
1264
+ attr_accessor :enable_vtpm
1265
+ alias_method :enable_vtpm?, :enable_vtpm
1266
+
1230
1267
  # Encryption message describes the details of the applied encryption.
1231
1268
  # Corresponds to the JSON property `encryption`
1232
1269
  # @return [Google::Apis::VmmigrationV1::Encryption]
@@ -1307,9 +1344,12 @@ module Google
1307
1344
  def update!(**args)
1308
1345
  @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
1309
1346
  @applied_license = args[:applied_license] if args.key?(:applied_license)
1347
+ @boot_conversion = args[:boot_conversion] if args.key?(:boot_conversion)
1310
1348
  @boot_option = args[:boot_option] if args.key?(:boot_option)
1311
1349
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
1312
1350
  @disk_type = args[:disk_type] if args.key?(:disk_type)
1351
+ @enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
1352
+ @enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
1313
1353
  @encryption = args[:encryption] if args.key?(:encryption)
1314
1354
  @hostname = args[:hostname] if args.key?(:hostname)
1315
1355
  @labels = args[:labels] if args.key?(:labels)
@@ -1775,7 +1815,10 @@ module Google
1775
1815
  class DiskImageTargetDetails
1776
1816
  include Google::Apis::Core::Hashable
1777
1817
 
1778
- # Optional. Additional licenses to assign to the image.
1818
+ # Optional. Additional licenses to assign to the image. Format: https://www.
1819
+ # googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or
1820
+ # https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/
1821
+ # LICENSE_NAME
1779
1822
  # Corresponds to the JSON property `additionalLicenses`
1780
1823
  # @return [Array<String>]
1781
1824
  attr_accessor :additional_licenses
@@ -1893,6 +1936,18 @@ module Google
1893
1936
  # @return [Google::Apis::VmmigrationV1::ComputeScheduling]
1894
1937
  attr_accessor :compute_scheduling
1895
1938
 
1939
+ # Optional. Defines whether the instance has integrity monitoring enabled.
1940
+ # Corresponds to the JSON property `enableIntegrityMonitoring`
1941
+ # @return [Boolean]
1942
+ attr_accessor :enable_integrity_monitoring
1943
+ alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
1944
+
1945
+ # Optional. Defines whether the instance has vTPM enabled.
1946
+ # Corresponds to the JSON property `enableVtpm`
1947
+ # @return [Boolean]
1948
+ attr_accessor :enable_vtpm
1949
+ alias_method :enable_vtpm?, :enable_vtpm
1950
+
1896
1951
  # Encryption message describes the details of the applied encryption.
1897
1952
  # Corresponds to the JSON property `encryption`
1898
1953
  # @return [Google::Apis::VmmigrationV1::Encryption]
@@ -1959,6 +2014,8 @@ module Google
1959
2014
  @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
1960
2015
  @boot_disk_defaults = args[:boot_disk_defaults] if args.key?(:boot_disk_defaults)
1961
2016
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
2017
+ @enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
2018
+ @enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
1962
2019
  @encryption = args[:encryption] if args.key?(:encryption)
1963
2020
  @hostname = args[:hostname] if args.key?(:hostname)
1964
2021
  @labels = args[:labels] if args.key?(:labels)
@@ -2161,6 +2218,12 @@ module Google
2161
2218
  # @return [Google::Apis::VmmigrationV1::Encryption]
2162
2219
  attr_accessor :encryption
2163
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::VmmigrationV1::MachineImageTargetDetails]
2225
+ attr_accessor :machine_image_target_defaults
2226
+
2164
2227
  # Output only. The resource path of the ImageImport.
2165
2228
  # Corresponds to the JSON property `name`
2166
2229
  # @return [String]
@@ -2182,6 +2245,7 @@ module Google
2182
2245
  @create_time = args[:create_time] if args.key?(:create_time)
2183
2246
  @disk_image_target_defaults = args[:disk_image_target_defaults] if args.key?(:disk_image_target_defaults)
2184
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)
2185
2249
  @name = args[:name] if args.key?(:name)
2186
2250
  @recent_image_import_jobs = args[:recent_image_import_jobs] if args.key?(:recent_image_import_jobs)
2187
2251
  end
@@ -2226,6 +2290,12 @@ module Google
2226
2290
  # @return [Array<Google::Apis::VmmigrationV1::Status>]
2227
2291
  attr_accessor :errors
2228
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::VmmigrationV1::MachineImageTargetDetails]
2297
+ attr_accessor :machine_image_target_details
2298
+
2229
2299
  # Output only. The resource path of the ImageImportJob.
2230
2300
  # Corresponds to the JSON property `name`
2231
2301
  # @return [String]
@@ -2258,6 +2328,7 @@ module Google
2258
2328
  @disk_image_target_details = args[:disk_image_target_details] if args.key?(:disk_image_target_details)
2259
2329
  @end_time = args[:end_time] if args.key?(:end_time)
2260
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)
2261
2332
  @name = args[:name] if args.key?(:name)
2262
2333
  @state = args[:state] if args.key?(:state)
2263
2334
  @steps = args[:steps] if args.key?(:steps)
@@ -2897,6 +2968,136 @@ module Google
2897
2968
  end
2898
2969
  end
2899
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::VmmigrationV1::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::VmmigrationV1::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::VmmigrationV1::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::VmmigrationV1::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::VmmigrationV1::ServiceAccount]
3048
+ attr_accessor :service_account
3049
+
3050
+ # Shielded instance configuration.
3051
+ # Corresponds to the JSON property `shieldedInstanceConfig`
3052
+ # @return [Google::Apis::VmmigrationV1::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::VmmigrationV1::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
+
2900
3101
  # MigratingVm describes the VM that will be migrated from a Source environment
2901
3102
  # and its replication state.
2902
3103
  class MigratingVm
@@ -3164,33 +3365,6 @@ module Google
3164
3365
  end
3165
3366
  end
3166
3367
 
3167
- # Information about the network coniguration of the source.
3168
- class NetworkInsights
3169
- include Google::Apis::Core::Hashable
3170
-
3171
- # Output only. The gathered network configuration of the source. Presented in
3172
- # json format.
3173
- # Corresponds to the JSON property `sourceNetworkConfig`
3174
- # @return [String]
3175
- attr_accessor :source_network_config
3176
-
3177
- # Output only. The gathered network configuration of the source. Presented in
3178
- # terraform format.
3179
- # Corresponds to the JSON property `sourceNetworkTerraform`
3180
- # @return [String]
3181
- attr_accessor :source_network_terraform
3182
-
3183
- def initialize(**args)
3184
- update!(**args)
3185
- end
3186
-
3187
- # Update properties of this object
3188
- def update!(**args)
3189
- @source_network_config = args[:source_network_config] if args.key?(:source_network_config)
3190
- @source_network_terraform = args[:source_network_terraform] if args.key?(:source_network_terraform)
3191
- end
3192
- end
3193
-
3194
3368
  # NetworkInterface represents a NIC of a VM.
3195
3369
  class NetworkInterface
3196
3370
  include Google::Apis::Core::Hashable
@@ -3211,7 +3385,14 @@ module Google
3211
3385
  # @return [String]
3212
3386
  attr_accessor :network
3213
3387
 
3214
- # The subnetwork to connect the NIC to.
3388
+ # Optional. The networking tier used for optimizing connectivity between
3389
+ # instances and systems on the internet. Applies only for external ephemeral IP
3390
+ # addresses. If left empty, will default to PREMIUM.
3391
+ # Corresponds to the JSON property `networkTier`
3392
+ # @return [String]
3393
+ attr_accessor :network_tier
3394
+
3395
+ # Optional. The subnetwork to connect the NIC to.
3215
3396
  # Corresponds to the JSON property `subnetwork`
3216
3397
  # @return [String]
3217
3398
  attr_accessor :subnetwork
@@ -3225,6 +3406,7 @@ module Google
3225
3406
  @external_ip = args[:external_ip] if args.key?(:external_ip)
3226
3407
  @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
3227
3408
  @network = args[:network] if args.key?(:network)
3409
+ @network_tier = args[:network_tier] if args.key?(:network_tier)
3228
3410
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
3229
3411
  end
3230
3412
  end
@@ -3761,6 +3943,68 @@ module Google
3761
3943
  end
3762
3944
  end
3763
3945
 
3946
+ # Service account to assign to the instance created by the machine image.
3947
+ class ServiceAccount
3948
+ include Google::Apis::Core::Hashable
3949
+
3950
+ # Required. The email address of the service account.
3951
+ # Corresponds to the JSON property `email`
3952
+ # @return [String]
3953
+ attr_accessor :email
3954
+
3955
+ # Optional. The list of scopes to be made available for this service account.
3956
+ # Corresponds to the JSON property `scopes`
3957
+ # @return [Array<String>]
3958
+ attr_accessor :scopes
3959
+
3960
+ def initialize(**args)
3961
+ update!(**args)
3962
+ end
3963
+
3964
+ # Update properties of this object
3965
+ def update!(**args)
3966
+ @email = args[:email] if args.key?(:email)
3967
+ @scopes = args[:scopes] if args.key?(:scopes)
3968
+ end
3969
+ end
3970
+
3971
+ # Shielded instance configuration.
3972
+ class ShieldedInstanceConfig
3973
+ include Google::Apis::Core::Hashable
3974
+
3975
+ # Optional. Defines whether the instance created by the machine image has
3976
+ # integrity monitoring enabled. This can be set to true only if the image boot
3977
+ # option is EFI, and vTPM is enabled.
3978
+ # Corresponds to the JSON property `enableIntegrityMonitoring`
3979
+ # @return [Boolean]
3980
+ attr_accessor :enable_integrity_monitoring
3981
+ alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
3982
+
3983
+ # Optional. Defines whether the instance created by the machine image has vTPM
3984
+ # enabled. This can be set to true only if the image boot option is EFI.
3985
+ # Corresponds to the JSON property `enableVtpm`
3986
+ # @return [Boolean]
3987
+ attr_accessor :enable_vtpm
3988
+ alias_method :enable_vtpm?, :enable_vtpm
3989
+
3990
+ # Optional. Defines whether the instance created by the machine image has Secure
3991
+ # Boot enabled. This can be set to true only if the image boot option is EFI.
3992
+ # Corresponds to the JSON property `secureBoot`
3993
+ # @return [String]
3994
+ attr_accessor :secure_boot
3995
+
3996
+ def initialize(**args)
3997
+ update!(**args)
3998
+ end
3999
+
4000
+ # Update properties of this object
4001
+ def update!(**args)
4002
+ @enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
4003
+ @enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
4004
+ @secure_boot = args[:secure_boot] if args.key?(:secure_boot)
4005
+ end
4006
+ end
4007
+
3764
4008
  # ShuttingDownSourceVMStep contains specific step details.
3765
4009
  class ShuttingDownSourceVmStep
3766
4010
  include Google::Apis::Core::Hashable
@@ -3774,6 +4018,19 @@ module Google
3774
4018
  end
3775
4019
  end
3776
4020
 
4021
+ # Mentions that the machine image import is not using OS adaptation process.
4022
+ class SkipOsAdaptation
4023
+ include Google::Apis::Core::Hashable
4024
+
4025
+ def initialize(**args)
4026
+ update!(**args)
4027
+ end
4028
+
4029
+ # Update properties of this object
4030
+ def update!(**args)
4031
+ end
4032
+ end
4033
+
3777
4034
  # Source message describes a specific vm migration Source resource. It contains
3778
4035
  # the source environment information.
3779
4036
  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.49.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240613"
25
+ REVISION = "20240808"
26
26
  end
27
27
  end
28
28
  end
@@ -460,25 +460,31 @@ module Google
460
460
  include Google::Apis::Core::JsonObjectSupport
461
461
  end
462
462
 
463
- class MigratingVm
463
+ class MachineImageParametersOverrides
464
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
465
 
466
466
  include Google::Apis::Core::JsonObjectSupport
467
467
  end
468
468
 
469
- class MigrationError
469
+ class MachineImageTargetDetails
470
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
471
 
472
472
  include Google::Apis::Core::JsonObjectSupport
473
473
  end
474
474
 
475
- class MigrationWarning
475
+ class MigratingVm
476
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
477
 
478
478
  include Google::Apis::Core::JsonObjectSupport
479
479
  end
480
480
 
481
- class NetworkInsights
481
+ class MigrationError
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class MigrationWarning
482
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
489
 
484
490
  include Google::Apis::Core::JsonObjectSupport
@@ -586,12 +592,30 @@ module Google
586
592
  include Google::Apis::Core::JsonObjectSupport
587
593
  end
588
594
 
595
+ class ServiceAccount
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class ShieldedInstanceConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
589
607
  class ShuttingDownSourceVmStep
590
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
609
 
592
610
  include Google::Apis::Core::JsonObjectSupport
593
611
  end
594
612
 
613
+ class SkipOsAdaptation
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
595
619
  class Source
596
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
621
 
@@ -773,8 +797,6 @@ module Google
773
797
  collection :inventory_tag_list, as: 'inventoryTagList', class: Google::Apis::VmmigrationV1::Tag, decorator: Google::Apis::VmmigrationV1::Tag::Representation
774
798
 
775
799
  hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
776
- property :network_insights, as: 'networkInsights', class: Google::Apis::VmmigrationV1::NetworkInsights, decorator: Google::Apis::VmmigrationV1::NetworkInsights::Representation
777
-
778
800
  property :public_ip, as: 'publicIp'
779
801
  property :state, as: 'state'
780
802
  end
@@ -1002,10 +1024,13 @@ module Google
1002
1024
  collection :additional_licenses, as: 'additionalLicenses'
1003
1025
  property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
1004
1026
 
1027
+ property :boot_conversion, as: 'bootConversion'
1005
1028
  property :boot_option, as: 'bootOption'
1006
1029
  property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
1007
1030
 
1008
1031
  property :disk_type, as: 'diskType'
1032
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
1033
+ property :enable_vtpm, as: 'enableVtpm'
1009
1034
  property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1010
1035
 
1011
1036
  property :hostname, as: 'hostname'
@@ -1031,10 +1056,13 @@ module Google
1031
1056
  collection :additional_licenses, as: 'additionalLicenses'
1032
1057
  property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
1033
1058
 
1059
+ property :boot_conversion, as: 'bootConversion'
1034
1060
  property :boot_option, as: 'bootOption'
1035
1061
  property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
1036
1062
 
1037
1063
  property :disk_type, as: 'diskType'
1064
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
1065
+ property :enable_vtpm, as: 'enableVtpm'
1038
1066
  property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1039
1067
 
1040
1068
  property :hostname, as: 'hostname'
@@ -1215,6 +1243,8 @@ module Google
1215
1243
 
1216
1244
  property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
1217
1245
 
1246
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
1247
+ property :enable_vtpm, as: 'enableVtpm'
1218
1248
  property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1219
1249
 
1220
1250
  property :hostname, as: 'hostname'
@@ -1292,6 +1322,8 @@ module Google
1292
1322
 
1293
1323
  property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1294
1324
 
1325
+ property :machine_image_target_defaults, as: 'machineImageTargetDefaults', class: Google::Apis::VmmigrationV1::MachineImageTargetDetails, decorator: Google::Apis::VmmigrationV1::MachineImageTargetDetails::Representation
1326
+
1295
1327
  property :name, as: 'name'
1296
1328
  collection :recent_image_import_jobs, as: 'recentImageImportJobs', class: Google::Apis::VmmigrationV1::ImageImportJob, decorator: Google::Apis::VmmigrationV1::ImageImportJob::Representation
1297
1329
 
@@ -1309,6 +1341,8 @@ module Google
1309
1341
  property :end_time, as: 'endTime'
1310
1342
  collection :errors, as: 'errors', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
1311
1343
 
1344
+ property :machine_image_target_details, as: 'machineImageTargetDetails', class: Google::Apis::VmmigrationV1::MachineImageTargetDetails, decorator: Google::Apis::VmmigrationV1::MachineImageTargetDetails::Representation
1345
+
1312
1346
  property :name, as: 'name'
1313
1347
  property :state, as: 'state'
1314
1348
  collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1::ImageImportStep, decorator: Google::Apis::VmmigrationV1::ImageImportStep::Representation
@@ -1521,6 +1555,40 @@ module Google
1521
1555
  end
1522
1556
  end
1523
1557
 
1558
+ class MachineImageParametersOverrides
1559
+ # @private
1560
+ class Representation < Google::Apis::Core::JsonRepresentation
1561
+ property :machine_type, as: 'machineType'
1562
+ end
1563
+ end
1564
+
1565
+ class MachineImageTargetDetails
1566
+ # @private
1567
+ class Representation < Google::Apis::Core::JsonRepresentation
1568
+ collection :additional_licenses, as: 'additionalLicenses'
1569
+ property :description, as: 'description'
1570
+ property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1571
+
1572
+ hash :labels, as: 'labels'
1573
+ property :machine_image_name, as: 'machineImageName'
1574
+ property :machine_image_parameters_overrides, as: 'machineImageParametersOverrides', class: Google::Apis::VmmigrationV1::MachineImageParametersOverrides, decorator: Google::Apis::VmmigrationV1::MachineImageParametersOverrides::Representation
1575
+
1576
+ collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1::NetworkInterface, decorator: Google::Apis::VmmigrationV1::NetworkInterface::Representation
1577
+
1578
+ property :os_adaptation_parameters, as: 'osAdaptationParameters', class: Google::Apis::VmmigrationV1::ImageImportOsAdaptationParameters, decorator: Google::Apis::VmmigrationV1::ImageImportOsAdaptationParameters::Representation
1579
+
1580
+ property :service_account, as: 'serviceAccount', class: Google::Apis::VmmigrationV1::ServiceAccount, decorator: Google::Apis::VmmigrationV1::ServiceAccount::Representation
1581
+
1582
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::VmmigrationV1::ShieldedInstanceConfig, decorator: Google::Apis::VmmigrationV1::ShieldedInstanceConfig::Representation
1583
+
1584
+ property :single_region_storage, as: 'singleRegionStorage'
1585
+ property :skip_os_adaptation, as: 'skipOsAdaptation', class: Google::Apis::VmmigrationV1::SkipOsAdaptation, decorator: Google::Apis::VmmigrationV1::SkipOsAdaptation::Representation
1586
+
1587
+ collection :tags, as: 'tags'
1588
+ property :target_project, as: 'targetProject'
1589
+ end
1590
+ end
1591
+
1524
1592
  class MigratingVm
1525
1593
  # @private
1526
1594
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1591,20 +1659,13 @@ module Google
1591
1659
  end
1592
1660
  end
1593
1661
 
1594
- class NetworkInsights
1595
- # @private
1596
- class Representation < Google::Apis::Core::JsonRepresentation
1597
- property :source_network_config, as: 'sourceNetworkConfig'
1598
- property :source_network_terraform, as: 'sourceNetworkTerraform'
1599
- end
1600
- end
1601
-
1602
1662
  class NetworkInterface
1603
1663
  # @private
1604
1664
  class Representation < Google::Apis::Core::JsonRepresentation
1605
1665
  property :external_ip, as: 'externalIp'
1606
1666
  property :internal_ip, as: 'internalIp'
1607
1667
  property :network, as: 'network'
1668
+ property :network_tier, as: 'networkTier'
1608
1669
  property :subnetwork, as: 'subnetwork'
1609
1670
  end
1610
1671
  end
@@ -1759,12 +1820,35 @@ module Google
1759
1820
  end
1760
1821
  end
1761
1822
 
1823
+ class ServiceAccount
1824
+ # @private
1825
+ class Representation < Google::Apis::Core::JsonRepresentation
1826
+ property :email, as: 'email'
1827
+ collection :scopes, as: 'scopes'
1828
+ end
1829
+ end
1830
+
1831
+ class ShieldedInstanceConfig
1832
+ # @private
1833
+ class Representation < Google::Apis::Core::JsonRepresentation
1834
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
1835
+ property :enable_vtpm, as: 'enableVtpm'
1836
+ property :secure_boot, as: 'secureBoot'
1837
+ end
1838
+ end
1839
+
1762
1840
  class ShuttingDownSourceVmStep
1763
1841
  # @private
1764
1842
  class Representation < Google::Apis::Core::JsonRepresentation
1765
1843
  end
1766
1844
  end
1767
1845
 
1846
+ class SkipOsAdaptation
1847
+ # @private
1848
+ class Representation < Google::Apis::Core::JsonRepresentation
1849
+ end
1850
+ end
1851
+
1768
1852
  class Source
1769
1853
  # @private
1770
1854
  class Representation < Google::Apis::Core::JsonRepresentation
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.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-23 00:00:00.000000000 Z
11
+ date: 2024-08-18 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.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.51.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: []