Resource: Conversation
Represents a conversation. A conversation is an interaction between an agent, including live agents and Dialogflow agents, and a support customer. Conversations can include phone calls and text-based chat sessions.
JSON representation |
---|
{ "name": string, "lifecycleState": enum ( |
Fields | |
---|---|
name |
Output only. Identifier. The unique identifier of this conversation. Format: |
lifecycle |
Output only. The current state of the Conversation. |
conversation |
Required. The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: |
phone |
Output only. Required if the conversation is to be connected over telephony. |
conversation |
Optional. The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversationStage to |
start |
Output only. The time the conversation was started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
Output only. The time the conversation was finished. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Completes the specified conversation. |
|
Creates a new conversation. |
|
Retrieves the specific conversation. |
|
Returns the list of all conversations in the specified project. |