Class: Google::Cloud::WebRisk::V1::ThreatEntryAdditions
- Inherits:
-
Object
- Object
- Google::Cloud::WebRisk::V1::ThreatEntryAdditions
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/webrisk/v1/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::V1::RawHashes>
The raw SHA256-formatted entries.
-
#rice_hashes ⇒ ::Google::Cloud::WebRisk::V1::RiceDeltaEncoding
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding.
Instance Attribute Details
#raw_hashes ⇒ ::Array<::Google::Cloud::WebRisk::V1::RawHashes>
Returns The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
213 214 215 216 |
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 213 class ThreatEntryAdditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#rice_hashes ⇒ ::Google::Cloud::WebRisk::V1::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.
213 214 215 216 |
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 213 class ThreatEntryAdditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |