google_api_dialogflow v0.6.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2VoiceSelectionParams View Source

Description of which voice to use for speech synthesis.

Attributes

  • name (String.t): 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 gender. Defaults to: null.
  • ssmlGender (String.t): 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. Defaults to: null.

    • Enum - one of [SSML_VOICE_GENDER_UNSPECIFIED, SSML_VOICE_GENDER_MALE, SSML_VOICE_GENDER_FEMALE, SSML_VOICE_GENDER_NEUTRAL]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2VoiceSelectionParams{
    name: any(),
    ssmlGender: any()
  }

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.