View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3VoiceSelectionParams (google_api_dialogflow v0.74.0)

Description of which voice to use for speech synthesis.

Attributes

  • name (type: String.t, default: nil) - 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.
  • ssmlGender (type: String.t, default: nil) - 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 substitutes a voice with a different gender rather than failing the request.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3VoiceSelectionParams{
    name: String.t() | nil,
    ssmlGender: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.