Data Loss Prevention V2 Client - Class InfoTypeSummary (1.12.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
NameDescription
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
TypeDescription
Google\Cloud\Dlp\V2\InfoType|null

hasInfoType

clearInfoType

setInfoType

The infoType.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\InfoType
Returns
TypeDescription
$this

getEstimatedPrevalence

Not populated for predicted infotypes.

Returns
TypeDescription
int

setEstimatedPrevalence

Not populated for predicted infotypes.

Parameter
NameDescription
var int
Returns
TypeDescription
$this