Class DlpJob (3.40.0)

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

Name Description
name str
Output only. The server-assigned name.
type_ google.cloud.dlp_v2.types.DlpJobType
The type of job.
state google.cloud.dlp_v2.types.DlpJob.JobState
Output only. 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
Output only. Time when the job was created.
start_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when the job started.
end_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when the job finished.
last_modified google.protobuf.timestamp_pb2.Timestamp
Output only. Time when the job was last modified by the system.
job_trigger_name str
Output only. If created by a job trigger, the resource name of the trigger that instantiated the job.
errors MutableSequence[google.cloud.dlp_v2.types.Error]
Output only. A stream of errors encountered running the job.
action_details MutableSequence[google.cloud.dlp_v2.types.ActionDetails]
Output only. Events that should occur after the job has completed.

Classes

JobState

JobState(value)

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