public sealed class ViolatingResource : IMessage<ViolatingResource>, IEquatable<ViolatingResource>, IDeepCloneable<ViolatingResource>, IBufferMessage, IMessage
Information regarding any resource causing the vulnerability such
as JavaScript sources, image, audio files, etc.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eViolatingResource\u003c/code\u003e class, which is used to represent information about resources that may cause vulnerabilities, such as JavaScript, image, or audio files.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eViolatingResource\u003c/code\u003e class is found within the \u003ccode\u003eGoogle.Cloud.WebSecurityScanner.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.WebSecurityScanner.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class, one is a default constructor and the other takes another \u003ccode\u003eViolatingResource\u003c/code\u003e as a parameter, to be used for making a copy of a \u003ccode\u003eViolatingResource\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eViolatingResource\u003c/code\u003e class has two string properties, \u003ccode\u003eContentType\u003c/code\u003e, which represents the MIME type, and \u003ccode\u003eResourceUrl\u003c/code\u003e, which provides the URL of the violating resource.\u003c/p\u003e\n"]]],[],null,[]]