Class: Google::Apis::SafebrowsingV4::FindThreatMatchesRequest
- Inherits:
-
Object
- Object
- Google::Apis::SafebrowsingV4::FindThreatMatchesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/safebrowsing_v4/classes.rb,
generated/google/apis/safebrowsing_v4/representations.rb,
generated/google/apis/safebrowsing_v4/representations.rb
Overview
Request to check entries against lists.
Instance Attribute Summary collapse
-
#client ⇒ Google::Apis::SafebrowsingV4::ClientInfo
The client metadata associated with Safe Browsing API requests.
-
#threat_info ⇒ Google::Apis::SafebrowsingV4::ThreatInfo
The information regarding one or more threats that a client submits when checking for matches in threat lists.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FindThreatMatchesRequest
constructor
A new instance of FindThreatMatchesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FindThreatMatchesRequest
Returns a new instance of FindThreatMatchesRequest
289 290 291 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 289 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client ⇒ Google::Apis::SafebrowsingV4::ClientInfo
The client metadata associated with Safe Browsing API requests.
Corresponds to the JSON property client
281 282 283 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 281 def client @client end |
#threat_info ⇒ Google::Apis::SafebrowsingV4::ThreatInfo
The information regarding one or more threats that a client submits when
checking for matches in threat lists.
Corresponds to the JSON property threatInfo
287 288 289 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 287 def threat_info @threat_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
294 295 296 297 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 294 def update!(**args) @client = args[:client] if args.key?(:client) @threat_info = args[:threat_info] if args.key?(:threat_info) end |