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

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 \ PBCase

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\ResponseMessage|null

hasMessage

setMessage

Returned message.

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

getAdditionalCases

Additional cases to be evaluated.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\Fulfillment\ConditionalCases|null

hasAdditionalCases

setAdditionalCases

Additional cases to be evaluated.

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

getCasesOrMessage

Returns
TypeDescription
string