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 part of the Google Cloud Web Security Scanner API, specifically within version 2.0.0 of the library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eViolatingResource\u003c/code\u003e class is designed to represent information about resources that contribute to web security vulnerabilities, such as JavaScript files or images.\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 \u003ccode\u003eObject\u003c/code\u003e, providing functionality for message handling, comparison, cloning, and more.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eViolatingResource\u003c/code\u003e class has two properties: \u003ccode\u003eContentType\u003c/code\u003e, which specifies the MIME type of the resource, and \u003ccode\u003eResourceUrl\u003c/code\u003e, which contains the URL of the resource.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage contains links to older and newer versions, as well as the latest version of the \u003ccode\u003eViolatingResource\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]