Data Loss Prevention V2 Client - Class DataProfileConfigSnapshot (1.9.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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\Dlp\V2\InspectConfig
Returns
TypeDescription
$this

getDataProfileJob

A copy of the configuration used to generate this profile.

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

hasDataProfileJob

clearDataProfileJob

setDataProfileJob

A copy of the configuration used to generate this profile.

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