Web Security Scanner v1 API - Class ViolatingResource (2.4.0)

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.

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
Name Description
other ViolatingResource

Properties

ContentType

public string ContentType { get; set; }

The MIME type of this resource.

Property Value
Type Description
string

ResourceUrl

public string ResourceUrl { get; set; }

URL of this violating resource.

Property Value
Type Description
string