Reference documentation and code samples for the Google Cloud Web Risk V1beta1 Client class ThreatEntryAdditions.
Contains the set of entries to add to a local database.
May contain a combination of compressed and raw data in a single response.
Generated from protobuf message google.cloud.webrisk.v1beta1.ThreatEntryAdditions
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ raw_hashes
array< Google\Cloud\WebRisk\V1beta1\RawHashes
>
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
↳ rice_hashes
Google\Cloud\WebRisk\V1beta1\RiceDeltaEncoding
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.
getRawHashes
The raw SHA256-formatted entries.
Repeated to allow returning sets of hashes with different prefix sizes.
setRawHashes
The raw SHA256-formatted entries.
Repeated to allow returning sets of hashes with different prefix sizes.
$this
getRiceHashes
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.
hasRiceHashes
clearRiceHashes
setRiceHashes
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.
$this