Grafeas V1 Client - Class Material (0.7.1)

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

Generated from protobuf message grafeas.v1.SlsaProvenance.Material

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setUri

Generated from protobuf field string uri = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDigest

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

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setDigest

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

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this