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 \ RecordConditionMethods
__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 |
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 |
Conditions|null |
hasConditions
setConditions
Conditions to apply to the expression.
Parameter | |
---|---|
Name | Description |
var |
Conditions
|
Returns | |
---|---|
Type | Description |
$this |
getType
Returns | |
---|---|
Type | Description |
string |