BatchJobDestination

@Serializable
data class BatchJobDestination(val format: String? = null, val gcsUri: String? = null, val bigqueryUri: String? = null, val fileName: String? = null, val inlinedResponses: List<InlinedResponse>? = null, val inlinedEmbedContentResponses: List<InlinedEmbedContentResponse>? = null, val vertexDataset: VertexMultimodalDatasetDestination? = null)

Config for dest parameter.

Constructors

Link copied to clipboard
constructor(format: String? = null, gcsUri: String? = null, bigqueryUri: String? = null, fileName: String? = null, inlinedResponses: List<InlinedResponse>? = null, inlinedEmbedContentResponses: List<InlinedEmbedContentResponse>? = null, vertexDataset: VertexMultimodalDatasetDestination? = null)

Properties

Link copied to clipboard
val bigqueryUri: String? = null

The BigQuery URI to the output table.

Link copied to clipboard
val fileName: String? = null

The Gemini Developer API's file resource name of the output data (e.g. "files/12345"). The file will be a JSONL file with a single response per line. The responses will be GenerateContentResponse messages formatted as JSON. The responses will be written in the same order as the input requests.

Link copied to clipboard
val format: String? = null

Storage format of the output files. Must be one of: 'jsonl', 'bigquery', 'vertex-dataset'.

Link copied to clipboard
val gcsUri: String? = null

The Google Cloud Storage URI to the output file.

Link copied to clipboard

The responses to the requests in the batch. Returned when the batch was built using inlined requests. The responses will be in the same order as the input requests.

Link copied to clipboard

The responses to the requests in the batch. Returned when the batch was built using inlined requests. The responses will be in the same order as the input requests.

Link copied to clipboard

This field is experimental and may change in future versions. The Vertex AI dataset destination.