Data Loss Prevention V2 Client - Class DataProfilePubSubCondition (1.11.0)

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

A condition for determining whether a Pub/Sub should be triggered.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ expressions Google\Cloud\Dlp\V2\DataProfilePubSubCondition\PubSubExpressions

An expression.

getExpressions

An expression.

Returns
TypeDescription
Google\Cloud\Dlp\V2\DataProfilePubSubCondition\PubSubExpressions|null

hasExpressions

clearExpressions

setExpressions

An expression.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\DataProfilePubSubCondition\PubSubExpressions
Returns
TypeDescription
$this