results
Creates, updates, deletes, gets or lists a results
resource.
Overview
Name | results |
Type | Resource |
Id | google.dialogflow.results |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The resource name for the test case result. Format: projects//locations//agents//testCases//results/ . |
conversationTurns | array | The conversation turns uttered during the test case replay in chronological order. |
environment | string | Environment where the test was run. If not set, it indicates the draft environment. |
testResult | string | Whether the test case passed in the agent environment. |
testTime | string | The time that the test was run. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_agents_test_cases_results_get | SELECT | agentsId, locationsId, projectsId, resultsId, testCasesId | Gets a test case result. |
projects_locations_agents_test_cases_results_list | SELECT | agentsId, locationsId, projectsId, testCasesId | Fetches 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 }}';