Table of Contents

Class RawOutput

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

Raw output. This data type is not supported in Gemini API.

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

Properties

RawOutputField

Output only. Raw output string.

[JsonPropertyName("rawOutput")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<string>? RawOutputField { get; set; }

Property Value

List<string>

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a RawOutput object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

RawOutput

The deserialized RawOutput object, or null if deserialization fails.