class Google::Apis::WebsecurityscannerV1::ViolatingResource
Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
Attributes
content_type[RW]
The MIME type of this resource. Corresponds to the JSON property `contentType` @return [String]
resource_url[RW]
URL of this violating resource. Corresponds to the JSON property `resourceUrl` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/websecurityscanner_v1/classes.rb, line 911 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/websecurityscanner_v1/classes.rb, line 916 def update!(**args) @content_type = args[:content_type] if args.key?(:content_type) @resource_url = args[:resource_url] if args.key?(:resource_url) end