Google Cloud Ces V1 Client - Class Turn (0.2.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class Turn.

All information about a single turn in the conversation.

Generated from protobuf message google.cloud.ces.v1.Conversation.Turn

Namespace

Google \ Cloud \ Ces \ V1 \ Conversation

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ messages
array< Google\Cloud\Ces\V1\Message >

Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.

↳ root_span
Google\Cloud\Ces\V1\Span

Optional. The root span of the action processing.

getMessages

Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.

setMessages

Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.

Parameter
Name
Description
Returns
Type
Description
$this

getRootSpan

Optional. The root span of the action processing.

Returns
Type
Description

hasRootSpan

clearRootSpan

setRootSpan

Optional. The root span of the action processing.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: