View Source GoogleApi.TextToSpeech.V1.Model.Voice (google_api_text_to_speech v0.17.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.TextToSpeech.V1.Model.Voice{
  languageCodes: [String.t()] | nil,
  name: String.t() | nil,
  naturalSampleRateHertz: integer() | nil,
  ssmlGender: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.