Class: Google::Cloud::WebRisk::V1beta1::ThreatEntryAdditions
- Inherits:
-
Object
- Object
- Google::Cloud::WebRisk::V1beta1::ThreatEntryAdditions
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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.
202 203 204 205 |
# File 'proto_docs/google/cloud/webrisk/v1beta1/webrisk.rb', line 202 class ThreatEntryAdditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods 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.
202 203 204 205 |
# File 'proto_docs/google/cloud/webrisk/v1beta1/webrisk.rb', line 202 class ThreatEntryAdditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |