google_api_text_to_speech v0.6.0 GoogleApi.TextToSpeech.V1beta1.Model.Voice View Source

Description of a voice supported by the TTS service.

Attributes

  • languageCodes (type: list(String.t), default: nil) - The languages that this voice supports, expressed as BCP-47 language tags (e.g. "en-US", "es-419", "cmn-tw").
  • name (type: String.t, default: nil) - The name of this voice. Each distinct voice has a unique name.
  • naturalSampleRateHertz (type: integer(), default: nil) - The natural sample rate (in hertz) for this voice.
  • ssmlGender (type: String.t, default: nil) - The gender of this voice.

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.TextToSpeech.V1beta1.Model.Voice{
  languageCodes: [String.t()],
  name: String.t(),
  naturalSampleRateHertz: integer(),
  ssmlGender: String.t()
}

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.