google_api_safe_browsing v0.1.0 GoogleApi.SafeBrowsing.V4.Model.ThreatEntry View Source

An individual threat; for example, a malicious URL or its hash representation. Only one of these fields should be set.

Attributes

  • digest (binary()): The digest of an executable in SHA256 format. The API supports both binary and hex digests. For JSON requests, digests are base64-encoded. Defaults to: null.
  • hash (binary()): A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. This field is in binary format. For JSON requests, hashes are base64-encoded. Defaults to: null.
  • url (String.t): A URL. Defaults to: null.

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() :: %GoogleApi.SafeBrowsing.V4.Model.ThreatEntry{
  digest: any(),
  hash: any(),
  url: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.