Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class Error.
An error produced by the tool call.
Generated from protobuf message google.cloud.dialogflow.v2.ToolCallResult.Error
Namespace
Google \ Cloud \ Dialogflow \ V2 \ ToolCallResultMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ message |
string
Optional. The error message of the function. |
getMessage
Optional. The error message of the function.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMessage
Optional. The error message of the function.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|