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



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

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



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

def threat_lists
  @threat_lists
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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