Class BatchJobDestination
Config for dest parameter.
public record BatchJobDestination : IEquatable<BatchJobDestination>
- Inheritance
-
BatchJobDestination
- Implements
- Inherited Members
Properties
BigqueryUri
The BigQuery URI to the output table.
[JsonPropertyName("bigqueryUri")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? BigqueryUri { get; set; }
Property Value
FileName
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.
[JsonPropertyName("fileName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? FileName { get; set; }
Property Value
Format
Storage format of the output files. Must be one of: 'jsonl', 'bigquery', 'vertex-dataset'.
[JsonPropertyName("format")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Format { get; set; }
Property Value
GcsUri
The Google Cloud Storage URI to the output file.
[JsonPropertyName("gcsUri")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? GcsUri { get; set; }
Property Value
InlinedEmbedContentResponses
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("inlinedEmbedContentResponses")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<InlinedEmbedContentResponse>? InlinedEmbedContentResponses { get; set; }
Property Value
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")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<InlinedResponse>? InlinedResponses { get; set; }
Property Value
VertexDataset
This field is experimental and may change in future versions. The Vertex AI dataset destination.
[JsonPropertyName("vertexDataset")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public VertexMultimodalDatasetDestination? VertexDataset { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a BatchJobDestination object.
public static BatchJobDestination? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- BatchJobDestination
The deserialized BatchJobDestination object, or null if deserialization fails.