Data Loss Prevention V2 Client - Class RequestedDeidentifyOptions (1.13.2)

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

De-identification options.

Generated from protobuf message google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions

Namespace

Google \ Cloud \ Dlp \ V2 \ DeidentifyDataSourceDetails

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ snapshot_deidentify_template Google\Cloud\Dlp\V2\DeidentifyTemplate

Snapshot of the state of the DeidentifyTemplate from the Deidentify action at the time this job was run.

↳ snapshot_structured_deidentify_template Google\Cloud\Dlp\V2\DeidentifyTemplate

Snapshot of the state of the structured DeidentifyTemplate from the Deidentify action at the time this job was run.

↳ snapshot_image_redact_template Google\Cloud\Dlp\V2\DeidentifyTemplate

Snapshot of the state of the image transformation DeidentifyTemplate from the Deidentify action at the time this job was run.

getSnapshotDeidentifyTemplate

Snapshot of the state of the DeidentifyTemplate from the Deidentify action at the time this job was run.

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

hasSnapshotDeidentifyTemplate

clearSnapshotDeidentifyTemplate

setSnapshotDeidentifyTemplate

Snapshot of the state of the DeidentifyTemplate from the Deidentify action at the time this job was run.

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

getSnapshotStructuredDeidentifyTemplate

Snapshot of the state of the structured DeidentifyTemplate from the Deidentify action at the time this job was run.

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

hasSnapshotStructuredDeidentifyTemplate

clearSnapshotStructuredDeidentifyTemplate

setSnapshotStructuredDeidentifyTemplate

Snapshot of the state of the structured DeidentifyTemplate from the Deidentify action at the time this job was run.

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

getSnapshotImageRedactTemplate

Snapshot of the state of the image transformation DeidentifyTemplate from the Deidentify action at the time this job was run.

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

hasSnapshotImageRedactTemplate

clearSnapshotImageRedactTemplate

setSnapshotImageRedactTemplate

Snapshot of the state of the image transformation DeidentifyTemplate from the Deidentify action at the time this job was run.

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