Class: Google::Cloud::Language::V1::AnalyzeEntitiesResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/language/v1/language_service.rb

Overview

The entity analysis response message.

Instance Attribute Summary collapse

Instance Attribute Details

#entities::Array<::Google::Cloud::Language::V1::Entity>

Returns The recognized entities in the input document.

Returns:



1025
1026
1027
1028
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 1025

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

#language::String

Returns The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.

Returns:

  • (::String)

    The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.



1025
1026
1027
1028
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 1025

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