Grafeas V1 Client - Class SbomReferenceIntotoPredicate (1.1.2)

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

A predicate which describes the SBOM being referenced.

Generated from protobuf message grafeas.v1.SbomReferenceIntotoPredicate

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ referrer_id string

The person or system referring this predicate to the consumer.

↳ location string

The location of the SBOM.

↳ mime_type string

The mime type of the SBOM.

↳ digest array|Google\Protobuf\Internal\MapField

A map of algorithm to digest of the contents of the SBOM.

getReferrerId

The person or system referring this predicate to the consumer.

Returns
Type Description
string

setReferrerId

The person or system referring this predicate to the consumer.

Parameter
Name Description
var string
Returns
Type Description
$this

getLocation

The location of the SBOM.

Returns
Type Description
string

setLocation

The location of the SBOM.

Parameter
Name Description
var string
Returns
Type Description
$this

getMimeType

The mime type of the SBOM.

Returns
Type Description
string

setMimeType

The mime type of the SBOM.

Parameter
Name Description
var string
Returns
Type Description
$this

getDigest

A map of algorithm to digest of the contents of the SBOM.

Returns
Type Description
Google\Protobuf\Internal\MapField

setDigest

A map of algorithm to digest of the contents of the SBOM.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this