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 \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ field_transformations |
array<FieldTransformation>
Transform the record by applying various field transformations. |
↳ record_suppressions |
array<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<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<RecordSuppression>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|