Class: Google::Cloud::Webrisk::V1beta1::ThreatEntryAdditions
- Inherits:
-
Object
- Object
- Google::Cloud::Webrisk::V1beta1::ThreatEntryAdditions
- Defined in:
- lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb
Overview
Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.
Instance Attribute Summary collapse
-
#raw_hashes ⇒ Array<Google::Cloud::Webrisk::V1beta1::RawHashes>
The raw SHA256-formatted entries.
-
#rice_hashes ⇒ Google::Cloud::Webrisk::V1beta1::RiceDeltaEncoding
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding.
Instance Attribute Details
#raw_hashes ⇒ Array<Google::Cloud::Webrisk::V1beta1::RawHashes>
Returns The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
168 |
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 168 class ThreatEntryAdditions; end |
#rice_hashes ⇒ Google::Cloud::Webrisk::V1beta1::RiceDeltaEncoding
Returns 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.
168 |
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 168 class ThreatEntryAdditions; end |