Class: Google::Cloud::Dialogflow::V2::TextInput

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/session.rb

Overview

Represents the natural language text to be processed.

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

Returns Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.

Returns:

  • (String)

    Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.



484
485
486
487
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 484

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

#textString

Returns Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.

Returns:

  • (String)

    Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.



484
485
486
487
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 484

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