Table of Contents

Struct EndSensitivity

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

End of speech sensitivity.

[JsonConverter(typeof(EndSensitivityConverter))]
public readonly record struct EndSensitivity : IEquatable<EndSensitivity>
Implements
Inherited Members

Properties

AllValues

public static IReadOnlyList<EndSensitivity> AllValues { get; }

Property Value

IReadOnlyList<EndSensitivity>

EndSensitivityHigh

Automatic detection ends speech more often.

public static EndSensitivity EndSensitivityHigh { get; }

Property Value

EndSensitivity

EndSensitivityLow

Automatic detection ends speech less often.

public static EndSensitivity EndSensitivityLow { get; }

Property Value

EndSensitivity

EndSensitivityUnspecified

The default is END_SENSITIVITY_LOW for Gemini Enterprise Agent Platform and END_SENSITIVITY_HIGH for Gemini Live.

public static EndSensitivity EndSensitivityUnspecified { get; }

Property Value

EndSensitivity

Value

public string Value { get; }

Property Value

string

Methods

Equals(EndSensitivity)

public bool Equals(EndSensitivity other)

Parameters

other EndSensitivity

Returns

bool

FromString(string)

public static EndSensitivity FromString(string value)

Parameters

value string

Returns

EndSensitivity

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

implicit operator EndSensitivity(string)

public static implicit operator EndSensitivity(string value)

Parameters

value string

Returns

EndSensitivity