Skip to main content

results

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

Overview

Nameresults
TypeResource
Idgoogle.dialogflow.results

Fields

The following fields are returned by SELECT queries:

Successful response

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.
testTimestring (google-datetime)The time that the test was run.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_agents_test_cases_results_getselectprojectsId, locationsId, agentsId, testCasesId, resultsIdGets a test case result.
projects_locations_agents_test_cases_results_listselectprojectsId, locationsId, agentsId, testCasesIdpageSize, pageToken, filterFetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agentsIdstring
locationsIdstring
projectsIdstring
resultsIdstring
testCasesIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets a test case result.

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