- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- GcsSource
- Format
- Try it!
Upload feedback labels in bulk.
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 | |
---|---|
validate |
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. source can be only one of the following: |
|
gcs |
A cloud storage bucket 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 permission on the parent
resource:
contactcenterinsights.feedbackLabels.upload
For more information, see the IAM documentation.
GcsSource
Google Cloud Storage Object details to get the feedback label file from.
JSON representation |
---|
{
"format": enum ( |
Fields | |
---|---|
format |
Required. File format which will be ingested. |
object |
Required. The Google Cloud Storage URI of the file to import. Format: |
Format
All permissible file formats.
Enums | |
---|---|
FORMAT_UNSPECIFIED |
Unspecified format. |
CSV |
CSV format. |
JSON |
JSON format. |