# Class ImportJob (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.15

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

A resource that represents the background job that imports
asset frames.

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** |
| `name` | `str` Output only. The full name of the import job. |
| `display_name` | `str` User-friendly display name. Maximum length is 63 characters. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The timestamp when the import job was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The timestamp when the import job was last updated. |
| `complete_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The timestamp when the import job was completed. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.ImportJob.ImportJobState` Output only. The state of the import job. |
| `labels` | `MutableMapping[str, str]` Labels as key value pairs. |
| `asset_source` | `str` Required. Reference to a source. |
| `validation_report` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.ValidationReport` Output only. The report with the validation results of the import job. This field is a member of `oneof`_ `report`. |
| `execution_report` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.ExecutionReport` Output only. The report with the results of running the import job. This field is a member of `oneof`_ `report`. |

## Classes

### ImportJobState

    ImportJobState(value)

Enumerates possible states of an import job.

### 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. |