Class: Google::Cloud::Dialogflow::V2::QueryInput

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

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#audio_config::Google::Cloud::Dialogflow::V2::InputAudioConfig

Returns Instructs the speech recognizer how to process the speech audio.

Returns:



198
199
200
201
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 198

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

#event::Google::Cloud::Dialogflow::V2::EventInput

Returns The event to be processed.

Returns:



198
199
200
201
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 198

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

#text::Google::Cloud::Dialogflow::V2::TextInput

Returns The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions.

Returns:



198
199
200
201
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 198

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