Data Loss Prevention V2 Client - Class InfoTypeTransformations (1.16.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setTransformations

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

Parameter
Name Description
var array<Google\Cloud\Dlp\V2\InfoTypeTransformations\InfoTypeTransformation>
Returns
Type Description
$this