Reference documentation and code samples for the Data Loss Prevention V2 Client class DlpJob.
Combines all of the information about a DLP job.
Generated from protobuf message google.privacy.dlp.v2.DlpJob
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The server-assigned name.
↳ type
int
The type of job.
↳ state
int
State of a job.
↳ risk_details
↳ inspect_details
↳ create_time
↳ start_time
↳ end_time
↳ last_modified
↳ job_trigger_name
string
If created by a job trigger, the resource name of the trigger that instantiated the job.
↳ errors
↳ action_details
getName
The server-assigned name.
string
setName
The server-assigned name.
var
string
$this
getType
The type of job.
int
setType
The type of job.
var
int
$this
getState
State of a job.
int
setState
State of a job.
var
int
$this
getRiskDetails
Results from analyzing risk of a data source.
hasRiskDetails
setRiskDetails
Results from analyzing risk of a data source.
$this
getInspectDetails
Results from inspecting a data source.
hasInspectDetails
setInspectDetails
Results from inspecting a data source.
$this
getCreateTime
Time when the job was created.
hasCreateTime
clearCreateTime
setCreateTime
Time when the job was created.
$this
getStartTime
Time when the job started.
hasStartTime
clearStartTime
setStartTime
Time when the job started.
$this
getEndTime
Time when the job finished.
hasEndTime
clearEndTime
setEndTime
Time when the job finished.
$this
getLastModified
Time when the job was last modified by the system.
hasLastModified
clearLastModified
setLastModified
Time when the job was last modified by the system.
$this
getJobTriggerName
If created by a job trigger, the resource name of the trigger that instantiated the job.
string
setJobTriggerName
If created by a job trigger, the resource name of the trigger that instantiated the job.
var
string
$this
getErrors
A stream of errors encountered running the job.
setErrors
A stream of errors encountered running the job.
$this
getActionDetails
Events that should occur after the job has completed.
setActionDetails
Events that should occur after the job has completed.
$this
getDetails
string