Grafeas V1 Client - Class Digest (0.5.0)

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

Digest information.

Generated from protobuf message grafeas.v1.Digest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ algo string

SHA1, SHA512 etc.

↳ digest_bytes string

Value of the digest.

getAlgo

SHA1, SHA512 etc.

Returns
TypeDescription
string

setAlgo

SHA1, SHA512 etc.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDigestBytes

Value of the digest.

Returns
TypeDescription
string

setDigestBytes

Value of the digest.

Parameter
NameDescription
var string
Returns
TypeDescription
$this