Google Cloud Dialogflow Cx V3 Client - Class ConversationTurn (0.3.4)

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

One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.

Generated from protobuf message google.cloud.dialogflow.cx.v3.ConversationTurn

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ virtual_agent_output

getUserInput

The user input.

hasUserInput

clearUserInput

setUserInput

The user input.

Returns
Type
Description
$this

getVirtualAgentOutput

The virtual agent output.

hasVirtualAgentOutput

clearVirtualAgentOutput

setVirtualAgentOutput

The virtual agent output.

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: