# Class DiskImageTargetDetails (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.3 1.10.0 1.9.1 1.8.5 1.7.0 1.6.2 1.5.1 1.4.0 1.3.3 1.2.0 1.1.2 1.0.0 0.1.0

    DiskImageTargetDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `os_adaptation_parameters` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ImageImportOsAdaptationParameters` Optional. Use to set the parameters relevant for the OS adaptation process. This field is a member of `oneof`_ `os_adaptation_config`. |
| `data_disk_image_import` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.DataDiskImageImport` Optional. Use to skip OS adaptation process. This field is a member of `oneof`_ `os_adaptation_config`. |
| `image_name` | `str` Required. The name of the image to be created. |
| `target_project` | `str` Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created. |
| `description` | `str` Optional. An optional description of the image. |
| `family_name` | `str` Optional. The name of the image family to which the new image belongs. |
| `labels` | `MutableMapping[str, str]` Optional. A map of labels to associate with the image. |
| `additional_licenses` | `MutableSequence[str]` 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 |
| `single_region_storage` | `bool` 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` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.Encryption` Immutable. The encryption to apply to the image. |

## Classes

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |