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

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

ImageImportJob describes the progress and result of an image
import.

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` Output only. 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_details` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.DiskImageTargetDetails` Output only. Target details used to import a disk image. This field is a member of `oneof`_ `target_details`. |
| `machine_image_target_details` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.MachineImageTargetDetails` Output only. Target details used to import a machine image. This field is a member of `oneof`_ `target_details`. |
| `name` | `str` Output only. The resource path of the ImageImportJob. |
| `created_resources` | `MutableSequence[str]` Output only. The resource paths of the resources created by the image import job. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ImageImportJob.State` Output only. The state of the image import. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the image import was created (as an API call, not when it was actually created in the target). |
| `end_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the image import was ended. |
| `errors` | `MutableSequence[google.rpc.status_pb2.Status]` Output only. Provides details on the error that led to the image import state in case of an error. |
| `warnings` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.MigrationWarning]` Output only. Warnings that occurred during the image import. |
| `steps` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ImageImportStep]` Output only. The image import steps list representing its progress. |

## Classes

### State

    State(value)

Possible states of the image import.