# Google Cloud Recommendation Engine V1beta1 Client - Class ImportUserEventsResponse (0.9.3)

0.9.3 (latest) 0.9.2 0.8.2 0.7.7 0.6.4 0.5.0 0.4.12

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class ImportUserEventsResponse.

Response of the ImportUserEventsRequest. 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.recommendationengine.v1beta1.ImportUserEventsResponse`

## Namespace

Google \\ Cloud \\ RecommendationEngine \\ V1beta1

## 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-recommendations-ai/latest/V1beta1.ImportErrorsConfig` Echoes the destination for the complete errors if this field was set in the request. |
| `↳ import_summary` | `https://docs.cloud.google.com/php/docs/reference/cloud-recommendations-ai/latest/V1beta1.UserEventImportSummary` Aggregated statistics of user event import status. |

### 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

Echoes the destination for the complete errors if this field was set in
the request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-recommendations-ai/latest/V1beta1.ImportErrorsConfig|null` |   |

### hasErrorsConfig

### clearErrorsConfig

### setErrorsConfig

Echoes the destination for the complete errors if this field was set in
the request.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-recommendations-ai/latest/V1beta1.ImportErrorsConfig` |

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

### getImportSummary

Aggregated statistics of user event import status.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-recommendations-ai/latest/V1beta1.UserEventImportSummary|null` |   |

### hasImportSummary

### clearImportSummary

### setImportSummary

Aggregated statistics of user event import status.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-recommendations-ai/latest/V1beta1.UserEventImportSummary` |

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