Google Cloud Dialogflow V2beta1Voice Selection Params Args
data class GoogleCloudDialogflowV2beta1VoiceSelectionParamsArgs(val name: Output<String>? = null, val ssmlGender: Output<GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender>? = null) : ConvertibleToJava<GoogleCloudDialogflowV2beta1VoiceSelectionParamsArgs>
Description of which voice to use for speech synthesis.
Constructors
Link copied to clipboard
fun GoogleCloudDialogflowV2beta1VoiceSelectionParamsArgs(name: Output<String>? = null, ssmlGender: Output<GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender>? = null)
Functions
Properties
Link copied to clipboard
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. For the list of available voices, please refer to Supported voices and languages.
Link copied to clipboard
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. 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.