Class: Google::Cloud::Translate::V3::Romanization
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::Romanization
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/translation_service.rb
Overview
A single romanization response.
Instance Attribute Summary collapse
-
#detected_language_code ⇒ ::String
The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request.
-
#romanized_text ⇒ ::String
Romanized text.
Instance Attribute Details
#detected_language_code ⇒ ::String
Returns The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.
208 209 210 211 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 208 class Romanization include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#romanized_text ⇒ ::String
Returns Romanized text. If an error occurs during romanization, this field might be excluded from the response.
208 209 210 211 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 208 class Romanization include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |