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 contribute to web security vulnerabilities, such as JavaScript files, images, or audio files.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eViolatingResource\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.WebSecurityScanner.V1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.WebSecurityScanner.V1.dll\u003c/code\u003e assembly, and has a few inherited members from \u003ccode\u003eObject\u003c/code\u003e that it may utilize, such as \u003ccode\u003eGetHashCode\u003c/code\u003e and \u003ccode\u003eToString\u003c/code\u003e.\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, specifically tailored for handling data related to the resource.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two constructors, a default one and one that takes another \u003ccode\u003eViolatingResource\u003c/code\u003e instance as a parameter, and it also has properties, \u003ccode\u003eContentType\u003c/code\u003e and \u003ccode\u003eResourceUrl\u003c/code\u003e, to detail the type of the resource and the link to it, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version listed for the \u003ccode\u003eViolatingResource\u003c/code\u003e resource is 2.5.0, whereas the page content pertains to version 1.2.0, and there are several other listed versions.\u003c/p\u003e\n"]]],[],null,[]]