Data Loss Prevention V2 Client - Class DeidentifyContentResponse (1.12.0)

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

Results of de-identifying a ContentItem.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ item Google\Cloud\Dlp\V2\ContentItem

The de-identified item.

↳ overview Google\Cloud\Dlp\V2\TransformationOverview

An overview of the changes that were made on the item.

getItem

The de-identified item.

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

hasItem

clearItem

setItem

The de-identified item.

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

getOverview

An overview of the changes that were made on the item.

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

hasOverview

clearOverview

setOverview

An overview of the changes that were made on the item.

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