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

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.

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.GoogleSecuritySafebrowsingV4ThreatMatch{
  cacheDuration: String.t(),
  platformType: String.t(),
  threat:
    GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntry.t(),
  threatEntryMetadata:
    GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntryMetadata.t(),
  threatEntryType: String.t(),
  threatType: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.