Google Cloud Container Analysis V1 Client - Class VulnerabilityOccurrencesSummary (0.3.4)

Reference documentation and code samples for the Google Cloud Container Analysis V1 Client class VulnerabilityOccurrencesSummary.

A summary of how many vulnerability occurrences there are per resource and severity type.

Generated from protobuf message google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary

Namespace

Google \ Cloud \ ContainerAnalysis \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ counts array<Google\Cloud\ContainerAnalysis\V1\VulnerabilityOccurrencesSummary\FixableTotalByDigest>

A listing by resource of the number of fixable and total vulnerabilities.

getCounts

A listing by resource of the number of fixable and total vulnerabilities.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCounts

A listing by resource of the number of fixable and total vulnerabilities.

Parameter
NameDescription
var array<Google\Cloud\ContainerAnalysis\V1\VulnerabilityOccurrencesSummary\FixableTotalByDigest>
Returns
TypeDescription
$this