Skip to main content

results

Creates, updates, deletes, gets or lists a results resource.

Overview

Nameresults
TypeResource
Idgoogle.dialogflow.results

Fields

NameDatatypeDescription
namestringThe resource name for the test case result. Format: projects//locations//agents//testCases//results/.
conversationTurnsarrayThe conversation turns uttered during the test case replay in chronological order.
environmentstringEnvironment where the test was run. If not set, it indicates the draft environment.
testResultstringWhether the test case passed in the agent environment.
testTimestringThe time that the test was run.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_agents_test_cases_results_getSELECTagentsId, locationsId, projectsId, resultsId, testCasesIdGets a test case result.
projects_locations_agents_test_cases_results_listSELECTagentsId, locationsId, projectsId, testCasesIdFetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.

SELECT examples

Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.

SELECT
name,
conversationTurns,
environment,
testResult,
testTime
FROM google.dialogflow.results
WHERE agentsId = '{{ agentsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND testCasesId = '{{ testCasesId }}';