Google Cloud Dialogflow V2 Client - Class InputDataConfig (2.3.0)

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 Google\Protobuf\Timestamp

Optional. The start timestamp to fetch conversation data.

↳ end_time 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 AgentAssistInputDataConfig

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

↳ dataset_input_data_config 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.

setInputDataSourceType

Required. The source type of input data.

Parameter
Name Description
var int

Enum of type InputDataSourceType.

Returns
Type Description
$this

getStartTime

Optional. The start timestamp to fetch conversation data.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Optional. The start timestamp to fetch conversation data.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

Optional. The end timestamp to fetch conversation data.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Optional. The end timestamp to fetch conversation data.

Parameter
Name Description
var 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.

setSummaryGenerationOption

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

Parameter
Name Description
var int

Enum of type SummaryGenerationOption.

Returns
Type Description
$this

getAgentAssistInputDataConfig

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

Returns
Type Description
AgentAssistInputDataConfig|null

hasAgentAssistInputDataConfig

setAgentAssistInputDataConfig

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

Parameter
Name Description
var AgentAssistInputDataConfig
Returns
Type Description
$this

getDatasetInputDataConfig

The distinctive configs for dataset as the conversation source.

Returns
Type Description
DatasetInputDataConfig|null

hasDatasetInputDataConfig

setDatasetInputDataConfig

The distinctive configs for dataset as the conversation source.

Parameter
Name Description
var DatasetInputDataConfig
Returns
Type Description
$this

getSourceSpecificConfig

Returns
Type Description
string