Class: Google::Cloud::Speech::V1::LongRunningRecognizeResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V1::LongRunningRecognizeResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/speech/v1/cloud_speech.rb
Overview
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.
Instance Attribute Summary collapse
-
#output_config ⇒ ::Google::Cloud::Speech::V1::TranscriptOutputConfig
Original output config if present in the request.
-
#output_error ⇒ ::Google::Rpc::Status
If the transcript output fails this field contains the relevant error.
-
#request_id ⇒ ::Integer
The ID associated with the request.
-
#results ⇒ ::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>
Sequential list of transcription results corresponding to sequential portions of audio.
-
#speech_adaptation_info ⇒ ::Google::Cloud::Speech::V1::SpeechAdaptationInfo
Provides information on speech adaptation behavior in response.
-
#total_billed_time ⇒ ::Google::Protobuf::Duration
When available, billed audio seconds for the corresponding request.
Instance Attribute Details
#output_config ⇒ ::Google::Cloud::Speech::V1::TranscriptOutputConfig
Returns Original output config if present in the request.
695 696 697 698 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695 class LongRunningRecognizeResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#output_error ⇒ ::Google::Rpc::Status
Returns If the transcript output fails this field contains the relevant error.
695 696 697 698 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695 class LongRunningRecognizeResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#request_id ⇒ ::Integer
Returns The ID associated with the request. This is a unique ID specific only to the given request.
695 696 697 698 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695 class LongRunningRecognizeResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#results ⇒ ::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>
Returns Sequential list of transcription results corresponding to sequential portions of audio.
695 696 697 698 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695 class LongRunningRecognizeResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#speech_adaptation_info ⇒ ::Google::Cloud::Speech::V1::SpeechAdaptationInfo
Returns Provides information on speech adaptation behavior in response.
695 696 697 698 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695 class LongRunningRecognizeResponse 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.
695 696 697 698 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695 class LongRunningRecognizeResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |