class Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatHitThreatSource

A single resource related to a threat hit.

Attributes

referrer[RW]

Referrer of the resource. Only set if the referrer is available. Corresponds to the JSON property `referrer` @return [String]

remote_ip[RW]

The remote IP of the resource in ASCII format. Either IPv4 or IPv6. Corresponds to the JSON property `remoteIp` @return [String]

type[RW]

The type of source reported. Corresponds to the JSON property `type` @return [String]

url[RW]

The URL of the resource. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/safebrowsing_v4/classes.rb, line 750
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/safebrowsing_v4/classes.rb, line 755
def update!(**args)
  @referrer = args[:referrer] if args.key?(:referrer)
  @remote_ip = args[:remote_ip] if args.key?(:remote_ip)
  @type = args[:type] if args.key?(:type)
  @url = args[:url] if args.key?(:url)
end