Class: Google::Apis::SafebrowsingV4::FindFullHashesRequest

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FindFullHashesRequest

Returns a new instance of FindFullHashesRequest



227
228
229
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 227

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

Instance Attribute Details

#api_clientGoogle::Apis::SafebrowsingV4::ClientInfo

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



209
210
211
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 209

def api_client
  @api_client
end

#clientGoogle::Apis::SafebrowsingV4::ClientInfo

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



214
215
216
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 214

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


219
220
221
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 219

def client_states
  @client_states
end

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



225
226
227
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 225

def threat_info
  @threat_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



232
233
234
235
236
237
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 232

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