Data Loss Prevention V2 Client - Class RecordTransformations (1.10.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFieldTransformations

Transform the record by applying various field transformations.

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

getRecordSuppressions

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRecordSuppressions

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

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