# Google Cloud Retail V2 Client - Class UserEventInputConfig (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 UserEventInputConfig.

The input config source for user events.

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

## Namespace

Google \\ Cloud \\ Retail \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ user_event_inline_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.UserEventInlineSource` Required. The Inline source for the input content for UserEvents. |
| `↳ gcs_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.GcsSource` Required. Google Cloud Storage location for the input content. |
| `↳ big_query_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.BigQuerySource` Required. BigQuery input source. |

### getUserEventInlineSource

Required. The Inline source for the input content for UserEvents.

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

### hasUserEventInlineSource

### setUserEventInlineSource

Required. The Inline source for the input content for UserEvents.

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

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

### getGcsSource

Required. Google Cloud Storage location for the input content.

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

### hasGcsSource

### setGcsSource

Required. Google Cloud Storage location for the input content.

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

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

### getBigQuerySource

Required. BigQuery input source.

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

### hasBigQuerySource

### setBigQuerySource

Required. BigQuery input source.

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

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

### getSource

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