- JSON representation
- BulkDownloadFeedbackLabelsRequest
- GcsDestination
- SheetsDestination
- DownloadStats
Metadata for the BulkDownloadFeedbackLabel endpoint.
JSON representation |
---|
{ "createTime": string, "endTime": string, "request": { object ( |
Fields | |
---|---|
create |
Output only. The time the operation was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
Output only. The time the operation finished running. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
request |
Output only. The original request for download. |
partial |
Partial errors during ingest operation that might cause the operation output to be incomplete. |
download |
Output only. Statistics for BulkDownloadFeedbackLabels operation. |
BulkDownloadFeedbackLabelsRequest
Request for the BulkDownloadFeedbackLabel endpoint.
JSON representation |
---|
{ "parent": string, "filter": string, "maxDownloadCount": integer, "feedbackLabelType": enum ( |
Fields | |
---|---|
parent |
Required. The parent resource for new feedback labels. |
filter |
Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields:
|
max |
Optional. Limits the maximum number of feedback labels that will be downloaded. The first |
feedback |
Optional. The type of feedback labels that will be downloaded. |
conversation |
Optional. Filter parent conversations to download feedback labels for. When specified, the feedback labels will be downloaded for the conversations that match the filter. If |
template |
Optional. If set, a template for labeling conversations and scorecard questions will be created from the conversationFilter and the questions under the scorecard(s). The feedback label |
Union field destination . Configuration for an external data store to which the feedback labels will be written to. destination can be only one of the following: |
|
gcs |
A cloud storage bucket destination. |
sheets |
A sheets document destination. |
GcsDestination
Google Cloud Storage Object details to write the feedback labels to.
JSON representation |
---|
{
"format": enum ( |
Fields | |
---|---|
format |
Required. File format in which the labels will be exported. |
object |
Required. The Google Cloud Storage URI to write the feedback labels to. The file name will be used as a prefix for the files written to the bucket if the output needs to be split across multiple files, otherwise it will be used as is. The file extension will be appended to the file name based on the format selected. E.g. |
add |
Optional. Add whitespace to the JSON file. Makes easier to read, but increases file size. Only applicable for JSON format. |
always |
Optional. Always print fields with no presence. This is useful for printing fields that are not set, like implicit 0 value or empty lists/maps. Only applicable for JSON format. |
records |
Optional. The number of records per file. Applicable for either format. |
SheetsDestination
Google Sheets document details to write the feedback labels to.
JSON representation |
---|
{ "spreadsheetUri": string, "sheetTitle": string } |
Fields | |
---|---|
spreadsheet |
Required. The Google Sheets document to write the feedback labels to. Retrieved from Google Sheets URI. E.g. |
sheet |
Optional. The title of the new sheet to write the feedback labels to. |
DownloadStats
Statistics for BulkDownloadFeedbackLabels operation.
JSON representation |
---|
{ "processedObjectCount": integer, "successfulDownloadCount": integer, "totalFilesWritten": integer, "fileNames": [ string ] } |
Fields | |
---|---|
processed |
The number of objects processed during the download operation. |
successful |
The number of new feedback labels downloaded during this operation. Different from "processed" because some labels might not be downloaded because an error. |
total |
Total number of files written to the provided Cloud Storage bucket. |
file |
Output only. Full name of the files written to Cloud storage. |