- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations.
HTTP request
POST https://{endpoint}/v1/{parent=projects/*/locations/*}:bulkUploadFeedbackLabels
Where {endpoint} is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The parent resource for new feedback labels. | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "validateOnly": boolean, // Union field | 
| Fields | |
|---|---|
| validateOnly | 
 Optional. If set, upload will not happen and the labels will be validated. If not set, then default behavior will be to upload the labels after validation is complete. | 
| Union field source. Configuration for an external data store containing objects that will be converted to FeedbackLabels.sourcecan be only one of the following: | |
| gcsSource | 
 A cloud storage bucket source. | 
| sheetsSource | 
 A sheets document source. | 
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 permissions on the parent resource:
- contactcenterinsights.authorizedFeedbackLabels.upload
- contactcenterinsights.datasetFeedbackLabels.upload
- contactcenterinsights.feedbackLabels.upload
For more information, see the IAM documentation.