class Google::Apis::SpeechV1p1beta1::RecognizeResponse

The only message returned to the client by the `Recognize` method. It contains the result as zero or more sequential `SpeechRecognitionResult` messages.

Attributes

results[RW]

Sequential list of transcription results corresponding to sequential portions of audio. Corresponds to the JSON property `results` @return [Array<Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult>]

total_billed_time[RW]

When available, billed audio seconds for the corresponding request. Corresponds to the JSON property `totalBilledTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/speech_v1p1beta1/classes.rb, line 927
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_v1p1beta1/classes.rb, line 932
def update!(**args)
  @results = args[:results] if args.key?(:results)
  @total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
end