Grafeas V1 Client - Class SbomReferenceIntotoPayload (1.0.0)

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

The actual payload that contains the SBOM Reference data.

The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details.

Generated from protobuf message grafeas.v1.SbomReferenceIntotoPayload

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type string

Identifier for the schema of the Statement.

↳ predicate_type string

URI identifying the type of the Predicate.

↳ subject array<Grafeas\V1\Subject>

Set of software artifacts that the attestation applies to. Each element represents a single software artifact.

↳ predicate Grafeas\V1\SbomReferenceIntotoPredicate

Additional parameters of the Predicate. Includes the actual data about the SBOM.

getType

Identifier for the schema of the Statement.

Returns
Type Description
string

setType

Identifier for the schema of the Statement.

Parameter
Name Description
var string
Returns
Type Description
$this

getPredicateType

URI identifying the type of the Predicate.

Returns
Type Description
string

setPredicateType

URI identifying the type of the Predicate.

Parameter
Name Description
var string
Returns
Type Description
$this

getSubject

Set of software artifacts that the attestation applies to. Each element represents a single software artifact.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSubject

Set of software artifacts that the attestation applies to. Each element represents a single software artifact.

Parameter
Name Description
var array<Grafeas\V1\Subject>
Returns
Type Description
$this

getPredicate

Additional parameters of the Predicate. Includes the actual data about the SBOM.

Returns
Type Description
Grafeas\V1\SbomReferenceIntotoPredicate|null

hasPredicate

clearPredicate

setPredicate

Additional parameters of the Predicate. Includes the actual data about the SBOM.

Parameter
Name Description
var Grafeas\V1\SbomReferenceIntotoPredicate
Returns
Type Description
$this