Class ViolatingResource (2.0.0)

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.

Inheritance

Object > ViolatingResource

Namespace

Google.Cloud.WebSecurityScanner.V1

Assembly

Google.Cloud.WebSecurityScanner.V1.dll

Constructors

ViolatingResource()

public ViolatingResource()

ViolatingResource(ViolatingResource)

public ViolatingResource(ViolatingResource other)
Parameter
NameDescription
otherViolatingResource

Properties

ContentType

public string ContentType { get; set; }

The MIME type of this resource.

Property Value
TypeDescription
String

ResourceUrl

public string ResourceUrl { get; set; }

URL of this violating resource.

Property Value
TypeDescription
String