View Source GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1ThreatEntryAdditions (google_api_web_risk v0.4.0)

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

  • rawHashes (type: list(GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1RawHashes.t), default: nil) - The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
  • riceHashes (type: GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1RiceDeltaEncoding.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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1ThreatEntryAdditions{
  rawHashes:
    [GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1RawHashes.t()] | nil,
  riceHashes:
    GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1RiceDeltaEncoding.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.