Class: Google::Cloud::Translate::V3::AdaptiveMtTranslateResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::AdaptiveMtTranslateResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/adaptive_mt.rb
Overview
An AdaptiveMtTranslate response.
Instance Attribute Summary collapse
-
#glossary_translations ⇒ ::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslation>
Text translation response if a glossary is provided in the request.
-
#language_code ⇒ ::String
readonly
Output only.
-
#translations ⇒ ::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslation>
readonly
Output only.
Instance Attribute Details
#glossary_translations ⇒ ::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslation>
Returns Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.
236 237 238 239 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 236 class AdaptiveMtTranslateResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#language_code ⇒ ::String (readonly)
Returns Output only. The translation's language code.
236 237 238 239 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 236 class AdaptiveMtTranslateResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#translations ⇒ ::Array<::Google::Cloud::Translate::V3::AdaptiveMtTranslation> (readonly)
Returns Output only. The translation.
236 237 238 239 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 236 class AdaptiveMtTranslateResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |