Class: Google::Cloud::Dialogflow::V2::DetectIntentRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::Dialogflow::V2::DetectIntentRequest
 
 
- Defined in:
 - lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb
 
Overview
The request to detect user's intent.
Instance Attribute Summary collapse
- 
  
    
      #input_audio  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #query_input  ⇒ Google::Cloud::Dialogflow::V2::QueryInput 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #query_params  ⇒ Google::Cloud::Dialogflow::V2::QueryParameters 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #session  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Attribute Details
#input_audio ⇒ String
Returns Optional. The natural language speech audio to be processed. This field should be populated iff +query_input+ is set to an input audio config. A single request can contain up to 1 minute of speech audio data.
      45  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 45 class DetectIntentRequest; end  | 
  
#query_input ⇒ Google::Cloud::Dialogflow::V2::QueryInput
Returns Required. The input specification. It can be set to:
an audio config which instructs the speech recognizer how to process the speech audio,
a conversational query in the form of text, or
an event that specifies which intent to trigger.
      45  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 45 class DetectIntentRequest; end  | 
  
#query_params ⇒ Google::Cloud::Dialogflow::V2::QueryParameters
Returns Optional. The parameters of this query.
      45  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 45 class DetectIntentRequest; end  | 
  
#session ⇒ String
Returns Required. The name of the session this query is sent to. Format:
+projects/
      45  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 45 class DetectIntentRequest; end  |