public sealed class VoiceSelectionParams : IMessage<VoiceSelectionParams>, IEquatable<VoiceSelectionParams>, IDeepCloneable<VoiceSelectionParams>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class VoiceSelectionParams.
Description of which voice to use for speech synthesis.
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].
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 substitutes a voice with a
different gender rather than failing the request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The document provides reference documentation for the `VoiceSelectionParams` class within the Google.Cloud.Dialogflow.Cx.V3 namespace for .NET, with the latest version being 2.23.0 and going down to version 1.0.0."],["`VoiceSelectionParams` is a class that defines the voice to be used for speech synthesis and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `VoiceSelectionParams` class includes properties to set the preferred `Name` and `SsmlGender` of the voice for speech synthesis, with the service selecting a default voice if these are not specified."],["There is a list of versions provided for this class, for example, version 2.7.0, which is the version that is specifically described in the document, and it includes both parameterless and parameter constructor types."],["The `VoiceSelectionParams` class does not contain many methods, but does include inherited members such as `GetHashCode()`, `GetType()`, and `ToString()`."]]],[]]