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.
-
#results ⇒ ::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>
Sequential list of transcription results corresponding to sequential portions of audio.
-
#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.
643 644 645 646 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 643 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.
643 644 645 646 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 643 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.
643 644 645 646 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 643 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.
643 644 645 646 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 643 class LongRunningRecognizeResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |