Data Loss Prevention V2 Client - Class PubSubCondition (1.18.0)

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 \ DataProfilePubSubCondition

Methods

__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

hasMinimumRiskScore

setMinimumRiskScore

The minimum data risk score that triggers the condition.

Parameter
Name Description
var int
Returns
Type Description
$this

getMinimumSensitivityScore

The minimum sensitivity level that triggers the condition.

Returns
Type Description
int

hasMinimumSensitivityScore

setMinimumSensitivityScore

The minimum sensitivity level that triggers the condition.

Parameter
Name Description
var int
Returns
Type Description
$this

getValue

Returns
Type Description
string