# Google Cloud Storage Transfer V1 Client - Class ErrorLogEntry (2.4.0)

2.4.0 (latest) 2.3.2 2.2.1 2.1.1 2.0.2 1.5.0 1.4.5 1.3.1 1.2.0 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class ErrorLogEntry.

An entry describing an error that has occurred.

Generated from protobuf message `google.storagetransfer.v1.ErrorLogEntry`

## Namespace

Google \\ Cloud \\ StorageTransfer \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ url` | `string` Required. A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated. |
| `↳ error_details` | `string[]` A list of messages that carry the error details. |

### getUrl

Required. A URL that refers to the target (a data source, a data sink,
or an object) with which the error is associated.

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

### setUrl

Required. A URL that refers to the target (a data source, a data sink,
or an object) with which the error is associated.

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

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

### getErrorDetails

A list of messages that carry the error details.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setErrorDetails

A list of messages that carry the error details.

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

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