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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `ViolatingResource` class within the Google Cloud Web Security Scanner v1 API, with the latest version being 2.5.0."],["The `ViolatingResource` class identifies resources, such as JavaScript sources or image files, that are involved in a vulnerability."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits members from the `object` class."],["`ViolatingResource` has properties such as `ContentType`, representing the MIME type, and `ResourceUrl`, indicating the resource's URL."],["The class offers two constructors, one being the empty `ViolatingResource()` and the other allowing for a copy of another resource via the `ViolatingResource(ViolatingResource other)` constructor."]]],[]]