Table of Contents

Class BatchJobDestination

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Configuration for the output data destination of a batch job.

public class BatchJobDestination
Inheritance
BatchJobDestination
Inherited Members
Extension Methods

Properties

BigqueryUri

The BigQuery URI to the output table. Format: bq://projectId.datasetId.tableId

[JsonPropertyName("bigqueryUri")]
public string? BigqueryUri { get; set; }

Property Value

string

FileName

The Gemini API's file resource name of the output data. Format: files/{file-id} The file will be a JSONL file with a single response per line.

[JsonPropertyName("fileName")]
public string? FileName { get; set; }

Property Value

string

Format

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

[JsonPropertyName("format")]
public string? Format { get; set; }

Property Value

string

GcsUri

The Google Cloud Storage URI to the output file. The output will be written as JSONL with one response per line.

[JsonPropertyName("gcsUri")]
public string? GcsUri { get; set; }

Property Value

string

InlinedEmbedContentResponses

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

[JsonPropertyName("inlinedEmbedContentResponses")]
public List<InlinedEmbedContentResponse>? InlinedEmbedContentResponses { get; set; }

Property Value

List<InlinedEmbedContentResponse>

InlinedResponses

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.

[JsonPropertyName("inlinedResponses")]
public List<InlinedResponse>? InlinedResponses { get; set; }

Property Value

List<InlinedResponse>