Data Loss Prevention V2 Client - Class RecordSuppression (1.15.1)

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

Configuration to suppress records whose suppression conditions evaluate to true.

Generated from protobuf message google.privacy.dlp.v2.RecordSuppression

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ condition Google\Cloud\Dlp\V2\RecordCondition

A condition that when it evaluates to true will result in the record being evaluated to be suppressed from the transformed content.

getCondition

A condition that when it evaluates to true will result in the record being evaluated to be suppressed from the transformed content.

Returns
Type Description
Google\Cloud\Dlp\V2\RecordCondition|null

hasCondition

clearCondition

setCondition

A condition that when it evaluates to true will result in the record being evaluated to be suppressed from the transformed content.

Parameter
Name Description
var Google\Cloud\Dlp\V2\RecordCondition
Returns
Type Description
$this