Method: projects.locations.datasets.bulkUploadFeedbackLabels

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/*/datasets/*}:bulkUploadFeedbackLabels

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource for new feedback labels.

Request body

The request body contains data with the following structure:

JSON representation
{
  "validateOnly": boolean,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "gcsSource": {
    object (GcsSource)
  },
  "sheetsSource": {
    object (SheetsSource)
  }
  // End of mutually exclusive fields.
}
Fields
validateOnly

boolean

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.

Configuration for an external data store containing objects that will be converted to FeedbackLabels. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
gcsSource

object (GcsSource)

A cloud storage bucket source.

sheetsSource

object (SheetsSource)

A sheets document source.

End of mutually exclusive fields.

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.