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

Inherits:
Object
  • Object
show all
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 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.



331
332
333
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 331

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



313
314
315
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 313

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



318
319
320
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 318

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>)


323
324
325
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 323

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



329
330
331
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 329

def threat_info
  @threat_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



336
337
338
339
340
341
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 336

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