Data Loss Prevention V2 Client - Class SelectedInfoTypes (1.15.1)

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

Namespace

Google \ Cloud \ Dlp \ V2 \ ImageTransformations \ ImageTransformation

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setInfoTypes

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

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