Class: Google::Cloud::Translate::V3::DetectLanguageResponse

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#languages::Array<::Google::Cloud::Translate::V3::DetectedLanguage>

Returns The most probable language detected by the Translation API. For each request, the Translation API will always return only one result.

Returns:



250
251
252
253
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 250

class DetectLanguageResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end