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

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.

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.GoogleCloudWebriskV1SearchUrisResponseThreatUri{
    expireTime: DateTime.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.