# Google Cloud Contact Center Insights V1 Client - Class InputDataConfig (2.4.2)

2.4.2 (latest) 2.4.1 2.3.3 2.2.1 2.1.1 2.0.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.3 Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class InputDataConfig.

Configs for the input data used to create the issue model.

Generated from protobuf message `google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig`

## Namespace

Google \\ Cloud \\ ContactCenterInsights \\ V1 \\ IssueModel

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ medium` | `int` Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the `medium` field on `filter`. |
| `↳ training_conversations_count` | `int|string` Output only. Number of conversations used in training. Output only. |
| `↳ filter` | `string` A filter to reduce the conversations used for training the model to a specific subset. |

### getMedium

Medium of conversations used in training data. This field is being
deprecated. To specify the medium to be used in training a new issue
model, set the `medium` field on `filter`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Medium](https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.Conversation.Medium). |

### setMedium

Medium of conversations used in training data. This field is being
deprecated. To specify the medium to be used in training a new issue
model, set the `medium` field on `filter`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Medium](https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.Conversation.Medium). |

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

### getTrainingConversationsCount

Output only. Number of conversations used in training. Output only.

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

### setTrainingConversationsCount

Output only. Number of conversations used in training. Output only.

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

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

### getFilter

A filter to reduce the conversations used for training the model to a
specific subset.

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

### setFilter

A filter to reduce the conversations used for training the model to a
specific subset.

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

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