Reference documentation and code samples for the Data Loss Prevention V2 Client class InfoTypeStats.
Statistics regarding a specific InfoType.
Generated from protobuf message google.privacy.dlp.v2.InfoTypeStats
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ info_type |
InfoType
The type of finding this stat is for. |
↳ count |
int|string
Number of findings for this infoType. |
getInfoType
The type of finding this stat is for.
| Returns | |
|---|---|
| Type | Description |
InfoType|null |
|
hasInfoType
clearInfoType
setInfoType
The type of finding this stat is for.
| Parameter | |
|---|---|
| Name | Description |
var |
InfoType
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCount
Number of findings for this infoType.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setCount
Number of findings for this infoType.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|