Data Loss Prevention V2 Client - Class RecordSuppression (2.2.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 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
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 RecordCondition
Returns
Type Description
$this