Google Cloud Dialogflow Cx V3 Client - Class CreateTestCaseRequest (0.1.1)

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

The request message for TestCases.CreateTestCase.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The agent to create the test case for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

↳ test_case Google\Cloud\Dialogflow\Cx\V3\TestCase

Required. The test case to create.

getParent

Required. The agent to create the test case for.

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

Returns
TypeDescription
string

setParent

Required. The agent to create the test case for.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTestCase

Required. The test case to create.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\TestCase|null

hasTestCase

clearTestCase

setTestCase

Required. The test case to create.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\TestCase
Returns
TypeDescription
$this