# Google Cloud Discovery Engine V1 Client - Class ImportUserEventsRequest (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ImportUserEventsRequest.

Request message for the ImportUserEvents request.

Generated from protobuf message `google.cloud.discoveryengine.v1.ImportUserEventsRequest`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ inline_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.ImportUserEventsRequest.InlineSource` The Inline source for the input content for UserEvents. |
| `↳ gcs_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.GcsSource` Cloud Storage location for the input content. |
| `↳ bigquery_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.BigQuerySource` BigQuery input source. |
| `↳ parent` | `string` Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` |
| `↳ error_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.ImportErrorConfig` The desired location of errors incurred during the Import. Cannot be set for inline user event imports. |

### getInlineSource

The Inline source for the input content for UserEvents.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.ImportUserEventsRequest.InlineSource|null` |   |

### hasInlineSource

### setInlineSource

The Inline source for the input content for UserEvents.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.ImportUserEventsRequest.InlineSource` |

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

### getGcsSource

Cloud Storage location for the input content.

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

### hasGcsSource

### setGcsSource

Cloud Storage location for the input content.

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

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

### getBigquerySource

BigQuery input source.

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

### hasBigquerySource

### setBigquerySource

BigQuery input source.

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

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

### getParent

Required. Parent DataStore resource name, of the form
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`

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

### setParent

Required. Parent DataStore resource name, of the form
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`

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

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

### getErrorConfig

The desired location of errors incurred during the Import. Cannot be set
for inline user event imports.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.ImportErrorConfig|null` |   |

### hasErrorConfig

### clearErrorConfig

### setErrorConfig

The desired location of errors incurred during the Import. Cannot be set
for inline user event imports.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.ImportErrorConfig` |

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

### getSource

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