class ProjectsLocationsAgentsTestCasesResults extends Resource (View source)

The "results" collection of methods.

Typical usage is:

 $dialogflowService = new Google\Service\Dialogflow(...);
 $results = $dialogflowService->projects_locations_agents_testCases_results;

Methods

get(string $name, array $optParams = [])

Gets a test case result. (results.get)

listProjectsLocationsAgentsTestCasesResults(string $parent, array $optParams = [])

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

Details

GoogleCloudDialogflowCxV3TestCaseResult get(string $name, array $optParams = [])

Gets a test case result. (results.get)

Parameters

string $name

Required. The name of the testcase. Format: projects//locations//agents//testCases//results/.

array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3TestCaseResult

Exceptions

Exception

GoogleCloudDialogflowCxV3ListTestCaseResultsResponse listProjectsLocationsAgentsTestCasesResults(string $parent, array $optParams = [])

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

(results.listProjectsLocationsAgentsTestCasesResults)

Parameters

string $parent

Required. The test case to list results for. Format: projects//locations//agents//testCases/. Specify a - as a wildcard for TestCase ID to list results across multiple test cases.

array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3ListTestCaseResultsResponse

Exceptions

Exception