google_api_safe_browsing v0.2.0 GoogleApi.SafeBrowsing.V4.Model.ThreatMatch View Source

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

Attributes

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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.SafeBrowsing.V4.Model.ThreatMatch{
  cacheDuration: String.t(),
  platformType: String.t(),
  threat: GoogleApi.SafeBrowsing.V4.Model.ThreatEntry.t(),
  threatEntryMetadata: GoogleApi.SafeBrowsing.V4.Model.ThreatEntryMetadata.t(),
  threatEntryType: String.t(),
  threatType: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.