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

Contains threat information on a matching uri.

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.
  • threatTypes (type: list(String.t), default: nil) - The ThreatList this threat belongs to.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.