# Google Cloud Web Security Scanner V1 Client - Class Xxe (1.2.0)

1.2.0 (latest) 1.1.2 1.0.5 0.8.5 0.7.18 Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class Xxe.

Information reported for an XXE.

Generated from protobuf message `google.cloud.websecurityscanner.v1.Xxe`

## Namespace

Google \\ Cloud \\ WebSecurityScanner \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ payload_value` | `string` The XML string that triggered the XXE vulnerability. Non-payload values might be redacted. |
| `↳ payload_location` | `int` Location within the request where the payload was placed. |

### getPayloadValue

The XML string that triggered the XXE vulnerability. Non-payload values
might be redacted.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPayloadValue

The XML string that triggered the XXE vulnerability. Non-payload values
might be redacted.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPayloadLocation

Location within the request where the payload was placed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Location](https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.Xxe.Location). |

### setPayloadLocation

Location within the request where the payload was placed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Location](https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.Xxe.Location). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |