# Google Cloud Retail V2 Client - Class ExportAnalyticsMetricsResponse (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.1 2.1.3 2.0.0 1.7.0 1.6.4 1.5.0 1.4.2 1.3.1 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Retail V2 Client class ExportAnalyticsMetricsResponse.

Response of the ExportAnalyticsMetricsRequest. If the long running
operation was successful, then this message is returned by the
google.longrunning.Operations.response field if the operation was successful.

Generated from protobuf message `google.cloud.retail.v2.ExportAnalyticsMetricsResponse`

## Namespace

Google \\ Cloud \\ Retail \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ error_samples` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` A sample of errors encountered while processing the request. |
| `↳ errors_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.ExportErrorsConfig` This field is never set. |
| `↳ output_result` | `https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.OutputResult` Output result indicating where the data were exported to. |

### getErrorSamples

A sample of errors encountered while processing the request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` |   |

### setErrorSamples

A sample of errors encountered while processing the request.

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

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

### getErrorsConfig

This field is never set.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.ExportErrorsConfig|null` |   |

### hasErrorsConfig

### clearErrorsConfig

### setErrorsConfig

This field is never set.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.ExportErrorsConfig` |

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

### getOutputResult

Output result indicating where the data were exported to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.OutputResult|null` |   |

### hasOutputResult

### clearOutputResult

### setOutputResult

Output result indicating where the data were exported to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.OutputResult` |

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