Class DataScanEvent (1.5.1)

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

NameDescription
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.
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_ google.cloud.dataplex_v1.types.DataScanEvent.ScanType
The type of the data scan.
state 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 google.cloud.dataplex_v1.types.DataScanEvent.Trigger
The trigger type of the data scan job.
scope google.cloud.dataplex_v1.types.DataScanEvent.Scope
The scope of the data scan (e.g. full, incremental).
data_profile 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 google.cloud.dataplex_v1.types.DataScanEvent.DataQualityResult
Data quality result for data quality type data scan. This field is a member of oneof_ result.

Classes

DataProfileResult

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

Data profile result for data scan job.

DataQualityResult

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

Data quality result for data scan job.

ScanType

ScanType(value)

The type of the data scan.

Values: SCAN_TYPE_UNSPECIFIED (0): An unspecified data scan type. DATA_PROFILE (1): Data scan for data profile. DATA_QUALITY (2): Data scan for data quality.

Scope

Scope(value)

The scope of job for the data scan.

Values: SCOPE_UNSPECIFIED (0): An unspecified scope type. FULL (1): Data scan runs on all of the data. INCREMENTAL (2): Data scan runs on incremental data.

State

State(value)

The job state of the data scan.

Values: STATE_UNSPECIFIED (0): Unspecified job state. STARTED (1): Data scan started. SUCCEEDED (2): Data scan successfully completed. FAILED (3): Data scan was unsuccessful. CANCELLED (4): Data scan was cancelled.

Trigger

Trigger(value)

The trigger type for the data scan.

Values: TRIGGER_UNSPECIFIED (0): An unspecified trigger type. ON_DEMAND (1): Data scan triggers on demand. SCHEDULE (2): Data scan triggers as per schedule.