Class: Google::Cloud::Dialogflow::CX::V3::QueryInput
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::QueryInput
- 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:
A conversational query in the form of text.
An intent query that specifies which intent to trigger.
Natural language speech audio to be processed.
An event to be triggered.
DTMF digits to invoke an intent and fill in parameter value.
The results of a tool executed by the client.
Instance Attribute Summary collapse
-
#audio ⇒ ::Google::Cloud::Dialogflow::CX::V3::AudioInput
The natural language speech audio to be processed.
-
#dtmf ⇒ ::Google::Cloud::Dialogflow::CX::V3::DtmfInput
The DTMF event to be handled.
-
#event ⇒ ::Google::Cloud::Dialogflow::CX::V3::EventInput
The event to be triggered.
-
#intent ⇒ ::Google::Cloud::Dialogflow::CX::V3::IntentInput
The intent to be triggered.
-
#language_code ⇒ ::String
Required.
-
#text ⇒ ::Google::Cloud::Dialogflow::CX::V3::TextInput
The natural language text to be processed.
Instance Attribute Details
#audio ⇒ ::Google::Cloud::Dialogflow::CX::V3::AudioInput
Returns The natural language speech audio to be processed.
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.
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.
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.
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.
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.
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 |