Conversation(mapping=None, *, ignore_unknown_fields=False, **kwargs)A conversation represents an interaction between an end user and the CES app.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. The unique identifier of the conversation. Format: projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}
|
start_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the conversation was created. |
end_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the conversation was completed. |
turns |
MutableSequence[google.cloud.ces_v1beta.types.Conversation.Turn]
Required. The turns in the conversation. |
turn_count |
int
Output only. The number of turns in the conversation. |
channel_type |
google.cloud.ces_v1beta.types.Conversation.ChannelType
DEPRECATED. Please use input_types instead. |
source |
google.cloud.ces_v1beta.types.Conversation.Source
Output only. Indicate the source of the conversation. |
input_types |
MutableSequence[google.cloud.ces_v1beta.types.Conversation.InputType]
Output only. The input types of the conversation. |
entry_agent |
str
Output only. The agent that initially handles the conversation. If not specified, the conversation is handled by the root agent. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
|
deployment |
str
Output only. The deployment of the app used for processing the conversation. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
|
app_version |
str
Output only. The version of the app used for processing the conversation. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
|
language_code |
str
Output only. The language code of the conversation. |
messages |
MutableSequence[google.cloud.ces_v1beta.types.Message]
Deprecated. Use turns instead. |
Classes
ChannelType
ChannelType(value)The channel type of the conversation.
InputType
InputType(value)Type of the input message.
Source
Source(value)The source of the conversation.
Turn
Turn(mapping=None, *, ignore_unknown_fields=False, **kwargs)All information about a single turn in the conversation.