Data Loss Prevention V2 Client - Class SelectedInfoTypes (1.8.6)

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

Apply transformation to the selected info_types.

Generated from protobuf message google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ info_types array<Google\Cloud\Dlp\V2\InfoType>

Required. InfoTypes to apply the transformation to. Required. Provided InfoType must be unique within the ImageTransformations message.

getInfoTypes

Required. InfoTypes to apply the transformation to. Required. Provided InfoType must be unique within the ImageTransformations message.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInfoTypes

Required. InfoTypes to apply the transformation to. Required. Provided InfoType must be unique within the ImageTransformations message.

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