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

Auxiliary proto messages.

Represents the natural language text to be processed.

Instance Attribute Summary collapse

Instance Attribute Details

#language_code::String

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.



657
658
659
660
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 657

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

#text::String

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

Returns:

  • (::String)

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



657
658
659
660
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 657

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