class Google::Apis::SpeechV1p1beta1::LongRunningRecognizeRequest
The top-level message sent by the client for the `LongRunningRecognize` method.
Attributes
Contains audio data in the encoding specified in the `RecognitionConfig`. Either `content` or `uri` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. See [content limits](cloud.google. com/speech-to-text/quotas#content). Corresponds to the JSON property `audio` @return [Google::Apis::SpeechV1p1beta1::RecognitionAudio]
Provides information to the recognizer that specifies how to process the request. Corresponds to the JSON property `config` @return [Google::Apis::SpeechV1p1beta1::RecognitionConfig]
Specifies an optional destination for the recognition results. Corresponds to the JSON property `outputConfig` @return [Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig]
Public Class Methods
# File lib/google/apis/speech_v1p1beta1/classes.rb, line 331 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/speech_v1p1beta1/classes.rb, line 336 def update!(**args) @audio = args[:audio] if args.key?(:audio) @config = args[:config] if args.key?(:config) @output_config = args[:output_config] if args.key?(:output_config) end