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

A single resource related to a threat hit.

Attributes

  • referrer (String.t): Referrer of the resource. Only set if the referrer is available. Defaults to: null.
  • remoteIp (String.t): The remote IP of the resource in ASCII format. Either IPv4 or IPv6. Defaults to: null.
  • type (String.t): The type of source reported. Defaults to: null.

    • Enum - one of [THREAT_SOURCE_TYPE_UNSPECIFIED, MATCHING_URL, TAB_URL, TAB_REDIRECT, TAB_RESOURCE]
  • url (String.t): The URL of the resource. 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.ThreatSource{
  referrer: any(),
  remoteIp: any(),
  type: any(),
  url: 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.