Reference documentation and code samples for the Cloud Speech-to-Text V1 API class Google::Cloud::Speech::V1::LongRunningRecognizeResponse.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Speech-to-Text V1 API - Class Google::Cloud::Speech::V1::LongRunningRecognizeResponse (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-speech-v1/latest/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [1.2.1](/ruby/docs/reference/google-cloud-speech-v1/1.2.1/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [1.1.0](/ruby/docs/reference/google-cloud-speech-v1/1.1.0/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [1.0.1](/ruby/docs/reference/google-cloud-speech-v1/1.0.1/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.17.0](/ruby/docs/reference/google-cloud-speech-v1/0.17.0/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.16.2](/ruby/docs/reference/google-cloud-speech-v1/0.16.2/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.15.0](/ruby/docs/reference/google-cloud-speech-v1/0.15.0/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.14.0](/ruby/docs/reference/google-cloud-speech-v1/0.14.0/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.13.1](/ruby/docs/reference/google-cloud-speech-v1/0.13.1/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.12.1](/ruby/docs/reference/google-cloud-speech-v1/0.12.1/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.11.0](/ruby/docs/reference/google-cloud-speech-v1/0.11.0/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.10.2](/ruby/docs/reference/google-cloud-speech-v1/0.10.2/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.9.0](/ruby/docs/reference/google-cloud-speech-v1/0.9.0/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.8.0](/ruby/docs/reference/google-cloud-speech-v1/0.8.0/Google-Cloud-Speech-V1-LongRunningRecognizeResponse)\n- [0.7.3](/ruby/docs/reference/google-cloud-speech-v1/0.7.3/Google-Cloud-Speech-V1-LongRunningRecognizeResponse) \nReference documentation and code samples for the Cloud Speech-to-Text V1 API class Google::Cloud::Speech::V1::LongRunningRecognizeResponse.\n\nThe only message returned to the client by the `LongRunningRecognize` method.\nIt contains the result as zero or more sequential `SpeechRecognitionResult`\nmessages. It is included in the `result.response` field of the `Operation`\nreturned by the `GetOperation` call of the `google::longrunning::Operations`\nservice. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #output_config\n\n def output_config() -\u003e ::Google::Cloud::Speech::V1::TranscriptOutputConfig\n\n**Returns**\n\n- ([::Google::Cloud::Speech::V1::TranscriptOutputConfig](./Google-Cloud-Speech-V1-TranscriptOutputConfig)) --- Original output config if present in the request.\n\n### #output_config=\n\n def output_config=(value) -\u003e ::Google::Cloud::Speech::V1::TranscriptOutputConfig\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Speech::V1::TranscriptOutputConfig](./Google-Cloud-Speech-V1-TranscriptOutputConfig)) --- Original output config if present in the request. \n**Returns**\n\n- ([::Google::Cloud::Speech::V1::TranscriptOutputConfig](./Google-Cloud-Speech-V1-TranscriptOutputConfig)) --- Original output config if present in the request.\n\n### #output_error\n\n def output_error() -\u003e ::Google::Rpc::Status\n\n**Returns**\n\n- ([::Google::Rpc::Status](./Google-Rpc-Status)) --- If the transcript output fails this field contains the relevant error.\n\n### #output_error=\n\n def output_error=(value) -\u003e ::Google::Rpc::Status\n\n**Parameter**\n\n- **value** ([::Google::Rpc::Status](./Google-Rpc-Status)) --- If the transcript output fails this field contains the relevant error. \n**Returns**\n\n- ([::Google::Rpc::Status](./Google-Rpc-Status)) --- If the transcript output fails this field contains the relevant error.\n\n### #request_id\n\n def request_id() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The ID associated with the request. This is a unique ID specific only to the given request.\n\n### #request_id=\n\n def request_id=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The ID associated with the request. This is a unique ID specific only to the given request. \n**Returns**\n\n- (::Integer) --- The ID associated with the request. This is a unique ID specific only to the given request.\n\n### #results\n\n def results() -\u003e ::Array\u003c::Google::Cloud::Speech::V1::SpeechRecognitionResult\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Speech::V1::SpeechRecognitionResult](./Google-Cloud-Speech-V1-SpeechRecognitionResult)\\\u003e) --- Sequential list of transcription results corresponding to sequential portions of audio.\n\n### #results=\n\n def results=(value) -\u003e ::Array\u003c::Google::Cloud::Speech::V1::SpeechRecognitionResult\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Speech::V1::SpeechRecognitionResult](./Google-Cloud-Speech-V1-SpeechRecognitionResult)\\\u003e) --- Sequential list of transcription results corresponding to sequential portions of audio. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Speech::V1::SpeechRecognitionResult](./Google-Cloud-Speech-V1-SpeechRecognitionResult)\\\u003e) --- Sequential list of transcription results corresponding to sequential portions of audio.\n\n### #speech_adaptation_info\n\n def speech_adaptation_info() -\u003e ::Google::Cloud::Speech::V1::SpeechAdaptationInfo\n\n**Returns**\n\n- ([::Google::Cloud::Speech::V1::SpeechAdaptationInfo](./Google-Cloud-Speech-V1-SpeechAdaptationInfo)) --- Provides information on speech adaptation behavior in response\n\n### #speech_adaptation_info=\n\n def speech_adaptation_info=(value) -\u003e ::Google::Cloud::Speech::V1::SpeechAdaptationInfo\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Speech::V1::SpeechAdaptationInfo](./Google-Cloud-Speech-V1-SpeechAdaptationInfo)) --- Provides information on speech adaptation behavior in response \n**Returns**\n\n- ([::Google::Cloud::Speech::V1::SpeechAdaptationInfo](./Google-Cloud-Speech-V1-SpeechAdaptationInfo)) --- Provides information on speech adaptation behavior in response\n\n### #total_billed_time\n\n def total_billed_time() -\u003e ::Google::Protobuf::Duration\n\n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- When available, billed audio seconds for the corresponding request.\n\n### #total_billed_time=\n\n def total_billed_time=(value) -\u003e ::Google::Protobuf::Duration\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- When available, billed audio seconds for the corresponding request. \n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- When available, billed audio seconds for the corresponding request."]]