Google Cloud Container Analysis V1 Client - Class FixableTotalByDigest (0.2.15)

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

Per resource and severity counts of fixable and total vulnerabilities.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resource_uri string

The affected resource.

↳ severity int

The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.

↳ fixable_count int|string

The number of fixable vulnerabilities associated with this resource.

↳ total_count int|string

The total number of vulnerabilities associated with this resource.

getResourceUri

The affected resource.

Returns
TypeDescription
string

setResourceUri

The affected resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSeverity

The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.

Returns
TypeDescription
int

setSeverity

The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getFixableCount

The number of fixable vulnerabilities associated with this resource.

Returns
TypeDescription
int|string

setFixableCount

The number of fixable vulnerabilities associated with this resource.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getTotalCount

The total number of vulnerabilities associated with this resource.

Returns
TypeDescription
int|string

setTotalCount

The total number of vulnerabilities associated with this resource.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this