Class: Google::Cloud::Translate::V3::TranslateTextResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::TranslateTextResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/translation_service.rb
Instance Attribute Summary collapse
-
#glossary_translations ⇒ ::Array<::Google::Cloud::Translate::V3::Translation>
Text translation responses if a glossary is provided in the request.
-
#translations ⇒ ::Array<::Google::Cloud::Translate::V3::Translation>
Text translation responses with no glossary applied.
Instance Attribute Details
#glossary_translations ⇒ ::Array<::Google::Cloud::Translate::V3::Translation>
Returns Text translation responses if a glossary is provided in the request.
This can be the same as
translations
if no terms apply. This field has the same length as
contents
.
136 137 138 139 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 136 class TranslateTextResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#translations ⇒ ::Array<::Google::Cloud::Translate::V3::Translation>
Returns Text translation responses with no glossary applied.
This field has the same length as
contents
.
136 137 138 139 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 136 class TranslateTextResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |