Data Loss Prevention V2 Client - Class InspectJobConfig (2.2.2)

Reference documentation and code samples for the Data Loss Prevention V2 Client class InspectJobConfig.

Controls what and how to inspect for findings.

Generated from protobuf message google.privacy.dlp.v2.InspectJobConfig

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ storage_config StorageConfig

The data to scan.

↳ inspect_config InspectConfig

How and what to scan for.

↳ inspect_template_name string

If provided, will be used as the default for all values in InspectConfig. inspect_config will be merged into the values persisted as part of the template.

↳ actions array<Action>

Actions to execute at the completion of the job.

getStorageConfig

The data to scan.

Returns
Type Description
StorageConfig|null

hasStorageConfig

clearStorageConfig

setStorageConfig

The data to scan.

Parameter
Name Description
var StorageConfig
Returns
Type Description
$this

getInspectConfig

How and what to scan for.

Returns
Type Description
InspectConfig|null

hasInspectConfig

clearInspectConfig

setInspectConfig

How and what to scan for.

Parameter
Name Description
var InspectConfig
Returns
Type Description
$this

getInspectTemplateName

If provided, will be used as the default for all values in InspectConfig.

inspect_config will be merged into the values persisted as part of the template.

Returns
Type Description
string

setInspectTemplateName

If provided, will be used as the default for all values in InspectConfig.

inspect_config will be merged into the values persisted as part of the template.

Parameter
Name Description
var string
Returns
Type Description
$this

getActions

Actions to execute at the completion of the job.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setActions

Actions to execute at the completion of the job.

Parameter
Name Description
var array<Action>
Returns
Type Description
$this