View Source GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatHitThreatSource (google_api_safe_browsing v0.25.0)

A single resource related to a threat hit.

Attributes

  • referrer (type: String.t, default: nil) - Referrer of the resource. Only set if the referrer is available.
  • remoteIp (type: String.t, default: nil) - The remote IP of the resource in ASCII format. Either IPv4 or IPv6.
  • type (type: String.t, default: nil) - The type of source reported.
  • url (type: String.t, default: nil) - The URL of the resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatHitThreatSource{
    referrer: String.t() | nil,
    remoteIp: String.t() | nil,
    type: String.t() | nil,
    url: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.