Google Cloud Web Security Scanner V1beta Client - Class Xss (0.7.18)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1beta Client class Xss.

Information reported for an XSS.

Generated from protobuf message google.cloud.websecurityscanner.v1beta.Xss

Namespace

Google \ Cloud \ WebSecurityScanner \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ stack_traces array

Stack traces leading to the point where the XSS occurred.

↳ error_message string

An error message generated by a javascript breakage.

getStackTraces

Stack traces leading to the point where the XSS occurred.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setStackTraces

Stack traces leading to the point where the XSS occurred.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getErrorMessage

An error message generated by a javascript breakage.

Returns
TypeDescription
string

setErrorMessage

An error message generated by a javascript breakage.

Parameter
NameDescription
var string
Returns
TypeDescription
$this