Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FindFullHashesRequest

Inherits:
Object
  • Object
show all
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 return full hashes matched by the provided hash prefixes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FindFullHashesRequest

Returns a new instance of GoogleSecuritySafebrowsingV4FindFullHashesRequest.



334
335
336
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 334

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#api_clientGoogle::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo

The client metadata associated with Safe Browsing API requests. Corresponds to the JSON property apiClient



316
317
318
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 316

def api_client
  @api_client
end

#clientGoogle::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo

The client metadata associated with Safe Browsing API requests. Corresponds to the JSON property client



321
322
323
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 321

def client
  @client
end

#client_statesArray<String>

The current client states for each of the client's local threat lists. Corresponds to the JSON property clientStates

Returns:

  • (Array<String>)


326
327
328
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 326

def client_states
  @client_states
end

#threat_infoGoogle::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



332
333
334
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 332

def threat_info
  @threat_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



339
340
341
342
343
344
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 339

def update!(**args)
  @api_client = args[:api_client] if args.key?(:api_client)
  @client = args[:client] if args.key?(:client)
  @client_states = args[:client_states] if args.key?(:client_states)
  @threat_info = args[:threat_info] if args.key?(:threat_info)
end