Class: Google::Cloud::Speech::V1p1beta1::RecognizeResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V1p1beta1::RecognizeResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb
Overview
The only message returned to the client by the Recognize
method. It
contains the result as zero or more sequential SpeechRecognitionResult
messages.
Instance Attribute Summary collapse
-
#request_id ⇒ ::Integer
The ID associated with the request.
-
#results ⇒ ::Array<::Google::Cloud::Speech::V1p1beta1::SpeechRecognitionResult>
Sequential list of transcription results corresponding to sequential portions of audio.
-
#speech_adaptation_info ⇒ ::Google::Cloud::Speech::V1p1beta1::SpeechAdaptationInfo
Provides information on adaptation behavior in response.
-
#total_billed_time ⇒ ::Google::Protobuf::Duration
When available, billed audio seconds for the corresponding request.
Instance Attribute Details
#request_id ⇒ ::Integer
Returns The ID associated with the request. This is a unique ID specific only to the given request.
683 684 685 686 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 683 class RecognizeResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#results ⇒ ::Array<::Google::Cloud::Speech::V1p1beta1::SpeechRecognitionResult>
Returns Sequential list of transcription results corresponding to sequential portions of audio.
683 684 685 686 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 683 class RecognizeResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#speech_adaptation_info ⇒ ::Google::Cloud::Speech::V1p1beta1::SpeechAdaptationInfo
Returns Provides information on adaptation behavior in response.
683 684 685 686 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 683 class RecognizeResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#total_billed_time ⇒ ::Google::Protobuf::Duration
Returns When available, billed audio seconds for the corresponding request.
683 684 685 686 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 683 class RecognizeResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |