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."],[[["The latest version of `ViolatingResource` is 2.5.0, which is part of the Google.Cloud.WebSecurityScanner.V1 namespace."],["`ViolatingResource` is designed to represent information about any resource that is causing a vulnerability, such as JavaScript sources or image files."],["The `ViolatingResource` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionality for message handling, equality comparisons, deep cloning, and buffer message support."],["The class offers two constructors: a default constructor `ViolatingResource()` and a copy constructor `ViolatingResource(ViolatingResource other)` to create instances of the class."],["`ViolatingResource` has properties for `ContentType`, representing the MIME type of the resource, and `ResourceUrl`, which holds the URL of the resource in question."]]],[]]