# Class ImageImport (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

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

ImageImport describes the configuration of the image import
to run.

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** |
| `cloud_storage_uri` | `str` Immutable. The path to the Cloud Storage file from which the image should be imported. This field is a member of `oneof`_ `source`. |
| `disk_image_target_defaults` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.DiskImageTargetDetails` Immutable. Target details for importing a disk image, will be used by ImageImportJob. This field is a member of `oneof`_ `target_defaults`. |
| `machine_image_target_defaults` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.MachineImageTargetDetails` Immutable. Target details for importing a machine image, will be used by ImageImportJob. This field is a member of `oneof`_ `target_defaults`. |
| `name` | `str` Output only. The resource path of the ImageImport. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the image import was created. |
| `recent_image_import_jobs` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ImageImportJob]` Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs. |
| `encryption` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.Encryption` Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine. |