Reference documentation and code samples for the Google Cloud Web Risk V1 Client class Checksum.
The expected state of a client's local database.
Generated from protobuf message google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ sha256 |
string
The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database. |
getSha256
The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database.
Returns | |
---|---|
Type | Description |
string |
setSha256
The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |