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

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

Constructor Details

#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4ListThreatListsResponse

Returns a new instance of GoogleSecuritySafebrowsingV4ListThreatListsResponse.



432
433
434
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 432

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



430
431
432
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 430

def threat_lists
  @threat_lists
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



437
438
439
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 437

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