Generated from protobuf messagegoogle.cloud.dialogflow.cx.v3.RunTestCaseRequest
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Format of test case name to run:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>.
↳ environment
string
Optional. Environment name. If not set, draft environment is assumed. Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>.
getName
Required. Format of test case name to run:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>.
Returns
Type
Description
string
setName
Required. Format of test case name to run:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEnvironment
Optional. Environment name. If not set, draft environment is assumed.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class RunTestCaseRequest (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.RunTestCaseRequest)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.RunTestCaseRequest)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.RunTestCaseRequest)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.RunTestCaseRequest)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.RunTestCaseRequest)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.RunTestCaseRequest)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.RunTestCaseRequest)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.RunTestCaseRequest)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.RunTestCaseRequest) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class RunTestCaseRequest.\n\nThe request message for\n[TestCases.RunTestCase](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.TestCasesClient#_Google_Cloud_Dialogflow_Cx_V3_Client_TestCasesClient__runTestCase__).\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.RunTestCaseRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Format of test case name to run:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/testCases/\u003cTestCaseID\u003e`.\n\n### setName\n\nRequired. Format of test case name to run:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/testCases/\u003cTestCaseID\u003e`.\n\n### getEnvironment\n\nOptional. Environment name. If not set, draft environment is assumed.\n\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/environments/\u003cEnvironmentID\u003e`.\n\n### setEnvironment\n\nOptional. Environment name. If not set, draft environment is assumed.\n\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/environments/\u003cEnvironmentID\u003e`."]]