Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FindThreatMatchesRequest
- Inherits:
-
Object
- Object
- Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FindThreatMatchesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/safebrowsing_v4/classes.rb,
lib/google/apis/safebrowsing_v4/representations.rb,
lib/google/apis/safebrowsing_v4/representations.rb
Overview
Request to check entries against lists.
Instance Attribute Summary collapse
-
#client ⇒ Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo
The client metadata associated with Safe Browsing API requests.
-
#threat_info ⇒ Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo
The information regarding one or more threats that a client submits when checking for matches in threat lists.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FindThreatMatchesRequest
constructor
A new instance of GoogleSecuritySafebrowsingV4FindThreatMatchesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FindThreatMatchesRequest
Returns a new instance of GoogleSecuritySafebrowsingV4FindThreatMatchesRequest.
396 397 398 |
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 396 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client ⇒ Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo
The client metadata associated with Safe Browsing API requests.
Corresponds to the JSON property client
388 389 390 |
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 388 def client @client end |
#threat_info ⇒ Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo
The information regarding one or more threats that a client submits when
checking for matches in threat lists.
Corresponds to the JSON property threatInfo
394 395 396 |
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 394 def threat_info @threat_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
401 402 403 404 |
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 401 def update!(**args) @client = args[:client] if args.key?(:client) @threat_info = args[:threat_info] if args.key?(:threat_info) end |