Data Loss Prevention V2 Client - Class SensitivityScore (1.15.1)

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
Name Description
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
Type Description
int

setScore

The sensitivity score applied to the resource.

Parameter
Name Description
var int
Returns
Type Description
$this