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 \ DataProfilePubSubConditionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ logical_operator | intThe operator to apply to the collection of conditions. | 
| ↳ conditions | array<PubSubCondition>Conditions to apply to the expression. | 
getLogicalOperator
The operator to apply to the collection of conditions.
| Returns | |
|---|---|
| Type | Description | 
| int | Enum of type PubSubLogicalOperator. | 
setLogicalOperator
The operator to apply to the collection of conditions.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type PubSubLogicalOperator. | 
| 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<PubSubCondition> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |