Table of Contents

Class OutputInfo

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

Describes the info for output of EvaluationService. This data type is not supported in Gemini API.

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

Properties

GcsOutputDirectory

Output only. The full path of the Cloud Storage directory created, into which the evaluation results and aggregation results are written.

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

Property Value

string

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a OutputInfo object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

OutputInfo

The deserialized OutputInfo object, or null if deserialization fails.