Table of Contents

Class BatchJobOutputInfo

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

Represents the output_info field in batch jobs.

public record BatchJobOutputInfo : IEquatable<BatchJobOutputInfo>
Inheritance
BatchJobOutputInfo
Implements
Inherited Members

Properties

BigqueryOutputTable

The name of the BigQuery table created, in predictions_TIMESTAMP format, into which the prediction output is written.

[JsonPropertyName("bigqueryOutputTable")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? BigqueryOutputTable { get; set; }

Property Value

string

GcsOutputDirectory

The full path of the Cloud Storage directory created, into which the prediction output is written.

[JsonPropertyName("gcsOutputDirectory")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? GcsOutputDirectory { get; set; }

Property Value

string

VertexMultimodalDatasetName

This field is experimental and may change in future versions. The Vertex AI dataset name containing the output data.

[JsonPropertyName("vertexMultimodalDatasetName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? VertexMultimodalDatasetName { get; set; }

Property Value

string

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a BatchJobOutputInfo object.

public static BatchJobOutputInfo? FromJson(string jsonString, JsonSerializerOptions? options = null)

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

BatchJobOutputInfo

The deserialized BatchJobOutputInfo object, or null if deserialization fails.