Method: projects.locations.bulkUploadFeedbackLabels

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

string

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 source can be only one of the following:
  "gcsSource": {
    object (GcsSource)
  }
  // End of list of possible types for union field source.
}
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.

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:
gcsSource

object (GcsSource)

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.