# Class DataScanJob (2.20.0)

2.20.0 (latest) 2.19.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.2 2.9.0 2.8.0 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.2 2.1.0 2.0.1 1.13.0 1.12.3 1.11.0 1.10.0 1.9.0 1.8.1 1.7.0 1.6.2 1.5.1 1.4.3 1.3.0 1.2.0 1.1.3 1.0.1 0.2.1 0.1.0

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

A DataScanJob represents an instance of DataScan execution.

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. Identifier. The relative resource name of the DataScanJob, of the form: `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`, where `project` refers to a \*project_id\* or \*project_number\* and `location_id` refers to a Google Cloud region. |
| `uid` | `str` Output only. System generated globally unique ID for the DataScanJob. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the DataScanJob was created. |
| `partial_failure_message` | `str` Output only. A message indicating partial failure details. |
| `start_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the DataScanJob was started. |
| `end_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the DataScanJob ended. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanJob.State` Output only. Execution state for the DataScanJob. |
| `message` | `str` Output only. Additional information about the current state. |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanType` Output only. The type of the parent DataScan. |
| `data_quality_spec` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataQualitySpec` Output only. Settings for a data quality scan. This field is a member of `oneof`_ `spec`. |
| `data_profile_spec` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataProfileSpec` Output only. Settings for a data profile scan. This field is a member of `oneof`_ `spec`. |
| `data_discovery_spec` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataDiscoverySpec` Output only. Settings for a data discovery scan. This field is a member of `oneof`_ `spec`. |
| `data_documentation_spec` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataDocumentationSpec` Output only. Settings for a data documentation scan. This field is a member of `oneof`_ `spec`. |
| `data_quality_result` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataQualityResult` Output only. The result of a data quality scan. This field is a member of `oneof`_ `result`. |
| `data_profile_result` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataProfileResult` Output only. The result of a data profile scan. This field is a member of `oneof`_ `result`. |
| `data_discovery_result` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataDiscoveryResult` Output only. The result of a data discovery scan. This field is a member of `oneof`_ `result`. |
| `data_documentation_result` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataDocumentationResult` Output only. The result of a data documentation scan. This field is a member of `oneof`_ `result`. |

## Classes

### State

    State(value)

Execution state for the DataScanJob.