Class DlpJob (3.7.1)

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

Combines all of the information about a DLP job.

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
name str
The server-assigned name.
type_ google.cloud.dlp_v2.types.DlpJobType
The type of job.
state google.cloud.dlp_v2.types.DlpJob.JobState
State of a job.
risk_details google.cloud.dlp_v2.types.AnalyzeDataSourceRiskDetails
Results from analyzing risk of a data source. This field is a member of oneof_ details.
inspect_details google.cloud.dlp_v2.types.InspectDataSourceDetails
Results from inspecting a data source. This field is a member of oneof_ details.
create_time google.protobuf.timestamp_pb2.Timestamp
Time when the job was created.
start_time google.protobuf.timestamp_pb2.Timestamp
Time when the job started.
end_time google.protobuf.timestamp_pb2.Timestamp
Time when the job finished.
job_trigger_name str
If created by a job trigger, the resource name of the trigger that instantiated the job.
errors Sequence[google.cloud.dlp_v2.types.Error]
A stream of errors encountered running the job.

Classes

JobState

JobState(value)

Possible states of a job. New items may be added.