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

The only message returned to the client by the LongRunningRecognize method. It contains the result as zero or more sequential SpeechRecognitionResult messages. It is included in the result.response field of the Operation returned by the GetOperation call of the google::longrunning::Operations service.

Attributes

  • outputConfig (type: GoogleApi.Speech.V1.Model.TranscriptOutputConfig.t, default: nil) - Original output config if present in the request.
  • outputError (type: GoogleApi.Speech.V1.Model.Status.t, default: nil) - If the transcript output fails this field contains the relevant error.
  • 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 speech adaptation behavior in response
  • totalBilledTime (type: String.t, default: nil) - When available, billed audio seconds for the corresponding request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Speech.V1.Model.LongRunningRecognizeResponse{
  outputConfig: GoogleApi.Speech.V1.Model.TranscriptOutputConfig.t() | nil,
  outputError: GoogleApi.Speech.V1.Model.Status.t() | nil,
  requestId: String.t() | nil,
  results: [GoogleApi.Speech.V1.Model.SpeechRecognitionResult.t()] | nil,
  speechAdaptationInfo:
    GoogleApi.Speech.V1.Model.SpeechAdaptationInfo.t() | nil,
  totalBilledTime: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.