Gemini Enterprise for Customer Experience v1beta API - Class EvaluationPersona.Types.SpeechConfig (1.0.0-beta01)

public sealed class EvaluationPersona.Types.SpeechConfig : IMessage<EvaluationPersona.Types.SpeechConfig>, IEquatable<EvaluationPersona.Types.SpeechConfig>, IDeepCloneable<EvaluationPersona.Types.SpeechConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class EvaluationPersona.Types.SpeechConfig.

Configuration for Text-to-Speech generation.

Inheritance

object > EvaluationPersona.Types.SpeechConfig

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

SpeechConfig()

public SpeechConfig()

SpeechConfig(SpeechConfig)

public SpeechConfig(EvaluationPersona.Types.SpeechConfig other)
Parameter
Name Description
other EvaluationPersonaTypesSpeechConfig

Properties

Environment

public EvaluationPersona.Types.SpeechConfig.Types.BackgroundEnvironment Environment { get; set; }

Optional. The simulated audio environment.

Property Value
Type Description
EvaluationPersonaTypesSpeechConfigTypesBackgroundEnvironment

SpeakingRate

public double SpeakingRate { get; set; }

Optional. The speaking rate. 1.0 is normal. Lower is slower (e.g., 0.8), higher is faster (e.g., 1.5). Useful for testing how the agent handles fast talkers.

Property Value
Type Description
double

VoiceId

public string VoiceId { get; set; }

Optional. The specific voice identifier/accent to use. Example: "en-US-Wavenet-D" or "en-GB-Standard-A"

Property Value
Type Description
string