Reference documentation and code samples for the Media Translation V1beta1 API class Google::Cloud::MediaTranslation::V1beta1::StreamingTranslateSpeechResponse.
A streaming speech translation response corresponding to a portion of
the audio currently processed.
[[["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-09-09 UTC."],[],[],null,["# Media Translation V1beta1 API - Class Google::Cloud::MediaTranslation::V1beta1::StreamingTranslateSpeechResponse (v0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/ruby/docs/reference/google-cloud-media_translation-v1beta1/latest/Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResponse)\n- [0.11.1](/ruby/docs/reference/google-cloud-media_translation-v1beta1/0.11.1/Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResponse)\n- [0.10.0](/ruby/docs/reference/google-cloud-media_translation-v1beta1/0.10.0/Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResponse)\n- [0.9.1](/ruby/docs/reference/google-cloud-media_translation-v1beta1/0.9.1/Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResponse)\n- [0.8.2](/ruby/docs/reference/google-cloud-media_translation-v1beta1/0.8.2/Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResponse)\n- [0.7.0](/ruby/docs/reference/google-cloud-media_translation-v1beta1/0.7.0/Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResponse)\n- [0.6.1](/ruby/docs/reference/google-cloud-media_translation-v1beta1/0.6.1/Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResponse)\n- [0.5.0](/ruby/docs/reference/google-cloud-media_translation-v1beta1/0.5.0/Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResponse)\n- [0.4.5](/ruby/docs/reference/google-cloud-media_translation-v1beta1/0.4.5/Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResponse) \nReference documentation and code samples for the Media Translation V1beta1 API class Google::Cloud::MediaTranslation::V1beta1::StreamingTranslateSpeechResponse.\n\nA streaming speech translation response corresponding to a portion of\nthe audio currently processed. \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### #error\n\n def error() -\u003e ::Google::Rpc::Status\n\n**Returns**\n\n- ([::Google::Rpc::Status](./Google-Rpc-Status)) --- Output only. If set, returns a [google.rpc.Status](/ruby/docs/reference/google-cloud-media_translation-v1beta1/latest/Google-Rpc-Status \"Google::Rpc::Status (class)\") message that specifies the error for the operation.\n\n### #result\n\n def result() -\u003e ::Google::Cloud::MediaTranslation::V1beta1::StreamingTranslateSpeechResult\n\n**Returns**\n\n- ([::Google::Cloud::MediaTranslation::V1beta1::StreamingTranslateSpeechResult](./Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResult)) --- Output only. The translation result that is currently being processed (is_final could be true or false).\n\n### #speech_event_type\n\n def speech_event_type() -\u003e ::Google::Cloud::MediaTranslation::V1beta1::StreamingTranslateSpeechResponse::SpeechEventType\n\n**Returns**\n\n- ([::Google::Cloud::MediaTranslation::V1beta1::StreamingTranslateSpeechResponse::SpeechEventType](./Google-Cloud-MediaTranslation-V1beta1-StreamingTranslateSpeechResponse-SpeechEventType)) --- Output only. Indicates the type of speech event."]]