Table of Contents

Class LanguageAuto

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

Indicates the language of the audio should be automatically detected.

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

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a LanguageAuto object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

LanguageAuto

The deserialized LanguageAuto object, or null if deserialization fails.