Reference documentation and code samples for the Media Translation V1beta1 API class Google::Cloud::MediaTranslation::V1beta1::StreamingTranslateSpeechResult::TextTranslationResult.
Text translation result.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#is_final
def is_final() -> ::Boolean
Returns
-
(::Boolean) — Output only. If
false, thisStreamingTranslateSpeechResultrepresents an interim result that may change. Iftrue, this is the final time the translation service will return this particularStreamingTranslateSpeechResult, the streaming translator will not return any further hypotheses for this portion of the transcript and corresponding audio.
#translation
def translation() -> ::String
Returns
- (::String) — Output only. The translated sentence.