Class: Google::Cloud::Webrisk::V1beta1::ThreatEntryAdditions

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#raw_hashesArray<Google::Cloud::Webrisk::V1beta1::RawHashes>

Returns The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.

Returns:



168
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 168

class ThreatEntryAdditions; end

#rice_hashesGoogle::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.

Returns:

  • (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.



168
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 168

class ThreatEntryAdditions; end