# Google Cloud Recommendation Engine V1beta1 Client - Class EventSource (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 EventSource.

User event source.

Protobuf type `google.cloud.recommendationengine.v1beta1.UserEvent.EventSource`

## Namespace

Google \\ Cloud \\ RecommendationEngine \\ V1beta1 \\ UserEvent

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### EVENT_SOURCE_UNSPECIFIED

    Value: 0

Unspecified event source.

Generated from protobuf enum `EVENT_SOURCE_UNSPECIFIED = 0;`

### AUTOML

    Value: 1

The event is ingested via a javascript pixel or Recommendations AI Tag
through automl datalayer or JS Macros.

Generated from protobuf enum `AUTOML = 1;`

### ECOMMERCE

    Value: 2

The event is ingested via Recommendations AI Tag through Enhanced
Ecommerce datalayer.

Generated from protobuf enum `ECOMMERCE = 2;`

### BATCH_UPLOAD

    Value: 3

The event is ingested via Import user events API.

Generated from protobuf enum `BATCH_UPLOAD = 3;`