Reference documentation and code samples for the Data Loss Prevention V2 Client class PubSubCondition.
A condition consisting of a value.
Generated from protobuf message google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition
Namespace
Google \ Cloud \ Dlp \ V2 \ DataProfilePubSubConditionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ minimum_risk_score |
int
The minimum data risk score that triggers the condition. |
↳ minimum_sensitivity_score |
int
The minimum sensitivity level that triggers the condition. |
getMinimumRiskScore
The minimum data risk score that triggers the condition.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ProfileScoreBucket. |
hasMinimumRiskScore
setMinimumRiskScore
The minimum data risk score that triggers the condition.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ProfileScoreBucket. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMinimumSensitivityScore
The minimum sensitivity level that triggers the condition.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ProfileScoreBucket. |
hasMinimumSensitivityScore
setMinimumSensitivityScore
The minimum sensitivity level that triggers the condition.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ProfileScoreBucket. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
| Returns | |
|---|---|
| Type | Description |
string |
|