Data Loss Prevention V2 Client - Class PubSubExpressions (2.2.0)

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

An expression, consisting of an operator and conditions.

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

Namespace

Google \ Cloud \ Dlp \ V2 \ DataProfilePubSubCondition

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ logical_operator int

The operator to apply to the collection of conditions.

↳ conditions array<Google\Cloud\Dlp\V2\DataProfilePubSubCondition\PubSubCondition>

Conditions to apply to the expression.

getLogicalOperator

The operator to apply to the collection of conditions.

Returns
Type Description
int

setLogicalOperator

The operator to apply to the collection of conditions.

Parameter
Name Description
var int
Returns
Type Description
$this

getConditions

Conditions to apply to the expression.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setConditions

Conditions to apply to the expression.

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