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

The top-level message sent by the client for the Recognize method.

Attributes

  • audio (type: GoogleApi.Speech.V1.Model.RecognitionAudio.t, default: nil) - Required. The audio data to be recognized.
  • config (type: GoogleApi.Speech.V1.Model.RecognitionConfig.t, default: nil) - Required. Provides information to the recognizer that specifies how to process the request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Speech.V1.Model.RecognizeRequest{
  audio: GoogleApi.Speech.V1.Model.RecognitionAudio.t() | nil,
  config: GoogleApi.Speech.V1.Model.RecognitionConfig.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.