Class: Google::Cloud::Translate::V3::RomanizeTextRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::RomanizeTextRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/translation_service.rb
Overview
The request message for synchronous romanization.
Instance Attribute Summary collapse
-
#contents ⇒ ::Array<::String>
Required.
-
#parent ⇒ ::String
Required.
-
#source_language_code ⇒ ::String
Optional.
Instance Attribute Details
#contents ⇒ ::Array<::String>
Returns Required. The content of the input in string format.
196 197 198 199 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 196 class RomanizeTextRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. Project or location to make a call. Must refer to a caller's project.
Format: projects/{project-number-or-id}/locations/{location-id} or
projects/{project-number-or-id}.
For global calls, use projects/{project-number-or-id}/locations/global or
projects/{project-number-or-id}.
196 197 198 199 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 196 class RomanizeTextRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#source_language_code ⇒ ::String
Returns Optional. The ISO-639 language code of the input text if known, for example, "hi" or "zh". Supported language codes are listed in Language Support. If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language for each content in the response.
196 197 198 199 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 196 class RomanizeTextRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |