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

The input config source.

Generated from protobuf message `google.cloud.recommendationengine.v1beta1.InputConfig`

## Namespace

Google \\ Cloud \\ RecommendationEngine \\ V1beta1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ catalog_inline_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-recommendations-ai/latest/V1beta1.CatalogInlineSource` The Inline source for the input content for Catalog items. |
| `↳ gcs_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-recommendations-ai/latest/V1beta1.GcsSource` Google Cloud Storage location for the input content. |
| `↳ user_event_inline_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-recommendations-ai/latest/V1beta1.UserEventInlineSource` The Inline source for the input content for UserEvents. |

### getCatalogInlineSource

The Inline source for the input content for Catalog items.

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

### hasCatalogInlineSource

### setCatalogInlineSource

The Inline source for the input content for Catalog items.

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

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

### getGcsSource

Google Cloud Storage location for the input content.

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

### hasGcsSource

### setGcsSource

Google Cloud Storage location for the input content.

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

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

### getUserEventInlineSource

The Inline source for the input content for UserEvents.

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

### hasUserEventInlineSource

### setUserEventInlineSource

The Inline source for the input content for UserEvents.

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

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

### getSource

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