View Source GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatMatch (google_api_safe_browsing v0.25.0)

A match when checking a threat entry in the Safe Browsing threat lists.

Attributes

  • cacheDuration (type: String.t, default: nil) - The cache lifetime for the returned match. Clients must not cache this response for more than this duration to avoid false positives.
  • platformType (type: String.t, default: nil) - The platform type matching this threat.
  • threat (type: GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntry.t, default: nil) - The threat matching this threat.
  • threatEntryMetadata (type: GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntryMetadata.t, default: nil) - Optional metadata associated with this threat.
  • threatEntryType (type: String.t, default: nil) - The threat entry type matching this threat.
  • threatType (type: String.t, default: nil) - The threat type matching this threat.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatMatch{
  cacheDuration: String.t() | nil,
  platformType: String.t() | nil,
  threat:
    GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntry.t()
    | nil,
  threatEntryMetadata:
    GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntryMetadata.t()
    | nil,
  threatEntryType: String.t() | nil,
  threatType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.