Data Loss Prevention V2 Client - Class Expressions (1.19.0)

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

An expression, consisting of an operator and conditions.

Generated from protobuf message google.privacy.dlp.v2.RecordCondition.Expressions

Namespace

Google \ Cloud \ Dlp \ V2 \ RecordCondition

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ logical_operator
int

The operator to apply to the result of conditions. Default and currently only supported value is AND .

↳ conditions
Google\Cloud\Dlp\V2\RecordCondition\Conditions

Conditions to apply to the expression.

getLogicalOperator

The operator to apply to the result of conditions. Default and currently only supported value is AND .

Returns
Type
Description
int

setLogicalOperator

The operator to apply to the result of conditions. Default and currently only supported value is AND .

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getConditions

Conditions to apply to the expression.

Returns
Type
Description

hasConditions

setConditions

Conditions to apply to the expression.

Parameter
Name
Description
Returns
Type
Description
$this

getType

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: