Google Cloud Web Risk V1 Client - Class Checksum (1.2.7)

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
NameDescription
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
TypeDescription
string

setSha256

The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database.

Parameter
NameDescription
var string
Returns
TypeDescription
$this