GcsDestination

Google Cloud Storage Object details to write the feedback labels to.

JSON representation
{
  "format": enum (Format),
  "objectUri": string,
  "addWhitespace": boolean,
  "alwaysPrintEmptyFields": boolean,
  "recordsPerFileCount": string
}
Fields
format

enum (Format)

Required. File format in which the labels will be exported.

objectUri

string

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. gs://bucket_name/object_uri_prefix

addWhitespace

boolean

Optional. Add whitespace to the JSON file. Makes easier to read, but increases file size. Only applicable for JSON format.

alwaysPrintEmptyFields

boolean

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.

recordsPerFileCount

string (int64 format)

Optional. The number of records per file. Applicable for either format.

Format

All permissible file formats. See recordsPerFileCount to override the default number of records per file.

Enums
FORMAT_UNSPECIFIED Unspecified format.
CSV CSV format. 1,000 labels are stored per CSV file by default.
JSON JSON format. 1 label stored per JSON file by default.