Data Loss Prevention V2 Client - Class InfoTypeTransformations (1.9.0)

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

A type of transformation that will scan unstructured text and apply various PrimitiveTransformations to each finding, where the transformation is applied to only values that were identified as a specific info_type.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ transformations array<Google\Cloud\Dlp\V2\InfoTypeTransformations\InfoTypeTransformation>

Required. Transformation for each infoType. Cannot specify more than one for a given infoType.

getTransformations

Required. Transformation for each infoType. Cannot specify more than one for a given infoType.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTransformations

Required. Transformation for each infoType. Cannot specify more than one for a given infoType.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\InfoTypeTransformations\InfoTypeTransformation>
Returns
TypeDescription
$this