Data Loss Prevention V2 Client - Class DataRiskLevel (1.14.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class DataRiskLevel.

Score is a summary of all elements in the data profile.

A higher number means more risk.

Generated from protobuf message google.privacy.dlp.v2.DataRiskLevel

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ score int

The score applied to the resource.

getScore

The score applied to the resource.

Returns
Type Description
int

setScore

The score applied to the resource.

Parameter
Name Description
var int
Returns
Type Description
$this