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 \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
int |
Enum of type LocationCategory. |
hasLocationCategory
setLocationCategory
The region or country that issued the ID or document represented by the infoType.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type LocationCategory. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIndustryCategory
The group of relevant businesses where this infoType is commonly used
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type IndustryCategory. |
hasIndustryCategory
setIndustryCategory
The group of relevant businesses where this infoType is commonly used
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type IndustryCategory. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTypeCategory
The class of identifiers where this infoType belongs
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type TypeCategory. |
hasTypeCategory
setTypeCategory
The class of identifiers where this infoType belongs
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type TypeCategory. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCategory
| Returns | |
|---|---|
| Type | Description |
string |
|