# Google Cloud Storage Batch Operations V1 Client - Class ErrorLogEntry (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.1 0.2.1 0.1.2 Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class ErrorLogEntry.

An entry describing an error that has occurred.

Generated from protobuf message `google.cloud.storagebatchoperations.v1.ErrorLogEntry`

## Namespace

Google \\ Cloud \\ StorageBatchOperations \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ object_uri` | `string` Required. Output only. Object URL. e.g. gs://my_bucket/object.txt |
| `↳ error_details` | `string[]` Optional. Output only. At most 5 error log entries are recorded for a given error code for a job. |

### getObjectUri

Required. Output only. Object URL. e.g. gs://my_bucket/object.txt

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

### setObjectUri

Required. Output only. Object URL. e.g. gs://my_bucket/object.txt

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

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

### getErrorDetails

Optional. Output only. At most 5 error log entries are recorded for a given
error code for a job.

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

### setErrorDetails

Optional. Output only. At most 5 error log entries are recorded for a given
error code for a job.

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

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