Data Loss Prevention V2 Client - Class SensitivityScore (1.11.0)

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

Score is calculated from of all elements in the data profile.

A higher level means the data is more sensitive.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ score int

The sensitivity score applied to the resource.

getScore

The sensitivity score applied to the resource.

Returns
TypeDescription
int

setScore

The sensitivity score applied to the resource.

Parameter
NameDescription
var int
Returns
TypeDescription
$this