# Google Cloud Dialogflow V2 Client - Class InputDataConfig (2.4.0)

2.4.0 (latest) 2.3.1 2.2.1 2.1.2 2.0.1 1.17.2 1.16.0 1.15.1 1.14.0 1.13.0 1.12.3 1.11.0 1.10.2 1.9.0 1.8.0 1.7.2 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class InputDataConfig.

Input data config details

Generated from protobuf message `google.cloud.dialogflow.v2.GeneratorEvaluationConfig.InputDataConfig`

## Namespace

Google \\ Cloud \\ Dialogflow \\ V2 \\ GeneratorEvaluationConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ input_data_source_type` | `int` Required. The source type of input data. |
| `↳ start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Optional. The start timestamp to fetch conversation data. |
| `↳ end_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Optional. The end timestamp to fetch conversation data. |
| `↳ sample_size` | `int` Optional. Desired number of conversation-summary pairs to be evaluated. |
| `↳ is_summary_generation_allowed` | `bool` Optional. Whether the summary generation is allowed when the pre-existing qualified summaries are insufficient to cover the sample size. |
| `↳ summary_generation_option` | `int` Optional. Option to control whether summaries are generated during evaluation. |
| `↳ agent_assist_input_data_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.GeneratorEvaluationConfig.AgentAssistInputDataConfig` The distinctive configs for Agent Assist conversations as the conversation source. |
| `↳ dataset_input_data_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.GeneratorEvaluationConfig.DatasetInputDataConfig` The distinctive configs for dataset as the conversation source. |

### getInputDataSourceType

Required. The source type of input data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [InputDataSourceType](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.GeneratorEvaluationConfig.InputDataSourceType). |

### setInputDataSourceType

Required. The source type of input data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [InputDataSourceType](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.GeneratorEvaluationConfig.InputDataSourceType). |

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

### getStartTime

Optional. The start timestamp to fetch conversation data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

Optional. The start timestamp to fetch conversation data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getEndTime

Optional. The end timestamp to fetch conversation data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasEndTime

### clearEndTime

### setEndTime

Optional. The end timestamp to fetch conversation data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getSampleSize

Optional. Desired number of conversation-summary pairs to be evaluated.

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

### setSampleSize

Optional. Desired number of conversation-summary pairs to be evaluated.

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

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

### getIsSummaryGenerationAllowed

Optional. Whether the summary generation is allowed when the pre-existing
qualified summaries are insufficient to cover the sample size.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setIsSummaryGenerationAllowed

Optional. Whether the summary generation is allowed when the pre-existing
qualified summaries are insufficient to cover the sample size.

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

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

### getSummaryGenerationOption

Optional. Option to control whether summaries are generated during
evaluation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [SummaryGenerationOption](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.GeneratorEvaluationConfig.InputDataConfig.SummaryGenerationOption). |

### setSummaryGenerationOption

Optional. Option to control whether summaries are generated during
evaluation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [SummaryGenerationOption](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.GeneratorEvaluationConfig.InputDataConfig.SummaryGenerationOption). |

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

### getAgentAssistInputDataConfig

The distinctive configs for Agent Assist conversations as the
conversation source.

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

### hasAgentAssistInputDataConfig

### setAgentAssistInputDataConfig

The distinctive configs for Agent Assist conversations as the
conversation source.

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

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

### getDatasetInputDataConfig

The distinctive configs for dataset as the conversation source.

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

### hasDatasetInputDataConfig

### setDatasetInputDataConfig

The distinctive configs for dataset as the conversation source.

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

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

### getSourceSpecificConfig

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