class Google::Apis::WebriskV1::GoogleCloudWebriskV1ThreatEntryAdditions

Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.

Attributes

raw_hashes[RW]

The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes. Corresponds to the JSON property `rawHashes` @return [Array<Google::Apis::WebriskV1::GoogleCloudWebriskV1RawHashes>]

rice_hashes[RW]

The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices. Corresponds to the JSON property `riceHashes` @return [Google::Apis::WebriskV1::GoogleCloudWebriskV1RiceDeltaEncoding]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/webrisk_v1/classes.rb, line 398
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/webrisk_v1/classes.rb, line 403
def update!(**args)
  @raw_hashes = args[:raw_hashes] if args.key?(:raw_hashes)
  @rice_hashes = args[:rice_hashes] if args.key?(:rice_hashes)
end