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
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 |
↳ 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 |
Google\Cloud\Dlp\V2\RecordCondition\Conditions|null |
hasConditions
setConditions
Conditions to apply to the expression.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dlp\V2\RecordCondition\Conditions
|
Returns | |
---|---|
Type | Description |
$this |
getType
Returns | |
---|---|
Type | Description |
string |