Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class FindingTypeStats.
A FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.
Generated from protobuf message google.cloud.websecurityscanner.v1.FindingTypeStats
Namespace
Google \ Cloud \ WebSecurityScanner \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ finding_type |
string
Output only. The finding type associated with the stats. |
↳ finding_count |
int
Output only. The count of findings belonging to this finding type. |
getFindingType
Output only. The finding type associated with the stats.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFindingType
Output only. The finding type associated with the stats.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFindingCount
Output only. The count of findings belonging to this finding type.
| Returns | |
|---|---|
| Type | Description |
int |
|
setFindingCount
Output only. The count of findings belonging to this finding type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|