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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ counts |
array<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 | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setCounts
A listing by resource of the number of fixable and total vulnerabilities.
| Parameter | |
|---|---|
| Name | Description |
var |
array<VulnerabilityOccurrencesSummary\FixableTotalByDigest>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|