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

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

The request message for TestCases.UpdateTestCase.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

Required. The test case to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The mask to specify which fields should be updated. The creationTime and lastTestResult cannot be updated.

getTestCase

Required. The test case to update.

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

hasTestCase

clearTestCase

setTestCase

Required. The test case to update.

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

getUpdateMask

Required. The mask to specify which fields should be updated. The creationTime and lastTestResult cannot be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to specify which fields should be updated. The creationTime and lastTestResult cannot be updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this