Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class CaseContent.
The list of messages or conditional cases to activate for this case.
Generated from protobuf message google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ Fulfillment \ ConditionalCases \ PBCaseMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ message |
Google\Cloud\Dialogflow\Cx\V3\ResponseMessage
Returned message. |
↳ additional_cases |
Google\Cloud\Dialogflow\Cx\V3\Fulfillment\ConditionalCases
Additional cases to be evaluated. |
getMessage
Returned message.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\Cx\V3\ResponseMessage|null |
hasMessage
setMessage
Returned message.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\Cx\V3\ResponseMessage
|
Returns | |
---|---|
Type | Description |
$this |
getAdditionalCases
Additional cases to be evaluated.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\Cx\V3\Fulfillment\ConditionalCases|null |
hasAdditionalCases
setAdditionalCases
Additional cases to be evaluated.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\Cx\V3\Fulfillment\ConditionalCases
|
Returns | |
---|---|
Type | Description |
$this |
getCasesOrMessage
Returns | |
---|---|
Type | Description |
string |