Data Loss Prevention V2 Client - Class InfoTypeDescription (1.11.0)

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

InfoType description.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Internal name of the infoType.

↳ display_name string

Human readable form of the infoType name.

↳ supported_by array

Which parts of the API supports this InfoType.

↳ description string

Description of the infotype. Translated when language is provided in the request.

↳ versions array<Google\Cloud\Dlp\V2\VersionDescription>

A list of available versions for the infotype.

↳ categories array<Google\Cloud\Dlp\V2\InfoTypeCategory>

The category of the infoType.

↳ sensitivity_score Google\Cloud\Dlp\V2\SensitivityScore

The default sensitivity of the infoType.

getName

Internal name of the infoType.

Returns
TypeDescription
string

setName

Internal name of the infoType.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Human readable form of the infoType name.

Returns
TypeDescription
string

setDisplayName

Human readable form of the infoType name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSupportedBy

Which parts of the API supports this InfoType.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSupportedBy

Which parts of the API supports this InfoType.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this

getDescription

Description of the infotype. Translated when language is provided in the request.

Returns
TypeDescription
string

setDescription

Description of the infotype. Translated when language is provided in the request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersions

A list of available versions for the infotype.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setVersions

A list of available versions for the infotype.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\VersionDescription>
Returns
TypeDescription
$this

getCategories

The category of the infoType.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCategories

The category of the infoType.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\InfoTypeCategory>
Returns
TypeDescription
$this

getSensitivityScore

The default sensitivity of the infoType.

Returns
TypeDescription
Google\Cloud\Dlp\V2\SensitivityScore|null

hasSensitivityScore

clearSensitivityScore

setSensitivityScore

The default sensitivity of the infoType.

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