Data Loss Prevention V2 Client - Class PubSubCondition (1.9.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
NameDescription
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
TypeDescription
int

hasMinimumRiskScore

setMinimumRiskScore

The minimum data risk score that triggers the condition.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMinimumSensitivityScore

The minimum sensitivity level that triggers the condition.

Returns
TypeDescription
int

hasMinimumSensitivityScore

setMinimumSensitivityScore

The minimum sensitivity level that triggers the condition.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getValue

Returns
TypeDescription
string