GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1SearchHashesResponseThreatHash (google_api_web_risk v0.2.0) View Source

Contains threat information on a matching hash.

Attributes

  • expireTime (type: DateTime.t, default: nil) - The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
  • hash (type: String.t, default: nil) - A 32 byte SHA256 hash. This field is in binary format. For JSON requests, hashes are base64-encoded.
  • threatTypes (type: list(String.t), default: nil) - The ThreatList this threat belongs to. This must contain at least one entry.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.WebRisk.V1.Model.GoogleCloudWebriskV1SearchHashesResponseThreatHash{
    expireTime: DateTime.t() | nil,
    hash: String.t() | nil,
    threatTypes: [String.t()] | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.