Data Loss Prevention V2 Client - Class PubSubExpressions (1.11.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
NameDescription
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
TypeDescription
int

setLogicalOperator

The operator to apply to the collection of conditions.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getConditions

Conditions to apply to the expression.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setConditions

Conditions to apply to the expression.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\DataProfilePubSubCondition\PubSubCondition>
Returns
TypeDescription
$this