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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/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.



370
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 370

class TextInput; end

#textString

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

Returns:

  • (String)

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



370
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 370

class TextInput; end