# DiskImageTargetDetails

- [JSON representation](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/DiskImageTargetDetails#SCHEMA_REPRESENTATION)
- [DataDiskImageImport](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/DiskImageTargetDetails#DataDiskImageImport)

The target details of the image resource that will be created by the import job.

| JSON representation |
|---|
| ``` { "imageName": string, "targetProject": string, "description": string, "familyName": string, "labels": { string: string, ... }, "additionalLicenses": [ string ], "singleRegionStorage": boolean, "encryption": { object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/Encryption`) }, // Union field `os_adaptation_config` can be only one of the following: "osAdaptationParameters": { object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/ImageImportOsAdaptationParameters`) }, "dataDiskImageImport": { object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/DiskImageTargetDetails#DataDiskImageImport`) } // End of list of possible types for union field `os_adaptation_config`. } ``` |

| Fields ||
|---|---|
| `imageName` | `string` Required. The name of the image to be created. |
| `targetProject` | `string` Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created. |
| `description` | `string` Optional. An optional description of the image. |
| `familyName` | `string` Optional. The name of the image family to which the new image belongs. |
| `labels` | `map (key: string, value: string)` Optional. A map of labels to associate with the image. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `additionalLicenses[]` | `string` 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> |
| `singleRegionStorage` | `boolean` Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected. |
| `encryption` | ``object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/Encryption`)`` Immutable. The encryption to apply to the image. |
| Union field `os_adaptation_config`. `os_adaptation_config` can be only one of the following: ||
| `osAdaptationParameters` | ``object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/ImageImportOsAdaptationParameters`)`` Optional. Use to set the parameters relevant for the OS adaptation process. |
| `dataDiskImageImport` | ``object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/DiskImageTargetDetails#DataDiskImageImport`)`` Optional. Use to skip OS adaptation process. |

## DataDiskImageImport

This type has no fields.
Mentions that the image import is not using OS adaptation process.