google_api_safe_browsing v0.2.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 nil.
  • remoteIp (String.t): The remote IP of the resource in ASCII format. Either IPv4 or IPv6. Defaults to nil.
  • type (String.t): The type of source reported. Defaults to nil.
  • url (String.t): The URL of the resource. 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.ThreatSource{
  referrer: String.t(),
  remoteIp: String.t(),
  type: String.t(),
  url: 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.