public sealed class ViolatingResource : IMessage<ViolatingResource>, IEquatable<ViolatingResource>, IDeepCloneable<ViolatingResource>, IBufferMessage, IMessage
Reference documentation and code samples for the Web Security Scanner v1 API class ViolatingResource.
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 document provides reference documentation for the \u003ccode\u003eViolatingResource\u003c/code\u003e class within the Google Cloud Web Security Scanner v1 API, specifically version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eViolatingResource\u003c/code\u003e class represents a resource that is associated with a vulnerability, such as JavaScript files, images, or audio files.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, for various operations and comparisons.\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 provides the URL of the violating resource.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists the versions available, from the latest at 2.5.0 all the way down to 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]