View Source GoogleApi.Speech.V1.Model.RecognizeResponse (google_api_speech v0.28.0)

The only message returned to the client by the Recognize method. It contains the result as zero or more sequential SpeechRecognitionResult messages.

Attributes

  • requestId (type: String.t, default: nil) - The ID associated with the request. This is a unique ID specific only to the given request.
  • results (type: list(GoogleApi.Speech.V1.Model.SpeechRecognitionResult.t), default: nil) - Sequential list of transcription results corresponding to sequential portions of audio.
  • speechAdaptationInfo (type: GoogleApi.Speech.V1.Model.SpeechAdaptationInfo.t, default: nil) - Provides information on adaptation behavior in response
  • totalBilledTime (type: String.t, default: nil) - When available, billed audio seconds for the corresponding request.
  • usingLegacyModels (type: boolean(), default: nil) - Whether request used legacy asr models (was not automatically migrated to use conformer models).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Speech.V1.Model.RecognizeResponse{
  requestId: String.t() | nil,
  results: [GoogleApi.Speech.V1.Model.SpeechRecognitionResult.t()] | nil,
  speechAdaptationInfo:
    GoogleApi.Speech.V1.Model.SpeechAdaptationInfo.t() | nil,
  totalBilledTime: String.t() | nil,
  usingLegacyModels: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.