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

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

Namespace

Google \ Cloud \ WebRisk \ V1 \ ComputeThreatListDiffResponse

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