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. It will not be empty if the conversation is to be connected over telephony. |
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: |
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 |
LifecycleState
Enumeration of the completion status of the conversation.
Enums | |
---|---|
LIFECYCLE_STATE_UNSPECIFIED |
Unknown. |
IN_PROGRESS |
Conversation is currently open for media analysis. |
COMPLETED |
Conversation has been completed. |
ConversationPhoneNumber
Represents a phone number for telephony integration. It allows for connecting a particular conversation over telephony.
JSON representation |
---|
{ "phoneNumber": string } |
Fields | |
---|---|
phone |
Output only. The phone number to connect to this conversation. |
ConversationStage
Enumeration of the different conversation stages a conversation can be in. Reference: https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages
Enums | |
---|---|
CONVERSATION_STAGE_UNSPECIFIED |
Unknown. Should never be used after a conversation is successfully created. |
VIRTUAL_AGENT_STAGE |
The conversation should return virtual agent responses into the conversation. |
HUMAN_ASSIST_STAGE |
The conversation should not provide responses, just listen and provide suggestions. |
Methods |
|
---|---|
|
Completes the specified conversation. |
|
Creates a new conversation. |
|
Retrieves the specific conversation. |
|
Returns the list of all conversations in the specified project. |