google_api_safe_browsing v0.4.0 GoogleApi.SafeBrowsing.V4.Model.ThreatEntrySet View Source
A set of threats that should be added or removed from a client's local database.
Attributes
compressionType
(type:String.t
, default:nil
) - The compression type for the entries in this set.rawHashes
(type:GoogleApi.SafeBrowsing.V4.Model.RawHashes.t
, default:nil
) - The raw SHA256-formatted entries.rawIndices
(type:GoogleApi.SafeBrowsing.V4.Model.RawIndices.t
, default:nil
) - The raw removal indices for a local list.riceHashes
(type:GoogleApi.SafeBrowsing.V4.Model.RiceDeltaEncoding.t
, default:nil
) - 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.riceIndices
(type:GoogleApi.SafeBrowsing.V4.Model.RiceDeltaEncoding.t
, default:nil
) - The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.SafeBrowsing.V4.Model.ThreatEntrySet{
compressionType: String.t(),
rawHashes: GoogleApi.SafeBrowsing.V4.Model.RawHashes.t(),
rawIndices: GoogleApi.SafeBrowsing.V4.Model.RawIndices.t(),
riceHashes: GoogleApi.SafeBrowsing.V4.Model.RiceDeltaEncoding.t(),
riceIndices: GoogleApi.SafeBrowsing.V4.Model.RiceDeltaEncoding.t()
}
t() :: %GoogleApi.SafeBrowsing.V4.Model.ThreatEntrySet{ compressionType: String.t(), rawHashes: GoogleApi.SafeBrowsing.V4.Model.RawHashes.t(), rawIndices: GoogleApi.SafeBrowsing.V4.Model.RawIndices.t(), riceHashes: GoogleApi.SafeBrowsing.V4.Model.RiceDeltaEncoding.t(), riceIndices: GoogleApi.SafeBrowsing.V4.Model.RiceDeltaEncoding.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.