Class: Google::Apis::SafebrowsingV4::ListThreatListsResponse

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

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

Returns a new instance of ListThreatListsResponse



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

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

Instance Attribute Details

#threat_listsArray<Google::Apis::SafebrowsingV4::ThreatListDescriptor>

The lists available for download by the client. Corresponds to the JSON property threatLists



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

def threat_lists
  @threat_lists
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



333
334
335
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 333

def update!(**args)
  @threat_lists = args[:threat_lists] if args.key?(:threat_lists)
end