Resource: Conversation
The conversation resource.
JSON representation |
---|
{ "name": string, "dataSource": { object ( |
Fields | |
---|---|
name |
Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} |
data |
The source of the audio and transcription for the conversation. |
create |
Output only. The time at which the conversation was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The most recent time at which the conversation was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
start |
The time at which the conversation started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
language |
A user-specified language code for the conversation. |
agent |
An opaque, user-specified string representing the human agent who handled the conversation. |
customer |
An opaque, user-specified string representing the customer identifier. |
labels |
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry. An object containing a list of |
quality |
Conversation metadata related to quality management. |
metadata |
Input only. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telphony systems and must be in one of Insight's supported formats. |
transcript |
Output only. The conversation transcript. |
medium |
Immutable. The conversation medium, if unspecified will default to PHONE_CALL. |
duration |
Output only. The duration of the conversation. A duration in seconds with up to nine fractional digits, ending with ' |
turn |
Output only. The number of turns in the conversation. |
latest |
Output only. The conversation's latest analysis, if one exists. |
latest |
Output only. Latest summary of the conversation. |
runtime |
Output only. The annotations that were generated during the customer and agent interaction. |
dialogflow |
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent} An object containing a list of |
obfuscated |
Obfuscated user ID which the customer sent to us. |
dialogflow |
The Dialogflow conversation raw data. It will only be populated when ConversationView is DF_CONVERSATION_BASIC or DF_CONVERSATION_FULL. |
Union field metadata . Metadata that applies to the conversation. metadata can be only one of the following: |
|
call |
Call-specific metadata. |
Union field expiration . A time to live expiration setting, can be either a specified timestamp or a duration from the time that the conversation creation request was received. Conversations with an expiration set will be removed up to 24 hours after the specified time. expiration can be only one of the following: |
|
expire |
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
ttl |
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. A duration in seconds with up to nine fractional digits, ending with ' |
Methods |
|
---|---|
|
Analyzes multiple conversations in a single request. |
|
Deletes multiple conversations in a single request. |
|
Gets conversation statistics. |
|
Creates a conversation. |
|
Deletes a conversation. |
|
Gets a conversation. |
|
Imports conversations and processes them according to the user's configuration. |
|
Lists conversations. |
|
Updates a conversation. |
|
Create a long-running conversation upload operation. |