Class: Google::Cloud::Translate::V3::DetectedLanguage
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::DetectedLanguage
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/translation_service.rb
Overview
The response message for language detection.
Instance Attribute Summary collapse
-
#confidence ⇒ ::Float
The confidence of the detection result for this language.
-
#language_code ⇒ ::String
The ISO-639 language code of the source content in the request, detected automatically.
Instance Attribute Details
#confidence ⇒ ::Float
Returns The confidence of the detection result for this language.
289 290 291 292 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 289 class DetectedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#language_code ⇒ ::String
Returns The ISO-639 language code of the source content in the request, detected automatically.
289 290 291 292 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 289 class DetectedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |