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

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.
  • results (type: list(GoogleApi.Speech.V1.Model.SpeechRecognitionResult.t), default: nil) - Sequential list of transcription results corresponding to sequential portions of audio.
  • totalBilledTime (type: String.t, default: nil) - When available, billed audio seconds for the corresponding request.

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.LongRunningRecognizeResponse{
  outputConfig: GoogleApi.Speech.V1.Model.TranscriptOutputConfig.t() | nil,
  outputError: GoogleApi.Speech.V1.Model.Status.t() | nil,
  results: [GoogleApi.Speech.V1.Model.SpeechRecognitionResult.t()] | nil,
  totalBilledTime: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.