google_api_safe_browsing v0.1.0 GoogleApi.SafeBrowsing.V4.Model.ThreatHit View Source

Attributes

  • clientInfo (ClientInfo): Client-reported identification. Defaults to: null.
  • entry (ThreatEntry): The threat entry responsible for the hit. Full hash should be reported for hash-based hits. Defaults to: null.
  • platformType (String.t): The platform type reported. Defaults to: null.

    • Enum - one of [PLATFORM_TYPE_UNSPECIFIED, WINDOWS, LINUX, ANDROID, OSX, IOS, ANY_PLATFORM, ALL_PLATFORMS, CHROME]
  • resources ([ThreatSource]): The resources related to the threat hit. Defaults to: null.
  • threatType (String.t): The threat type reported. 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]
  • userInfo (UserInfo): Details about the user that encountered the threat. Defaults to: null.

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.ThreatHit{
  clientInfo: GoogleApi.SafeBrowsing.V4.Model.ClientInfo.t(),
  entry: GoogleApi.SafeBrowsing.V4.Model.ThreatEntry.t(),
  platformType: any(),
  resources: [GoogleApi.SafeBrowsing.V4.Model.ThreatSource.t()],
  threatType: any(),
  userInfo: GoogleApi.SafeBrowsing.V4.Model.UserInfo.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.