Class: Google::Cloud::MediaTranslation::V1beta1::StreamingTranslateSpeechResult::TextTranslationResult
- Inherits:
-
Object
- Object
- Google::Cloud::MediaTranslation::V1beta1::StreamingTranslateSpeechResult::TextTranslationResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/mediatranslation/v1beta1/media_translation.rb
Overview
Text translation result.
Instance Attribute Summary collapse
-
#is_final ⇒ ::Boolean
readonly
Output only.
-
#translation ⇒ ::String
readonly
Output only.
Instance Attribute Details
#is_final ⇒ ::Boolean (readonly)
Output only. If false
, this StreamingTranslateSpeechResult
represents
an interim result that may change. If true
, this is the final time the
translation service will return this particular
StreamingTranslateSpeechResult
, the streaming translator will not
return any further hypotheses for this portion of the transcript and
corresponding audio.
157 158 159 160 |
# File 'proto_docs/google/cloud/mediatranslation/v1beta1/media_translation.rb', line 157 class TextTranslationResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#translation ⇒ ::String (readonly)
Returns Output only. The translated sentence.
157 158 159 160 |
# File 'proto_docs/google/cloud/mediatranslation/v1beta1/media_translation.rb', line 157 class TextTranslationResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |