Data Loss Prevention V2 Client - Class InfoTypeSummary (2.2.0)

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

The infoType details for this column.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ info_type Google\Cloud\Dlp\V2\InfoType

The infoType.

↳ estimated_prevalence int

Not populated for predicted infotypes.

getInfoType

The infoType.

Returns
Type Description
Google\Cloud\Dlp\V2\InfoType|null

hasInfoType

clearInfoType

setInfoType

The infoType.

Parameter
Name Description
var Google\Cloud\Dlp\V2\InfoType
Returns
Type Description
$this

getEstimatedPrevalence

Not populated for predicted infotypes.

Returns
Type Description
int

setEstimatedPrevalence

Not populated for predicted infotypes.

Parameter
Name Description
var int
Returns
Type Description
$this