Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::QueryInput (v1.2.0)

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:

  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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audio

def audio() -> ::Google::Cloud::Dialogflow::CX::V3::AudioInput
Returns

#audio=

def audio=(value) -> ::Google::Cloud::Dialogflow::CX::V3::AudioInput
Parameter
Returns

#dtmf

def dtmf() -> ::Google::Cloud::Dialogflow::CX::V3::DtmfInput
Returns

#dtmf=

def dtmf=(value) -> ::Google::Cloud::Dialogflow::CX::V3::DtmfInput
Parameter
Returns

#event

def event() -> ::Google::Cloud::Dialogflow::CX::V3::EventInput
Returns

#event=

def event=(value) -> ::Google::Cloud::Dialogflow::CX::V3::EventInput
Parameter
Returns

#intent

def intent() -> ::Google::Cloud::Dialogflow::CX::V3::IntentInput
Returns

#intent=

def intent=(value) -> ::Google::Cloud::Dialogflow::CX::V3::IntentInput
Parameter
Returns

#language_code

def language_code() -> ::String
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.

#language_code=

def language_code=(value) -> ::String
Parameter
  • 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.
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.

#text

def text() -> ::Google::Cloud::Dialogflow::CX::V3::TextInput
Returns

#text=

def text=(value) -> ::Google::Cloud::Dialogflow::CX::V3::TextInput
Parameter
Returns