Data Loss Prevention V2 Client - Class DataProfileConfigSnapshot (2.2.2)

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 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 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 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
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 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
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 DataProfileJobConfig
Returns
Type Description
$this

getDiscoveryConfig

A copy of the configuration used to generate this profile.

Returns
Type Description
DiscoveryConfig|null

hasDiscoveryConfig

clearDiscoveryConfig

setDiscoveryConfig

A copy of the configuration used to generate this profile.

Parameter
Name Description
var 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