Google Cloud Dialogflow v2beta1 API - Class VoiceSelectionParams (1.0.0-beta15)

public sealed class VoiceSelectionParams : IMessage<VoiceSelectionParams>, IEquatable<VoiceSelectionParams>, IDeepCloneable<VoiceSelectionParams>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class VoiceSelectionParams.

Description of which voice to use for speech synthesis.

Inheritance

object > VoiceSelectionParams

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

VoiceSelectionParams()

public VoiceSelectionParams()

VoiceSelectionParams(VoiceSelectionParams)

public VoiceSelectionParams(VoiceSelectionParams other)
Parameter
NameDescription
otherVoiceSelectionParams

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.v2beta1.VoiceSelectionParams.ssml_gender].

For the list of available voices, please refer to Supported voices and languages.

Property Value
TypeDescription
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.v2beta1.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
TypeDescription
SsmlVoiceGender