Data Loss Prevention V2 Client - Class InspectJobConfig (1.13.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 Google\Cloud\Dlp\V2\StorageConfig

The data to scan.

↳ inspect_config Google\Cloud\Dlp\V2\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<Google\Cloud\Dlp\V2\Action>

Actions to execute at the completion of the job.

getStorageConfig

The data to scan.

Returns
Type Description
Google\Cloud\Dlp\V2\StorageConfig|null

hasStorageConfig

clearStorageConfig

setStorageConfig

The data to scan.

Parameter
Name Description
var Google\Cloud\Dlp\V2\StorageConfig
Returns
Type Description
$this

getInspectConfig

How and what to scan for.

Returns
Type Description
Google\Cloud\Dlp\V2\InspectConfig|null

hasInspectConfig

clearInspectConfig

setInspectConfig

How and what to scan for.

Parameter
Name Description
var Google\Cloud\Dlp\V2\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<Google\Cloud\Dlp\V2\Action>
Returns
Type Description
$this