Google Cloud Dialogflow Cx V3 Client - Class FulfillmentResponse (0.4.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class FulfillmentResponse.

Represents a fulfillment response to the user.

Generated from protobuf message google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ WebhookResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ messages array<Google\Cloud\Dialogflow\Cx\V3\ResponseMessage>

The list of rich message responses to present to the user.

↳ merge_behavior int

Merge behavior for messages.

getMessages

The list of rich message responses to present to the user.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMessages

The list of rich message responses to present to the user.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\Cx\V3\ResponseMessage>
Returns
Type Description
$this

getMergeBehavior

Merge behavior for messages.

Returns
Type Description
int

setMergeBehavior

Merge behavior for messages.

Parameter
Name Description
var int
Returns
Type Description
$this