Google Cloud Web Security Scanner V1beta Client - Class FindingTypeStats (0.7.18)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1beta 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.v1beta.FindingTypeStats

Namespace

Google \ Cloud \ WebSecurityScanner \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ finding_type string

The finding type associated with the stats.

↳ finding_count int

The count of findings belonging to this finding type.

getFindingType

The finding type associated with the stats.

Returns
TypeDescription
string

setFindingType

The finding type associated with the stats.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFindingCount

The count of findings belonging to this finding type.

Returns
TypeDescription
int

setFindingCount

The count of findings belonging to this finding type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this