Web Risk V1beta1 API - Class Google::Cloud::WebRisk::V1beta1::ThreatEntryAdditions (v0.10.0)

Reference documentation and code samples for the Web Risk V1beta1 API class Google::Cloud::WebRisk::V1beta1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#raw_hashes

def raw_hashes() -> ::Array<::Google::Cloud::WebRisk::V1beta1::RawHashes>
Returns

#raw_hashes=

def raw_hashes=(value) -> ::Array<::Google::Cloud::WebRisk::V1beta1::RawHashes>
Parameter
Returns

#rice_hashes

def rice_hashes() -> ::Google::Cloud::WebRisk::V1beta1::RiceDeltaEncoding
Returns

#rice_hashes=

def rice_hashes=(value) -> ::Google::Cloud::WebRisk::V1beta1::RiceDeltaEncoding
Parameter
  • value (::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.
Returns