Skip to content

Commit 5eabdc7

Browse files
yoshi-automationsofisl
authored andcommitted
feat(vmmigration): update the API
#### vmmigration:v1alpha1 The following keys were added: - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.flatPath - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.httpMethod - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.id - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameterOrder - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.location - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.pattern - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.required - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.type - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.path - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.request.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.response.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.scopes - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.flatPath - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.httpMethod - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.id - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameterOrder - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.location - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.pattern - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.required - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.type - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.path - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.request.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.response.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.scopes - schemas.CancelDiskMigrationJobRequest.description - schemas.CancelDiskMigrationJobRequest.id - schemas.CancelDiskMigrationJobRequest.type - schemas.ImageImport.properties.machineImageTargetDefaults.$ref - schemas.ImageImport.properties.machineImageTargetDefaults.description - schemas.ImageImportJob.properties.machineImageTargetDetails.$ref - schemas.ImageImportJob.properties.machineImageTargetDetails.description - schemas.ImageImportJob.properties.machineImageTargetDetails.readOnly - schemas.MachineImageParametersOverrides.description - schemas.MachineImageParametersOverrides.id - schemas.MachineImageParametersOverrides.properties.machineType.description - schemas.MachineImageParametersOverrides.properties.machineType.type - schemas.MachineImageParametersOverrides.type - schemas.MachineImageTargetDetails.description - schemas.MachineImageTargetDetails.id - schemas.MachineImageTargetDetails.properties.additionalLicenses.description - schemas.MachineImageTargetDetails.properties.additionalLicenses.items.type - schemas.MachineImageTargetDetails.properties.additionalLicenses.type - schemas.MachineImageTargetDetails.properties.description.description - schemas.MachineImageTargetDetails.properties.description.type - schemas.MachineImageTargetDetails.properties.encryption.$ref - schemas.MachineImageTargetDetails.properties.encryption.description - schemas.MachineImageTargetDetails.properties.labels.additionalProperties.type - schemas.MachineImageTargetDetails.properties.labels.description - schemas.MachineImageTargetDetails.properties.labels.type - schemas.MachineImageTargetDetails.properties.machineImageName.description - schemas.MachineImageTargetDetails.properties.machineImageName.type - schemas.MachineImageTargetDetails.properties.machineImageParametersOverrides.$ref - schemas.MachineImageTargetDetails.properties.machineImageParametersOverrides.description - schemas.MachineImageTargetDetails.properties.networkInterfaces.description - schemas.MachineImageTargetDetails.properties.networkInterfaces.items.$ref - schemas.MachineImageTargetDetails.properties.networkInterfaces.type - schemas.MachineImageTargetDetails.properties.osAdaptationParameters.$ref - schemas.MachineImageTargetDetails.properties.osAdaptationParameters.description - schemas.MachineImageTargetDetails.properties.serviceAccount.$ref - schemas.MachineImageTargetDetails.properties.serviceAccount.description - schemas.MachineImageTargetDetails.properties.shieldedInstanceConfig.$ref - schemas.MachineImageTargetDetails.properties.shieldedInstanceConfig.description - schemas.MachineImageTargetDetails.properties.singleRegionStorage.description - schemas.MachineImageTargetDetails.properties.singleRegionStorage.type - schemas.MachineImageTargetDetails.properties.skipOsAdaptation.$ref - schemas.MachineImageTargetDetails.properties.skipOsAdaptation.description - schemas.MachineImageTargetDetails.properties.tags.description - schemas.MachineImageTargetDetails.properties.tags.items.type - schemas.MachineImageTargetDetails.properties.tags.type - schemas.MachineImageTargetDetails.properties.targetProject.description - schemas.MachineImageTargetDetails.properties.targetProject.type - schemas.MachineImageTargetDetails.type - schemas.NetworkInterface.properties.networkTier.description - schemas.NetworkInterface.properties.networkTier.enum - schemas.NetworkInterface.properties.networkTier.enumDescriptions - schemas.NetworkInterface.properties.networkTier.type - schemas.RunDiskMigrationJobRequest.description - schemas.RunDiskMigrationJobRequest.id - schemas.RunDiskMigrationJobRequest.type - schemas.ServiceAccount.description - schemas.ServiceAccount.id - schemas.ServiceAccount.properties.email.description - schemas.ServiceAccount.properties.email.type - schemas.ServiceAccount.properties.scopes.description - schemas.ServiceAccount.properties.scopes.items.type - schemas.ServiceAccount.properties.scopes.type - schemas.ServiceAccount.type - schemas.ShieldedInstanceConfig.description - schemas.ShieldedInstanceConfig.id - schemas.ShieldedInstanceConfig.properties.enableIntegrityMonitoring.description - schemas.ShieldedInstanceConfig.properties.enableIntegrityMonitoring.type - schemas.ShieldedInstanceConfig.properties.enableVtpm.description - schemas.ShieldedInstanceConfig.properties.enableVtpm.type - schemas.ShieldedInstanceConfig.properties.secureBoot.description - schemas.ShieldedInstanceConfig.properties.secureBoot.enum - schemas.ShieldedInstanceConfig.properties.secureBoot.enumDescriptions - schemas.ShieldedInstanceConfig.properties.secureBoot.type - schemas.ShieldedInstanceConfig.type - schemas.SkipOsAdaptation.description - schemas.SkipOsAdaptation.id - schemas.SkipOsAdaptation.type The following keys were changed: - schemas.BootDiskDefaults.properties.diskType.enum - schemas.BootDiskDefaults.properties.diskType.enumDescriptions - schemas.ComputeEngineTargetDefaults.properties.diskType.enum - schemas.ComputeEngineTargetDefaults.properties.diskType.enumDescriptions - schemas.ComputeEngineTargetDetails.properties.diskType.enum - schemas.ComputeEngineTargetDetails.properties.diskType.enumDescriptions - schemas.DiskImageTargetDetails.properties.additionalLicenses.description - schemas.NetworkInterface.properties.subnetwork.description - schemas.PersistentDiskDefaults.properties.diskType.enum - schemas.PersistentDiskDefaults.properties.diskType.enumDescriptions - schemas.PersistentDiskDefaults.properties.vmAttachmentDetails.description #### vmmigration:v1 The following keys were added: - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.flatPath - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.httpMethod - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.id - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameterOrder - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.location - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.pattern - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.required - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.type - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.path - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.request.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.response.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.scopes - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.flatPath - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.httpMethod - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.id - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameterOrder - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.location - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.pattern - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.required - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.type - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.path - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.request.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.response.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.scopes - schemas.CancelDiskMigrationJobRequest.description - schemas.CancelDiskMigrationJobRequest.id - schemas.CancelDiskMigrationJobRequest.type - schemas.ImageImport.properties.machineImageTargetDefaults.$ref - schemas.ImageImport.properties.machineImageTargetDefaults.description - schemas.ImageImportJob.properties.machineImageTargetDetails.$ref - schemas.ImageImportJob.properties.machineImageTargetDetails.description - schemas.ImageImportJob.properties.machineImageTargetDetails.readOnly - schemas.MachineImageParametersOverrides.description - schemas.MachineImageParametersOverrides.id - schemas.MachineImageParametersOverrides.properties.machineType.description - schemas.MachineImageParametersOverrides.properties.machineType.type - schemas.MachineImageParametersOverrides.type - schemas.MachineImageTargetDetails.description - schemas.MachineImageTargetDetails.id - schemas.MachineImageTargetDetails.properties.additionalLicenses.description - schemas.MachineImageTargetDetails.properties.additionalLicenses.items.type - schemas.MachineImageTargetDetails.properties.additionalLicenses.type - schemas.MachineImageTargetDetails.properties.description.description - schemas.MachineImageTargetDetails.properties.description.type - schemas.MachineImageTargetDetails.properties.encryption.$ref - schemas.MachineImageTargetDetails.properties.encryption.description - schemas.MachineImageTargetDetails.properties.labels.additionalProperties.type - schemas.MachineImageTargetDetails.properties.labels.description - schemas.MachineImageTargetDetails.properties.labels.type - schemas.MachineImageTargetDetails.properties.machineImageName.description - schemas.MachineImageTargetDetails.properties.machineImageName.type - schemas.MachineImageTargetDetails.properties.machineImageParametersOverrides.$ref - schemas.MachineImageTargetDetails.properties.machineImageParametersOverrides.description - schemas.MachineImageTargetDetails.properties.networkInterfaces.description - schemas.MachineImageTargetDetails.properties.networkInterfaces.items.$ref - schemas.MachineImageTargetDetails.properties.networkInterfaces.type - schemas.MachineImageTargetDetails.properties.osAdaptationParameters.$ref - schemas.MachineImageTargetDetails.properties.osAdaptationParameters.description - schemas.MachineImageTargetDetails.properties.serviceAccount.$ref - schemas.MachineImageTargetDetails.properties.serviceAccount.description - schemas.MachineImageTargetDetails.properties.shieldedInstanceConfig.$ref - schemas.MachineImageTargetDetails.properties.shieldedInstanceConfig.description - schemas.MachineImageTargetDetails.properties.singleRegionStorage.description - schemas.MachineImageTargetDetails.properties.singleRegionStorage.type - schemas.MachineImageTargetDetails.properties.skipOsAdaptation.$ref - schemas.MachineImageTargetDetails.properties.skipOsAdaptation.description - schemas.MachineImageTargetDetails.properties.tags.description - schemas.MachineImageTargetDetails.properties.tags.items.type - schemas.MachineImageTargetDetails.properties.tags.type - schemas.MachineImageTargetDetails.properties.targetProject.description - schemas.MachineImageTargetDetails.properties.targetProject.type - schemas.MachineImageTargetDetails.type - schemas.NetworkInterface.properties.networkTier.description - schemas.NetworkInterface.properties.networkTier.enum - schemas.NetworkInterface.properties.networkTier.enumDescriptions - schemas.NetworkInterface.properties.networkTier.type - schemas.RunDiskMigrationJobRequest.description - schemas.RunDiskMigrationJobRequest.id - schemas.RunDiskMigrationJobRequest.type - schemas.ServiceAccount.description - schemas.ServiceAccount.id - schemas.ServiceAccount.properties.email.description - schemas.ServiceAccount.properties.email.type - schemas.ServiceAccount.properties.scopes.description - schemas.ServiceAccount.properties.scopes.items.type - schemas.ServiceAccount.properties.scopes.type - schemas.ServiceAccount.type - schemas.ShieldedInstanceConfig.description - schemas.ShieldedInstanceConfig.id - schemas.ShieldedInstanceConfig.properties.enableIntegrityMonitoring.description - schemas.ShieldedInstanceConfig.properties.enableIntegrityMonitoring.type - schemas.ShieldedInstanceConfig.properties.enableVtpm.description - schemas.ShieldedInstanceConfig.properties.enableVtpm.type - schemas.ShieldedInstanceConfig.properties.secureBoot.description - schemas.ShieldedInstanceConfig.properties.secureBoot.enum - schemas.ShieldedInstanceConfig.properties.secureBoot.enumDescriptions - schemas.ShieldedInstanceConfig.properties.secureBoot.type - schemas.ShieldedInstanceConfig.type - schemas.SkipOsAdaptation.description - schemas.SkipOsAdaptation.id - schemas.SkipOsAdaptation.type The following keys were changed: - schemas.BootDiskDefaults.properties.diskType.enum - schemas.BootDiskDefaults.properties.diskType.enumDescriptions - schemas.ComputeEngineTargetDefaults.properties.diskType.enum - schemas.ComputeEngineTargetDefaults.properties.diskType.enumDescriptions - schemas.ComputeEngineTargetDetails.properties.diskType.enum - schemas.ComputeEngineTargetDetails.properties.diskType.enumDescriptions - schemas.DiskImageTargetDetails.properties.additionalLicenses.description - schemas.NetworkInterface.properties.subnetwork.description - schemas.PersistentDiskDefaults.properties.diskType.enum - schemas.PersistentDiskDefaults.properties.diskType.enumDescriptions - schemas.PersistentDiskDefaults.properties.vmAttachmentDetails.description
1 parent 8ffa3d0 commit 5eabdc7

