public sealed class VoiceSelectionParams : IMessage<VoiceSelectionParams>, IEquatable<VoiceSelectionParams>, IDeepCloneable<VoiceSelectionParams>, IBufferMessage, IMessage
Description of which voice to use for speech synthesis.
Inheritance
System.Object > VoiceSelectionParamsImplements
Google.Protobuf.IMessage<VoiceSelectionParams>, System.IEquatable<VoiceSelectionParams>, Google.Protobuf.IDeepCloneable<VoiceSelectionParams>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
VoiceSelectionParams()
public VoiceSelectionParams()
VoiceSelectionParams(VoiceSelectionParams)
public VoiceSelectionParams(VoiceSelectionParams other)
Parameter | |
---|---|
Name | Description |
other | VoiceSelectionParams |
Properties
Name
public string Name { get; set; }
Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and [ssml_gender][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.ssml_gender].
Property Value | |
---|---|
Type | Description |
System.String |
SsmlGender
public SsmlVoiceGender SsmlGender { get; set; }
Optional. The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and [name][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a different gender rather than failing the request.
Property Value | |
---|---|
Type | Description |
SsmlVoiceGender |