GoogleApi.Speech.V1.Model.SpeechAdaptation (google_api_speech v0.26.0) View Source

Speech adaptation configuration.

Attributes

  • customClasses (type: list(GoogleApi.Speech.V1.Model.CustomClass.t), default: nil) - A collection of custom classes. To specify the classes inline, leave the class' name blank and fill in the rest of its fields, giving it a unique custom_class_id. Refer to the inline defined class in phrase hints by its custom_class_id.
  • phraseSetReferences (type: list(String.t), default: nil) - A collection of phrase set resource names to use.
  • phraseSets (type: list(GoogleApi.Speech.V1.Model.PhraseSet.t), default: nil) - A collection of phrase sets. To specify the hints inline, leave the phrase set's name blank and fill in the rest of its fields. Any phrase set can use any custom class.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Speech.V1.Model.SpeechAdaptation{
  customClasses: [GoogleApi.Speech.V1.Model.CustomClass.t()] | nil,
  phraseSetReferences: [String.t()] | nil,
  phraseSets: [GoogleApi.Speech.V1.Model.PhraseSet.t()] | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.