View Source GoogleApi.TextToSpeech.V1beta1.Model.CustomPronunciationParams (google_api_text_to_speech v0.20.0)

Pronunciation customization for a phrase.

Attributes

  • phoneticEncoding (type: String.t, default: nil) - The phonetic encoding of the phrase.
  • phrase (type: String.t, default: nil) - The phrase to which the customization will be applied. The phrase can be multiple words (in the case of proper nouns etc), but should not span to a whole sentence.
  • pronunciation (type: String.t, default: nil) - The pronunciation of the phrase. This must be in the phonetic encoding specified above.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.TextToSpeech.V1beta1.Model.CustomPronunciationParams{
  phoneticEncoding: String.t() | nil,
  phrase: String.t() | nil,
  pronunciation: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.