Class: Google::Cloud::Dialogflow::CX::V3::QueryInput

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

Overview

Represents the query input. It can contain one of:

  1. A conversational query in the form of text.

  2. An intent query that specifies which intent to trigger.

  3. Natural language speech audio to be processed.

  4. An event to be triggered.

  5. DTMF digits to invoke an intent and fill in parameter value.

  6. The results of a tool executed by the client.

Instance Attribute Summary collapse

Instance Attribute Details

#audio::Google::Cloud::Dialogflow::CX::V3::AudioInput

Returns The natural language speech audio to be processed.

Returns:



840
841
842
843
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 840

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

#dtmf::Google::Cloud::Dialogflow::CX::V3::DtmfInput

Returns The DTMF event to be handled.

Returns:



840
841
842
843
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 840

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

#event::Google::Cloud::Dialogflow::CX::V3::EventInput

Returns The event to be triggered.

Returns:



840
841
842
843
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 840

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

#intent::Google::Cloud::Dialogflow::CX::V3::IntentInput

Returns The intent to be triggered.

Returns:



840
841
842
843
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 840

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

#language_code::String

Returns Required. The language of the input. 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 the input. 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.



840
841
842
843
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 840

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

#text::Google::Cloud::Dialogflow::CX::V3::TextInput

Returns The natural language text to be processed.

Returns:



840
841
842
843
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 840

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