public sealed class EvaluationPersona.Types.SpeechConfig : IMessage<EvaluationPersona.Types.SpeechConfig>, IEquatable<EvaluationPersona.Types.SpeechConfig>, IDeepCloneable<EvaluationPersona.Types.SpeechConfig>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class EvaluationPersona.Types.SpeechConfig.
Configuration for Text-to-Speech generation.
Implements
IMessageEvaluationPersonaTypesSpeechConfig, IEquatableEvaluationPersonaTypesSpeechConfig, IDeepCloneableEvaluationPersonaTypesSpeechConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
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 |
|