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 PrimitiveTransformation
s 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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ transformations |
array<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<InfoTypeTransformations\InfoTypeTransformation>
|
Returns | |
---|---|
Type | Description |
$this |