class Google::Apis::WebriskV1::GoogleCloudWebriskV1Submission
Wraps a URI that might be displaying malicious content.
Attributes
threat_types[RW]
ThreatTypes found to be associated with the submitted URI after reviewing it. This may be empty if the URI was not added to any list. Corresponds to the JSON property `threatTypes` @return [Array<String>]
uri[RW]
Required. The URI that is being reported for malicious content to be analyzed. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/webrisk_v1/classes.rb, line 320 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/webrisk_v1/classes.rb, line 325 def update!(**args) @threat_types = args[:threat_types] if args.key?(:threat_types) @uri = args[:uri] if args.key?(:uri) end