Grafeas V1 Client - Class SBOMStatus (0.10.3)

Reference documentation and code samples for the Grafeas V1 Client class SBOMStatus.

The status of an SBOM generation.

Generated from protobuf message grafeas.v1.DiscoveryOccurrence.SBOMStatus

Namespace

Grafeas \ V1 \ DiscoveryOccurrence

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sbom_state int

The progress of the SBOM generation.

↳ error string

If there was an error generating an SBOM, this will indicate what that error was.

getSbomState

The progress of the SBOM generation.

Returns
Type Description
int

setSbomState

The progress of the SBOM generation.

Parameter
Name Description
var int
Returns
Type Description
$this

getError

If there was an error generating an SBOM, this will indicate what that error was.

Returns
Type Description
string

setError

If there was an error generating an SBOM, this will indicate what that error was.

Parameter
Name Description
var string
Returns
Type Description
$this