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."],[[["This document provides reference information for the `VoiceSelectionParams` class within the Google Cloud Dialogflow CX V3 API, spanning versions from 1.0.0 to the latest 2.23.0."],["The `VoiceSelectionParams` class is used to define the specific voice for speech synthesis within the Dialogflow service."],["The class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, which means it has functionalities for message handling, equality comparison, deep cloning, and buffered message operations."],["Key properties of the `VoiceSelectionParams` class include `Name` for specifying a voice name and `SsmlGender` to set the preferred gender of the voice, both of which are optional parameters."],["The document also details the constructors, inherited members, namespace and assembly that compose the class, providing a comprehensive overview for developers."]]],[]]