Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ListThreatListsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4ListThreatListsResponse

Returns a new instance of GoogleSecuritySafebrowsingV4ListThreatListsResponse.



435
436
437
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 435

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

Instance Attribute Details

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

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



433
434
435
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 433

def threat_lists
  @threat_lists
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



440
441
442
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 440

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