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

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setStackTraces

Stack traces leading to the point where the XSS occurred.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getErrorMessage

An error message generated by a javascript breakage.

Returns
Type Description
string

setErrorMessage

An error message generated by a javascript breakage.

Parameter
Name Description
var string
Returns
Type Description
$this