# Class ImportDataFile (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.15

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

A resource that represents a payload file in an import job.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The name of the file. |
| `display_name` | `str` User-friendly display name. Maximum length is 63 characters. |
| `format_` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.ImportJobFormat` Required. The payload format. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The timestamp when the file was created. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.ImportDataFile.State` Output only. The state of the import data file. |
| `upload_file_info` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.UploadFileInfo` Information about a file that is uploaded to a storage service. This field is a member of `oneof`_ `file_info`. |

## Classes

### State

    State(value)

Enumerates possible states of an import data file.