Data Loss Prevention V2 Client - Class DataProfileConfigSnapshot (1.11.0)

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

Snapshot of the configurations used to generate the profile.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ inspect_config Google\Cloud\Dlp\V2\InspectConfig

A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in DataProfileJobConfig.

↳ data_profile_job Google\Cloud\Dlp\V2\DataProfileJobConfig

A copy of the configuration used to generate this profile.

getInspectConfig

A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in DataProfileJobConfig.

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

hasInspectConfig

clearInspectConfig

setInspectConfig

A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in DataProfileJobConfig.

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

getDataProfileJob

A copy of the configuration used to generate this profile.

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

hasDataProfileJob

clearDataProfileJob

setDataProfileJob

A copy of the configuration used to generate this profile.

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