class Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatHit
Attributes
The client metadata associated with Safe Browsing API requests. Corresponds to the JSON property `clientInfo` @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo]
An individual threat; for example, a malicious URL or its hash representation. Only one of these fields should be set. Corresponds to the JSON property `entry` @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry]
The platform type reported. Corresponds to the JSON property `platformType` @return [String]
The resources related to the threat hit. Corresponds to the JSON property `resources` @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatHitThreatSource>]
The threat type reported. Corresponds to the JSON property `threatType` @return [String]
Details about the user that encountered the threat. Corresponds to the JSON property `userInfo` @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatHitUserInfo]
Public Class Methods
# File lib/google/apis/safebrowsing_v4/classes.rb, line 711 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/safebrowsing_v4/classes.rb, line 716 def update!(**args) @client_info = args[:client_info] if args.key?(:client_info) @entry = args[:entry] if args.key?(:entry) @platform_type = args[:platform_type] if args.key?(:platform_type) @resources = args[:resources] if args.key?(:resources) @threat_type = args[:threat_type] if args.key?(:threat_type) @user_info = args[:user_info] if args.key?(:user_info) end