class Google::Apis::SpeechV2beta1::LongRunningRecognizeResponse
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
results[RW]
Output only. Sequential list of transcription results corresponding to sequential portions of audio. Corresponds to the JSON property `results` @return [Array<Google::Apis::SpeechV2beta1::SpeechRecognitionResult>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/speech_v2beta1/classes.rb, line 105 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/speech_v2beta1/classes.rb, line 110 def update!(**args) @results = args[:results] if args.key?(:results) end