class Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet
A set of threats that should be added or removed from a client's local database.
Attributes
The compression type for the entries in this set. Corresponds to the JSON property `compressionType` @return [String]
The uncompressed threat entries in hash format of a particular prefix length. Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 bytes, but some hashes are lengthened if they collide with the hash of a popular URL. Used for sending ThreatEntrySet to clients that do not support compression, or when sending non-4-byte hashes to clients that do support compression. Corresponds to the JSON property `rawHashes` @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RawHashes]
A set of raw indices to remove from a local list. Corresponds to the JSON property `rawIndices` @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RawIndices]
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::SafebrowsingV4::GoogleSecuritySafebrowsingV4RiceDeltaEncoding]
The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices. Corresponds to the JSON property `riceIndices` @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RiceDeltaEncoding]
Public Class Methods
# File lib/google/apis/safebrowsing_v4/classes.rb, line 662 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/safebrowsing_v4/classes.rb, line 667 def update!(**args) @compression_type = args[:compression_type] if args.key?(:compression_type) @raw_hashes = args[:raw_hashes] if args.key?(:raw_hashes) @raw_indices = args[:raw_indices] if args.key?(:raw_indices) @rice_hashes = args[:rice_hashes] if args.key?(:rice_hashes) @rice_indices = args[:rice_indices] if args.key?(:rice_indices) end