Class BatchJobSource
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Configuration for the input data source of a batch job.
public class BatchJobSource
- Inheritance
-
BatchJobSource
- Inherited Members
- Extension Methods
Properties
BigqueryUri
The BigQuery URI to input table. Format: bq://projectId.datasetId.tableId
[JsonPropertyName("bigqueryUri")]
public string? BigqueryUri { get; set; }
Property Value
FileName
The Gemini API's file resource name of the input data. Format: files/{file-id}
[JsonPropertyName("fileName")]
public string? FileName { get; set; }
Property Value
Format
Storage format of the input files. Must be one of: 'jsonl', 'bigquery'.
[JsonPropertyName("format")]
public string? Format { get; set; }
Property Value
GcsUri
The Google Cloud Storage URIs to input files. May contain multiple files (e.g., "gs://my-bucket/input*.jsonl").
[JsonPropertyName("gcsUri")]
public List<string>? GcsUri { get; set; }
Property Value
InlinedRequests
The Gemini API's inlined input data to run batch job. Used for batch jobs that don't require external storage.
[JsonPropertyName("inlinedRequests")]
public List<InlinedRequest>? InlinedRequests { get; set; }