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

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
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this