class Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo

The information regarding one or more threats that a client submits when checking for matches in threat lists.

Attributes

platform_types[RW]

The platform types to be checked. Corresponds to the JSON property `platformTypes` @return [Array<String>]

threat_entries[RW]

The threat entries to be checked. Corresponds to the JSON property `threatEntries` @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry>]

threat_entry_types[RW]

The entry types to be checked. Corresponds to the JSON property `threatEntryTypes` @return [Array<String>]

threat_types[RW]

The threat types to be checked. Corresponds to the JSON property `threatTypes` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/safebrowsing_v4/classes.rb, line 814
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 819
def update!(**args)
  @platform_types = args[:platform_types] if args.key?(:platform_types)
  @threat_entries = args[:threat_entries] if args.key?(:threat_entries)
  @threat_entry_types = args[:threat_entry_types] if args.key?(:threat_entry_types)
  @threat_types = args[:threat_types] if args.key?(:threat_types)
end