Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::QueryInput.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audio
def audio() -> ::Google::Cloud::Dialogflow::CX::V3::AudioInput
- (::Google::Cloud::Dialogflow::CX::V3::AudioInput) — The natural language speech audio to be processed.
#audio=
def audio=(value) -> ::Google::Cloud::Dialogflow::CX::V3::AudioInput
- value (::Google::Cloud::Dialogflow::CX::V3::AudioInput) — The natural language speech audio to be processed.
- (::Google::Cloud::Dialogflow::CX::V3::AudioInput) — The natural language speech audio to be processed.
#dtmf
def dtmf() -> ::Google::Cloud::Dialogflow::CX::V3::DtmfInput
- (::Google::Cloud::Dialogflow::CX::V3::DtmfInput) — The DTMF event to be handled.
#dtmf=
def dtmf=(value) -> ::Google::Cloud::Dialogflow::CX::V3::DtmfInput
- value (::Google::Cloud::Dialogflow::CX::V3::DtmfInput) — The DTMF event to be handled.
- (::Google::Cloud::Dialogflow::CX::V3::DtmfInput) — The DTMF event to be handled.
#event
def event() -> ::Google::Cloud::Dialogflow::CX::V3::EventInput
- (::Google::Cloud::Dialogflow::CX::V3::EventInput) — The event to be triggered.
#event=
def event=(value) -> ::Google::Cloud::Dialogflow::CX::V3::EventInput
- value (::Google::Cloud::Dialogflow::CX::V3::EventInput) — The event to be triggered.
- (::Google::Cloud::Dialogflow::CX::V3::EventInput) — The event to be triggered.
#intent
def intent() -> ::Google::Cloud::Dialogflow::CX::V3::IntentInput
- (::Google::Cloud::Dialogflow::CX::V3::IntentInput) — The intent to be triggered.
#intent=
def intent=(value) -> ::Google::Cloud::Dialogflow::CX::V3::IntentInput
- value (::Google::Cloud::Dialogflow::CX::V3::IntentInput) — The intent to be triggered.
- (::Google::Cloud::Dialogflow::CX::V3::IntentInput) — The intent to be triggered.
#language_code
def language_code() -> ::String
- (::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.
#language_code=
def language_code=(value) -> ::String
- value (::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.
- (::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.
#text
def text() -> ::Google::Cloud::Dialogflow::CX::V3::TextInput
- (::Google::Cloud::Dialogflow::CX::V3::TextInput) — The natural language text to be processed.
#text=
def text=(value) -> ::Google::Cloud::Dialogflow::CX::V3::TextInput
- value (::Google::Cloud::Dialogflow::CX::V3::TextInput) — The natural language text to be processed.
- (::Google::Cloud::Dialogflow::CX::V3::TextInput) — The natural language text to be processed.