Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::QueryInput (v1.1.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::QueryInput.

Represents the query input. It can contain either:

  1. An audio config which instructs the speech recognizer how to process the speech audio.

  2. A conversational query in the form of text.

  3. An event that specifies which intent to trigger.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audio_config

def audio_config() -> ::Google::Cloud::Dialogflow::V2::InputAudioConfig
Returns

#audio_config=

def audio_config=(value) -> ::Google::Cloud::Dialogflow::V2::InputAudioConfig
Parameter
Returns

#event

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

#event=

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

#text

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

#text=

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