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"]],[["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 details the `ViolatingResource` class, which is used to represent information about resources that may cause vulnerabilities, such as JavaScript, image, or audio files."],["The `ViolatingResource` class is found within the `Google.Cloud.WebSecurityScanner.V1` namespace and is part of the `Google.Cloud.WebSecurityScanner.V1.dll` assembly."],["The class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `Object` class."],["There are two constructors for the class, one is a default constructor and the other takes another `ViolatingResource` as a parameter, to be used for making a copy of a `ViolatingResource`."],["The `ViolatingResource` class has two string properties, `ContentType`, which represents the MIME type, and `ResourceUrl`, which provides the URL of the violating resource."]]],[]]