Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single consolidated console. See the details.
Required. Format of test case name to run: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.testcases.run
Request body
The request body contains data with the following structure:
JSON representation
{"environment": string}
Fields
environment
string
Optional. Environment name. If not set, draft environment is assumed. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-15 UTC."],[[["This method initiates a test case run, which is a long-running operation, returning an `Operation` with `RunTestCaseMetadata` and `RunTestCaseResponse` fields."],["The HTTP request is a POST method using a specific URL format that includes the test case's name as a path parameter."],["The required `name` parameter in the URL specifies the test case to be run, and its format is `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/testCases/\u003cTestCaseID\u003e`."],["The request body can optionally contain an `environment` field, where if not specified, it defaults to the draft environment."],["The call requires specific OAuth scopes, namely either `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."]]],[]]