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

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

These messages contain information about the execution of a
datascan. The monitored resource is 'DataScan'

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** |
| `data_source` | `str` The data source of the data scan |
| `job_id` | `str` The identifier of the specific data scan job this log entry is for. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` The time when the data scan job was created. |
| `start_time` | `google.protobuf.timestamp_pb2.Timestamp` The time when the data scan job started to run. |
| `end_time` | `google.protobuf.timestamp_pb2.Timestamp` The time when the data scan job finished. |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanEvent.ScanType` The type of the data scan. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanEvent.State` The status of the data scan job. |
| `message` | `str` The message describing the data scan job event. |
| `spec_version` | `str` A version identifier of the spec which was used to execute this job. |
| `trigger` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanEvent.Trigger` The trigger type of the data scan job. |
| `scope` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanEvent.Scope` The scope of the data scan (e.g. full, incremental). |
| `data_profile` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanEvent.DataProfileResult` Data profile result for data profile type data scan. This field is a member of `oneof`_ `result`. |
| `data_quality` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanEvent.DataQualityResult` Data quality result for data quality type data scan. This field is a member of `oneof`_ `result`. |
| `data_profile_configs` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanEvent.DataProfileAppliedConfigs` Applied configs for data profile type data scan. This field is a member of `oneof`_ `appliedConfigs`. |
| `data_quality_configs` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanEvent.DataQualityAppliedConfigs` Applied configs for data quality type data scan. This field is a member of `oneof`_ `appliedConfigs`. |
| `post_scan_actions_result` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanEvent.PostScanActionsResult` The result of post scan actions. |
| `catalog_publishing_status` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataScanCatalogPublishingStatus` The status of publishing the data scan as Dataplex Universal Catalog metadata. |

## Classes

### DataProfileAppliedConfigs

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

Applied configs for data profile type data scan job.

### DataProfileResult

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

Data profile result for data scan job.

### DataQualityAppliedConfigs

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

Applied configs for data quality type data scan job.

### DataQualityResult

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

Data quality result for data scan job.

### PostScanActionsResult

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

Post scan actions result for data scan job.

### ScanType

    ScanType(value)

The type of the data scan.

### Scope

    Scope(value)

The scope of job for the data scan.

### State

    State(value)

The job state of the data scan.

### Trigger

    Trigger(value)

The trigger type for the data scan.