google_api_safe_browsing v0.1.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: null.
  • platformType (String.t): The platform type matching this threat. Defaults to: null.

    • Enum - one of [PLATFORM_TYPE_UNSPECIFIED, WINDOWS, LINUX, ANDROID, OSX, IOS, ANY_PLATFORM, ALL_PLATFORMS, CHROME]
  • threat (ThreatEntry): The threat matching this threat. Defaults to: null.
  • threatEntryMetadata (ThreatEntryMetadata): Optional metadata associated with this threat. Defaults to: null.
  • threatEntryType (String.t): The threat entry type matching this threat. Defaults to: null.

    • Enum - one of [THREAT_ENTRY_TYPE_UNSPECIFIED, URL, EXECUTABLE, IP_RANGE, CHROME_EXTENSION, FILENAME, CERT]
  • threatType (String.t): The threat type matching this threat. Defaults to: null.

    • Enum - one of [THREAT_TYPE_UNSPECIFIED, MALWARE, SOCIAL_ENGINEERING, UNWANTED_SOFTWARE, POTENTIALLY_HARMFUL_APPLICATION, SOCIAL_ENGINEERING_INTERNAL, API_ABUSE, MALICIOUS_BINARY, CSD_WHITELIST, CSD_DOWNLOAD_WHITELIST, CLIENT_INCIDENT, CLIENT_INCIDENT_WHITELIST, APK_MALWARE_OFFLINE, SUBRESOURCE_FILTER, SUSPICIOUS, TRICK_TO_BILL]

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: any(),
  platformType: any(),
  threat: GoogleApi.SafeBrowsing.V4.Model.ThreatEntry.t(),
  threatEntryMetadata: GoogleApi.SafeBrowsing.V4.Model.ThreatEntryMetadata.t(),
  threatEntryType: any(),
  threatType: any()
}

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.