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 \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ test_case |
TestCase
Required. The test case to update. |
↳ update_mask |
Google\Protobuf\FieldMask
Required. The mask to specify which fields should be updated. The |
getTestCase
Required. The test case to update.
Returns | |
---|---|
Type | Description |
TestCase|null |
hasTestCase
clearTestCase
setTestCase
Required. The test case to update.
Parameter | |
---|---|
Name | Description |
var |
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 |
TestCase
Required. The test case to update. |
updateMask |
Google\Protobuf\FieldMask
Required. The mask to specify which fields should be updated. The
|
Returns | |
---|---|
Type | Description |
UpdateTestCaseRequest |