Google Cloud Dialogflow Cx V3 Client - Class RunTestCaseRequest (0.2.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class RunTestCaseRequest.

The request message for TestCases.RunTestCase.

Generated from protobuf message google.cloud.dialogflow.cx.v3.RunTestCaseRequest

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Format of test case name to run: projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>.

↳ environment string

Optional. Environment name. If not set, draft environment is assumed. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

getName

Required. Format of test case name to run: projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>.

Returns
TypeDescription
string

setName

Required. Format of test case name to run: projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEnvironment

Optional. Environment name. If not set, draft environment is assumed.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

Returns
TypeDescription
string

setEnvironment

Optional. Environment name. If not set, draft environment is assumed.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this