Data Loss Prevention V2 Client - Class InfoTypeCategory (1.10.2)

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

Classification of infoTypes to organize them according to geographic location, industry, and data type.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ location_category int

The region or country that issued the ID or document represented by the infoType.

↳ industry_category int

The group of relevant businesses where this infoType is commonly used

↳ type_category int

The class of identifiers where this infoType belongs

getLocationCategory

The region or country that issued the ID or document represented by the infoType.

Returns
TypeDescription
int

hasLocationCategory

setLocationCategory

The region or country that issued the ID or document represented by the infoType.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getIndustryCategory

The group of relevant businesses where this infoType is commonly used

Returns
TypeDescription
int

hasIndustryCategory

setIndustryCategory

The group of relevant businesses where this infoType is commonly used

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTypeCategory

The class of identifiers where this infoType belongs

Returns
TypeDescription
int

hasTypeCategory

setTypeCategory

The class of identifiers where this infoType belongs

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCategory

Returns
TypeDescription
string