Grafeas V1 Client - Class Material (1.0.0)

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

Generated from protobuf message grafeas.v1.SlsaProvenance.Material

Namespace

Grafeas \ V1 \ SlsaProvenance

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ uri string
↳ digest array|Google\Protobuf\Internal\MapField

getUri

Generated from protobuf field string uri = 1;

Returns
Type Description
string

setUri

Generated from protobuf field string uri = 1;

Parameter
Name Description
var string
Returns
Type Description
$this

getDigest

Generated from protobuf field map<string, string> digest = 2;

Returns
Type Description
Google\Protobuf\Internal\MapField

setDigest

Generated from protobuf field map<string, string> digest = 2;

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