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."],[[["This webpage provides reference documentation for the `ViolatingResource` class within the Google Cloud Web Security Scanner v1 API."],["`ViolatingResource` is a class that represents a resource causing a vulnerability, including files like JavaScript sources, images, and audio."],["The document includes version history, with the latest being version 2.5.0, and version 2.4.0 is the active version detailed on this page."],["`ViolatingResource` class implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces, with members inherited from `object`, and has a constructor that accepts a `ViolatingResource`."],["The `ViolatingResource` class has two properties, `ContentType`, which is a string that represents the resource's MIME type, and `ResourceUrl` which is a string representing the URL of the resource."]]],[]]