GoogleApi.TextToSpeech.V1beta1.Model.SynthesisInput (google_api_text_to_speech v0.13.2) View Source

Contains text input to be synthesized. Either text or ssml must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 characters.

Attributes

  • ssml (type: String.t, default: nil) - The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see SSML.
  • text (type: String.t, default: nil) - The raw text to be synthesized.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.TextToSpeech.V1beta1.Model.SynthesisInput{
  ssml: String.t() | nil,
  text: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.