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

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
Name Description
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
Type Description
Google\Cloud\Dialogflow\Cx\V3\TestCase|null

hasTestCase

clearTestCase

setTestCase

Required. The test case to update.

Parameter
Name Description
var Google\Cloud\Dialogflow\Cx\V3\TestCase
Returns
Type Description
$this

getUpdateMask

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

Returns
Type Description
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
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
testCase Google\Cloud\Dialogflow\Cx\V3\TestCase

Required. The test case to update.

updateMask Google\Protobuf\FieldMask

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

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\UpdateTestCaseRequest