Data Loss Prevention V2 Client - Class RecordTransformations (1.13.2)

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

A type of transformation that is applied over structured data such as a table.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ field_transformations array<Google\Cloud\Dlp\V2\FieldTransformation>

Transform the record by applying various field transformations.

↳ record_suppressions array<Google\Cloud\Dlp\V2\RecordSuppression>

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

getFieldTransformations

Transform the record by applying various field transformations.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFieldTransformations

Transform the record by applying various field transformations.

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

getRecordSuppressions

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRecordSuppressions

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.

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