# Stackdriver Monitoring V3 Client - Class QueryErrorList (2.2.2)

2.2.2 (latest) 2.2.1 2.1.2 2.0.1 1.12.1 1.11.1 1.10.3 1.9.0 1.8.0 1.7.1 1.6.0 1.5.1 1.4.0 1.3.2 1.2.2 Reference documentation and code samples for the Stackdriver Monitoring V3 Client class QueryErrorList.

This is an error detail intended to be used with INVALID_ARGUMENT errors.

Generated from protobuf message `google.monitoring.v3.QueryErrorList`

## Namespace

Google \\ Cloud \\ Monitoring \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ errors` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-monitoring/latest/V3.QueryError>` Errors in parsing the time series query language text. The number of errors in the response may be limited. |
| `↳ error_summary` | `string` A summary of all the errors. |

### getErrors

Errors in parsing the time series query language text. The number of errors
in the response may be limited.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-monitoring/latest/V3.QueryError>` |   |

### setErrors

Errors in parsing the time series query language text. The number of errors
in the response may be limited.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-monitoring/latest/V3.QueryError>` |

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

### getErrorSummary

A summary of all the errors.

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

### setErrorSummary

A summary of all the errors.

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

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