Data Loss Prevention V2 Client - Class InspectJobConfig (1.8.6)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Dlp\V2\StorageConfig|null

hasStorageConfig

clearStorageConfig

setStorageConfig

The data to scan.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\StorageConfig
Returns
TypeDescription
$this

getInspectConfig

How and what to scan for.

Returns
TypeDescription
Google\Cloud\Dlp\V2\InspectConfig|null

hasInspectConfig

clearInspectConfig

setInspectConfig

How and what to scan for.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\InspectConfig
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getActions

Actions to execute at the completion of the job.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setActions

Actions to execute at the completion of the job.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\Action>
Returns
TypeDescription
$this