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 documentation for the `ViolatingResource` class within the Google Cloud Web Security Scanner v1 API, specifically version 2.1.0, with links to other versions as well."],["`ViolatingResource` represents a resource that is causing a vulnerability, including files such as JavaScript sources, images, or audio."],["The `ViolatingResource` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the `Object` class."],["Key properties of `ViolatingResource` include `ContentType`, which represents the MIME type, and `ResourceUrl`, which indicates the URL of the resource."],["The latest version of the API in this documentation is 2.5.0, with previous versions available for reference, down to version 1.0.0."]]],[]]