Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class Hash.
A hash of file content.
Generated from protobuf message google.devtools.artifactregistry.v1.Hash
Namespace
Google \ Cloud \ ArtifactRegistry \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
The algorithm used to compute the hash value. |
↳ value |
string
The hash value. |
getType
The algorithm used to compute the hash value.
Returns | |
---|---|
Type | Description |
int |
setType
The algorithm used to compute the hash value.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getValue
The hash value.
Returns | |
---|---|
Type | Description |
string |
setValue
The hash value.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |