GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntry (google_api_safe_browsing v0.23.0) View Source

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

Attributes

  • digest (type: String.t, default: nil) - The digest of an executable in SHA256 format. The API supports both binary and hex digests. For JSON requests, digests are base64-encoded.
  • hash (type: String.t, default: nil) - 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.
  • url (type: String.t, default: nil) - A URL.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntry{
  digest: String.t(),
  hash: String.t(),
  url: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.