- HTTP request
- Path parameters
- Request body
- Response body
- Authorization Scopes
- IAM Permissions
- GcsSource
- TranscriptObjectConfig
- ConversationConfig
- Try it!
Imports conversations and processes them according to the user's configuration.
HTTP request
POST https://contactcenterinsights.googleapis.com/v1alpha1/{parent=projects/*/locations/*}/conversations:ingest
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource for new conversations. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "conversationConfig": { object ( |
Fields | |
---|---|
conversationConfig |
Configuration that applies to all conversations. |
Union field source . Configuration for an external data store containing objects that will be converted to conversations. source can be only one of the following: |
|
gcsSource |
A cloud storage bucket source. |
Union field object_config . Configuration for converting individual source objects to conversations. object_config can be only one of the following: |
|
transcriptObjectConfig |
Configuration for when |
Response body
If successful, the response body contains an instance of Operation
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
contactcenterinsights.conversations.create
For more information, see the IAM documentation.
GcsSource
Configuration for Cloud Storage bucket sources.
JSON representation |
---|
{ "bucketUri": string } |
Fields | |
---|---|
bucketUri |
Required. The Cloud Storage bucket containing source objects. |
TranscriptObjectConfig
Configuration for processing transcript objects.
JSON representation |
---|
{
"medium": enum ( |
Fields | |
---|---|
medium |
Required. The medium transcript objects represent. |
ConversationConfig
Configuration that applies to all conversations.
JSON representation |
---|
{ "agentId": string } |
Fields | |
---|---|
agentId |
An opaque, user-specified string representing the human agent who handled the conversations. |