class Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatListDescriptor

Describes an individual threat list. A list is defined by three parameters: the type of threat posed, the type of platform targeted by the threat, and the type of entries in the list.

Attributes

platform_type[RW]

The platform type targeted by the list's entries. Corresponds to the JSON property `platformType` @return [String]

threat_entry_type[RW]

The entry types contained in the list. Corresponds to the JSON property `threatEntryType` @return [String]

threat_type[RW]

The threat type posed by the list's entries. Corresponds to the JSON property `threatType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/safebrowsing_v4/classes.rb, line 848
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/safebrowsing_v4/classes.rb, line 853
def update!(**args)
  @platform_type = args[:platform_type] if args.key?(:platform_type)
  @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type)
  @threat_type = args[:threat_type] if args.key?(:threat_type)
end