Data Loss Prevention V2 Client - Class DlpJob (1.14.0)

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 \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
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
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails

Results from analyzing risk of a data source.

↳ inspect_details
Google\Cloud\Dlp\V2\InspectDataSourceDetails

Results from inspecting a data source.

↳ create_time
Google\Protobuf\Timestamp

Time when the job was created.

↳ start_time
Google\Protobuf\Timestamp

Time when the job started.

↳ end_time
Google\Protobuf\Timestamp

Time when the job finished.

↳ last_modified
Google\Protobuf\Timestamp

Time when the job was last modified by the system.

↳ job_trigger_name
string

If created by a job trigger, the resource name of the trigger that instantiated the job.

↳ errors
array< Google\Cloud\Dlp\V2\Error >

A stream of errors encountered running the job.

↳ action_details
array< Google\Cloud\Dlp\V2\ActionDetails >

Events that should occur after the job has completed.

getName

The server-assigned name.

Returns
Type
Description
string

setName

The server-assigned name.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getType

The type of job.

Returns
Type
Description
int

setType

The type of job.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getState

State of a job.

Returns
Type
Description
int

setState

State of a job.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getRiskDetails

Results from analyzing risk of a data source.

Returns
Type
Description

hasRiskDetails

setRiskDetails

Results from analyzing risk of a data source.

Parameter
Name
Description
Returns
Type
Description
$this

getInspectDetails

Results from inspecting a data source.

Returns
Type
Description

hasInspectDetails

setInspectDetails

Results from inspecting a data source.

Parameter
Name
Description
Returns
Type
Description
$this

getCreateTime

Time when the job was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Time when the job was created.

Parameter
Name
Description
Returns
Type
Description
$this

getStartTime

Time when the job started.

Returns
Type
Description

hasStartTime

clearStartTime

setStartTime

Time when the job started.

Parameter
Name
Description
Returns
Type
Description
$this

getEndTime

Time when the job finished.

Returns
Type
Description

hasEndTime

clearEndTime

setEndTime

Time when the job finished.

Parameter
Name
Description
Returns
Type
Description
$this

getLastModified

Time when the job was last modified by the system.

Returns
Type
Description

hasLastModified

clearLastModified

setLastModified

Time when the job was last modified by the system.

Parameter
Name
Description
Returns
Type
Description
$this

getJobTriggerName

If created by a job trigger, the resource name of the trigger that instantiated the job.

Returns
Type
Description
string

setJobTriggerName

If created by a job trigger, the resource name of the trigger that instantiated the job.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getErrors

A stream of errors encountered running the job.

Returns
Type
Description

setErrors

A stream of errors encountered running the job.

Parameter
Name
Description
Returns
Type
Description
$this

getActionDetails

Events that should occur after the job has completed.

Returns
Type
Description

setActionDetails

Events that should occur after the job has completed.

Parameter
Name
Description
Returns
Type
Description
$this

getDetails

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: