results
Creates, updates, deletes, gets or lists a results
resource.
Overview
Name | results |
Type | Resource |
Id | google.dialogflow.results |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_agents_test_cases_results_get
- projects_locations_agents_test_cases_results_list
Successful response
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 (google-datetime) | The time that the test was run. |
Successful response
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 (google-datetime) | The time that the test was run. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_agents_test_cases_results_get | select | projectsId , locationsId , agentsId , testCasesId , resultsId | Gets a test case result. | |
projects_locations_agents_test_cases_results_list | select | projectsId , locationsId , agentsId , testCasesId | pageSize , pageToken , filter | Fetches 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.
Name | Datatype | Description |
---|---|---|
agentsId | string | |
locationsId | string | |
projectsId | string | |
resultsId | string | |
testCasesId | string | |
filter | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- projects_locations_agents_test_cases_results_get
- projects_locations_agents_test_cases_results_list
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;
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 projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND agentsId = '{{ agentsId }}' -- required
AND testCasesId = '{{ testCasesId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}';