Data Loss Prevention V2 Client - Class DataProfileConfigSnapshot (1.17.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. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.

↳ discovery_config Google\Cloud\Dlp\V2\DiscoveryConfig

A copy of the configuration used to generate this profile.

↳ inspect_template_name string

Name of the inspection template used to generate this profile

↳ inspect_template_modified_time Google\Protobuf\Timestamp

Timestamp when the template was modified

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. This is deprecated, and the DiscoveryConfig field is preferred moving forward.

DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.

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

hasDataProfileJob

clearDataProfileJob

setDataProfileJob

A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward.

DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.

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

getDiscoveryConfig

A copy of the configuration used to generate this profile.

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

hasDiscoveryConfig

clearDiscoveryConfig

setDiscoveryConfig

A copy of the configuration used to generate this profile.

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

getInspectTemplateName

Name of the inspection template used to generate this profile

Returns
Type Description
string

setInspectTemplateName

Name of the inspection template used to generate this profile

Parameter
Name Description
var string
Returns
Type Description
$this

getInspectTemplateModifiedTime

Timestamp when the template was modified

Returns
Type Description
Google\Protobuf\Timestamp|null

hasInspectTemplateModifiedTime

clearInspectTemplateModifiedTime

setInspectTemplateModifiedTime

Timestamp when the template was modified

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this