public sealed class VoiceSelectionParams : IMessage<VoiceSelectionParams>, IEquatable<VoiceSelectionParams>, IDeepCloneable<VoiceSelectionParams>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 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.v2.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.v2.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The provided content is the reference documentation for the `VoiceSelectionParams` class within the Google Cloud Dialogflow v2 API for .NET, offering a description and details about which voice to use for speech synthesis."],["There are multiple versions of the `VoiceSelectionParams` class, and they are listed from the latest version (4.26.0) down to older versions, such as version 3.2.0."],["The `VoiceSelectionParams` class inherits from `object` and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces."],["The class has two constructors, a default one, and one that takes another `VoiceSelectionParams` as a parameter, and offers two properties: `Name` (string) and `SsmlGender` (SsmlVoiceGender), both of which are optional and help determine the voice to use."]]],[]]