Data Loss Prevention V2 Client - Class RecordSuppression (1.12.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\Dlp\V2\RecordCondition
Returns
TypeDescription
$this