File tree

4 files changed

+1182
-30
lines changed

4 files changed

+1182
-30
lines changed

discovery/vmmigration-v1.json

Lines changed: 254 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,66 @@
11801180
}
11811181
}
11821182
},
1183+
"diskMigrationJobs": {
1184+
"methods": {
1185+
"cancel": {
1186+
"description": "Cancels the disk migration job.",
1187+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:cancel",
1188+
"httpMethod": "POST",
1189+
"id": "vmmigration.projects.locations.sources.diskMigrationJobs.cancel",
1190+
"parameterOrder": [
1191+
"name"
1192+
],
1193+
"parameters": {
1194+
"name": {
1195+
"description": "Required. The name of the DiskMigrationJob.",
1196+
"location": "path",
1197+
"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$",
1198+
"required": true,
1199+
"type": "string"
1200+
}
1201+
},
1202+
"path": "v1/{+name}:cancel",
1203+
"request": {
1204+
"$ref": "CancelDiskMigrationJobRequest"
1205+
},
1206+
"response": {
1207+
"$ref": "Operation"
1208+
},
1209+
"scopes": [
1210+
"https://www.googleapis.com/auth/cloud-platform"
1211+
]
1212+
},
1213+
"run": {
1214+
"description": "Runs the disk migration job.",
1215+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:run",
1216+
"httpMethod": "POST",
1217+
"id": "vmmigration.projects.locations.sources.diskMigrationJobs.run",
1218+
"parameterOrder": [
1219+
"name"
1220+
],
1221+
"parameters": {
1222+
"name": {
1223+
"description": "Required. The name of the DiskMigrationJob.",
1224+
"location": "path",
1225+
"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$",
1226+
"required": true,
1227+
"type": "string"
1228+
}
1229+
},
1230+
"path": "v1/{+name}:run",
1231+
"request": {
1232+
"$ref": "RunDiskMigrationJobRequest"
1233+
},
1234+
"response": {
1235+
"$ref": "Operation"
1236+
},
1237+
"scopes": [
1238+
"https://www.googleapis.com/auth/cloud-platform"
1239+
]
1240+
}
1241+
}
1242+
},
11831243
"migratingVms": {
11841244
"methods": {
11851245
"create": {
@@ -2220,7 +2280,7 @@
22202280
}
22212281
}
22222282
},
2223-
"revision": "20240613",
2283+
"revision": "20240712",
22242284
"rootUrl": "https://vmmigration.googleapis.com/",
22252285
"schemas": {
22262286
"AccessKeyCredentials": {
@@ -2873,13 +2933,15 @@
28732933
"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED",
28742934
"COMPUTE_ENGINE_DISK_TYPE_STANDARD",
28752935
"COMPUTE_ENGINE_DISK_TYPE_SSD",
2876-
"COMPUTE_ENGINE_DISK_TYPE_BALANCED"
2936+
"COMPUTE_ENGINE_DISK_TYPE_BALANCED",
2937+
"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED"
28772938
],
28782939
"enumDescriptions": [
28792940
"An unspecified disk type. Will be used as STANDARD.",
28802941
"A Standard disk type.",
28812942
"SSD hard disk type.",
2882-
"An alternative to SSD persistent disks that balance performance and cost."
2943+
"An alternative to SSD persistent disks that balance performance and cost.",
2944+
"Hyperdisk balanced disk type."
28832945
],
28842946
"type": "string"
28852947
},
@@ -2906,6 +2968,12 @@
29062968
"properties": {},
29072969
"type": "object"
29082970
},
2971+
"CancelDiskMigrationJobRequest": {
2972+
"description": "Request message for 'CancelDiskMigrationJob' request.",
2973+
"id": "CancelDiskMigrationJobRequest",
2974+
"properties": {},
2975+
"type": "object"
2976+
},
29092977
"CancelImageImportJobRequest": {
29102978
"description": "Request message for 'CancelImageImportJob' request.",
29112979
"id": "CancelImageImportJobRequest",
@@ -3137,13 +3205,15 @@
31373205
"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED",
31383206
"COMPUTE_ENGINE_DISK_TYPE_STANDARD",
31393207
"COMPUTE_ENGINE_DISK_TYPE_SSD",
3140-
"COMPUTE_ENGINE_DISK_TYPE_BALANCED"
3208+
"COMPUTE_ENGINE_DISK_TYPE_BALANCED",
3209+
"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED"
31413210
],
31423211
"enumDescriptions": [
31433212
"An unspecified disk type. Will be used as STANDARD.",
31443213
"A Standard disk type.",
31453214
"SSD hard disk type.",
3146-
"An alternative to SSD persistent disks that balance performance and cost."
3215+
"An alternative to SSD persistent disks that balance performance and cost.",
3216+
"Hyperdisk balanced disk type."
31473217
],
31483218
"type": "string"
31493219
},
@@ -3267,13 +3337,15 @@
32673337
"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED",
32683338
"COMPUTE_ENGINE_DISK_TYPE_STANDARD",
32693339
"COMPUTE_ENGINE_DISK_TYPE_SSD",
3270-
"COMPUTE_ENGINE_DISK_TYPE_BALANCED"
3340+
"COMPUTE_ENGINE_DISK_TYPE_BALANCED",
3341+
"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED"
32713342
],
32723343
"enumDescriptions": [
32733344
"An unspecified disk type. Will be used as STANDARD.",
32743345
"A Standard disk type.",
32753346
"SSD hard disk type.",
3276-
"An alternative to SSD persistent disks that balance performance and cost."
3347+
"An alternative to SSD persistent disks that balance performance and cost.",
3348+
"Hyperdisk balanced disk type."
32773349
],
32783350
"type": "string"
32793351
},
@@ -3713,7 +3785,7 @@
37133785
"id": "DiskImageTargetDetails",
37143786
"properties": {
37153787
"additionalLicenses": {
3716-
"description": "Optional. Additional licenses to assign to the image.",
3788+
"description": "Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME",
37173789
"items": {
37183790
"type": "string"
37193791
},
@@ -3984,6 +4056,10 @@
39844056
"$ref": "Encryption",
39854057
"description": "Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine."
39864058
},
4059+
"machineImageTargetDefaults": {
4060+
"$ref": "MachineImageTargetDetails",
4061+
"description": "Immutable. Target details for importing a machine image, will be used by ImageImportJob."
4062+
},
39874063
"name": {
39884064
"description": "Output only. The resource path of the ImageImport.",
39894065
"readOnly": true,
@@ -4042,6 +4118,11 @@
40424118
"readOnly": true,
40434119
"type": "array"
40444120
},
4121+
"machineImageTargetDetails": {
4122+
"$ref": "MachineImageTargetDetails",
4123+
"description": "Output only. Target details used to import a machine image.",
4124+
"readOnly": true
4125+
},
40454126
"name": {
40464127
"description": "Output only. The resource path of the ImageImportJob.",
40474128
"readOnly": true,
@@ -4581,6 +4662,92 @@
45814662
},
45824663
"type": "object"
45834664
},
4665+
"MachineImageParametersOverrides": {
4666+
"description": "Parameters overriding decisions based on the source machine image configurations.",
4667+
"id": "MachineImageParametersOverrides",
4668+
"properties": {
4669+
"machineType": {
4670+
"description": "Optional. The machine type to create the MachineImage with. If empty, the service will choose a relevant machine type based on the information from the source image. For more information about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.",
4671+
"type": "string"
4672+
}
4673+
},
4674+
"type": "object"
4675+
},
4676+
"MachineImageTargetDetails": {
4677+
"description": "The target details of the machine image resource that will be created by the image import job.",
4678+
"id": "MachineImageTargetDetails",
4679+
"properties": {
4680+
"additionalLicenses": {
4681+
"description": "Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME",
4682+
"items": {
4683+
"type": "string"
4684+
},
4685+
"type": "array"
4686+
},
4687+
"description": {
4688+
"description": "Optional. An optional description of the machine image.",
4689+
"type": "string"
4690+
},
4691+
"encryption": {
4692+
"$ref": "Encryption",
4693+
"description": "Immutable. The encryption to apply to the machine image."
4694+
},
4695+
"labels": {
4696+
"additionalProperties": {
4697+
"type": "string"
4698+
},
4699+
"description": "Optional. The labels to apply to the instance created by the machine image.",
4700+
"type": "object"
4701+
},
4702+
"machineImageName": {
4703+
"description": "Required. The name of the machine image to be created.",
4704+
"type": "string"
4705+
},
4706+
"machineImageParametersOverrides": {
4707+
"$ref": "MachineImageParametersOverrides",
4708+
"description": "Optional. Parameters overriding decisions based on the source machine image configurations."
4709+
},
4710+
"networkInterfaces": {
4711+
"description": "Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses are ignored for machine image import.",
4712+
"items": {
4713+
"$ref": "NetworkInterface"
4714+
},
4715+
"type": "array"
4716+
},
4717+
"osAdaptationParameters": {
4718+
"$ref": "ImageImportOsAdaptationParameters",
4719+
"description": "Optional. Use to set the parameters relevant for the OS adaptation process."
4720+
},
4721+
"serviceAccount": {
4722+
"$ref": "ServiceAccount",
4723+
"description": "Optional. The service account to assign to the instance created by the machine image."
4724+
},
4725+
"shieldedInstanceConfig": {
4726+
"$ref": "ShieldedInstanceConfig",
4727+
"description": "Optional. Shielded instance configuration."
4728+
},
4729+
"singleRegionStorage": {
4730+
"description": "Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.",
4731+
"type": "boolean"
4732+
},
4733+
"skipOsAdaptation": {
4734+
"$ref": "SkipOsAdaptation",
4735+
"description": "Optional. Use to skip OS adaptation process."
4736+
},
4737+
"tags": {
4738+
"description": "Optional. The tags to apply to the instance created by the machine image.",
4739+
"items": {
4740+
"type": "string"
4741+
},
4742+
"type": "array"
4743+
},
4744+
"targetProject": {
4745+
"description": "Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.",
4746+
"type": "string"
4747+
}
4748+
},
4749+
"type": "object"
4750+
},
45844751
"MigratingVm": {
45854752
"description": "MigratingVm describes the VM that will be migrated from a Source environment and its replication state.",
45864753
"id": "MigratingVm",
@@ -4873,8 +5040,22 @@
48735040
"description": "The network to connect the NIC to.",
48745041
"type": "string"
48755042
},
5043+
"networkTier": {
5044+
"description": "Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.",
5045+
"enum": [
5046+
"COMPUTE_ENGINE_NETWORK_TIER_UNSPECIFIED",
5047+
"NETWORK_TIER_STANDARD",
5048+
"NETWORK_TIER_PREMIUM"
5049+
],
5050+
"enumDescriptions": [
5051+
"An unspecified network tier. Will be used as PREMIUM.",
5052+
"A standard network tier.",
5053+
"A premium network tier."
5054+
],
5055+
"type": "string"
5056+
},
48765057
"subnetwork": {
4877-
"description": "The subnetwork to connect the NIC to.",
5058+
"description": "Optional. The subnetwork to connect the NIC to.",
48785059
"type": "string"
48795060
}
48805061
},
@@ -5045,13 +5226,15 @@
50455226
"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED",
50465227
"COMPUTE_ENGINE_DISK_TYPE_STANDARD",
50475228
"COMPUTE_ENGINE_DISK_TYPE_SSD",
5048-
"COMPUTE_ENGINE_DISK_TYPE_BALANCED"
5229+
"COMPUTE_ENGINE_DISK_TYPE_BALANCED",
5230+
"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED"
50495231
],
50505232
"enumDescriptions": [
50515233
"An unspecified disk type. Will be used as STANDARD.",
50525234
"A Standard disk type.",
50535235
"SSD hard disk type.",
5054-
"An alternative to SSD persistent disks that balance performance and cost."
5236+
"An alternative to SSD persistent disks that balance performance and cost.",
5237+
"Hyperdisk balanced disk type."
50555238
],
50565239
"type": "string"
50575240
},
@@ -5066,7 +5249,7 @@
50665249
},
50675250
"vmAttachmentDetails": {
50685251
"$ref": "VmAttachmentDetails",
5069-
"description": "Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attacked to a target VM."
5252+
"description": "Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM."
50705253
}
50715254
},
50725255
"type": "object"
@@ -5214,6 +5397,12 @@
52145397
"properties": {},
52155398
"type": "object"
52165399
},
5400+
"RunDiskMigrationJobRequest": {
5401+
"description": "Request message for 'RunDiskMigrationJobRequest' request.",
5402+
"id": "RunDiskMigrationJobRequest",
5403+
"properties": {},
5404+
"type": "object"
5405+
},
52175406
"SchedulePolicy": {
52185407
"description": "A policy for scheduling replications.",
52195408
"id": "SchedulePolicy",
@@ -5262,12 +5451,65 @@
52625451
},
52635452
"type": "object"
52645453
},
5454+
"ServiceAccount": {
5455+
"description": "Service account to assign to the instance created by the machine image.",
5456+
"id": "ServiceAccount",
5457+
"properties": {
5458+
"email": {
5459+
"description": "Required. The email address of the service account.",
5460+
"type": "string"
5461+
},
5462+
"scopes": {
5463+
"description": "Optional. The list of scopes to be made available for this service account.",
5464+
"items": {
5465+
"type": "string"
5466+
},
5467+
"type": "array"
5468+
}
5469+
},
5470+
"type": "object"
5471+
},
5472+
"ShieldedInstanceConfig": {
5473+
"description": "Shielded instance configuration.",
5474+
"id": "ShieldedInstanceConfig",
5475+
"properties": {
5476+
"enableIntegrityMonitoring": {
5477+
"description": "Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.",
5478+
"type": "boolean"
5479+
},
5480+
"enableVtpm": {
5481+
"description": "Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.",
5482+
"type": "boolean"
5483+
},
5484+
"secureBoot": {
5485+
"description": "Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.",
5486+
"enum": [
5487+
"SECURE_BOOT_UNSPECIFIED",
5488+
"TRUE",
5489+
"FALSE"
5490+
],
5491+
"enumDescriptions": [
5492+
"No explicit value is selected. Will use the configuration of the source (if exists, otherwise the default will be false).",
5493+
"Use secure boot. This can be set to true only if the image boot option is EFI.",
5494+
"Do not use secure boot."
5495+
],
5496+
"type": "string"
5497+
}
5498+
},
5499+
"type": "object"
5500+
},
52655501
"ShuttingDownSourceVMStep": {
52665502
"description": "ShuttingDownSourceVMStep contains specific step details.",
52675503
"id": "ShuttingDownSourceVMStep",
52685504
"properties": {},
52695505
"type": "object"
52705506
},
5507+
"SkipOsAdaptation": {
5508+
"description": "Mentions that the machine image import is not using OS adaptation process.",
5509+
"id": "SkipOsAdaptation",
5510+
"properties": {},
5511+
"type": "object"
5512+
},
52715513
"Source": {
52725514
"description": "Source message describes a specific vm migration Source resource. It contains the source environment information.",
52735515
"id": "Source",

0 commit comments

Comments
 (0)