# Stackdriver Monitoring V3 Client - Class CreateTimeSeriesError (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 CreateTimeSeriesError.

DEPRECATED. Used to hold per-time-series error status.

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

## Namespace

Google \\ Cloud \\ Monitoring \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ time_series` | `https://docs.cloud.google.com/php/docs/reference/cloud-monitoring/latest/V3.TimeSeries` DEPRECATED. Time series ID that resulted in the `status` error. |
| `↳ status` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` DEPRECATED. The status of the requested write operation for `time_series`. |

### getTimeSeries

DEPRECATED. Time series ID that resulted in the `status` error.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-monitoring/latest/V3.TimeSeries|null` |   |

### hasTimeSeries

### clearTimeSeries

### setTimeSeries

DEPRECATED. Time series ID that resulted in the `status` error.

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

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

### getStatus

DEPRECATED. The status of the requested write operation for `time_series`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html|null` |   |

### hasStatus

### clearStatus

### setStatus

DEPRECATED. The status of the requested write operation for `time_series`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` |

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