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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setType
Required. The type of hash that was performed, e.g. "SHA-256".
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Required. The hash value.
Returns | |
---|---|
Type | Description |
string |
setValue
Required. The hash value.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |