Grafeas V1 Client - Class Hash (0.8.3)

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

Container message for hash values.

Generated from protobuf message grafeas.v1.Hash

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type string

Required. The type of hash that was performed, e.g. "SHA-256".

↳ value string

Required. The hash value.

getType

Required. The type of hash that was performed, e.g. "SHA-256".

Returns
TypeDescription
string

setType

Required. The type of hash that was performed, e.g. "SHA-256".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Required. The hash value.

Returns
TypeDescription
string

setValue

Required. The hash value.

Parameter
NameDescription
var string
Returns
TypeDescription
$this