Reference documentation and code samples for the Cloud Speech-to-Text V1 API class Google::Cloud::Speech::V1::RecognizeResponse.
The only message returned to the client by the Recognize
method. It
contains the result as zero or more sequential SpeechRecognitionResult
messages.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#results
def results() -> ::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>
Returns
- (::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>) — Sequential list of transcription results corresponding to sequential portions of audio.
#results=
def results=(value) -> ::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>
Parameter
- value (::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>) — Sequential list of transcription results corresponding to sequential portions of audio.
Returns
- (::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>) — Sequential list of transcription results corresponding to sequential portions of audio.
#total_billed_time
def total_billed_time() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — When available, billed audio seconds for the corresponding request.
#total_billed_time=
def total_billed_time=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — When available, billed audio seconds for the corresponding request.
Returns
- (::Google::Protobuf::Duration) — When available, billed audio seconds for the corresponding request.