class Google::Apis::WebsecurityscannerV1alpha::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_v1alpha/classes.rb, line 703
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_v1alpha/classes.rb, line 708
def update!(**args)
  @content_type = args[:content_type] if args.key?(:content_type)
  @resource_url = args[:resource_url] if args.key?(:resource_url)
end