Class: Google::Cloud::Dialogflow::V2::StreamingDetectIntentResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::Dialogflow::V2::StreamingDetectIntentResponse
 
 
- Defined in:
 - lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb
 
Overview
The top-level message returned from the +StreamingDetectIntent+ method.
Multiple response messages can be returned in order:
If the input was set to streaming audio, the first one or more messages contain +recognition_result+. Each +recognition_result+ represents a more complete transcript of what the user said. The last +recognition_result+ has +is_final+ set to +true+.
The next message contains +response_id+, +query_result+ and optionally +webhook_status+ if a WebHook was called.
Instance Attribute Summary collapse
- 
  
    
      #query_result  ⇒ Google::Cloud::Dialogflow::V2::QueryResult 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The result of the conversational query or event processing.
 - 
  
    
      #recognition_result  ⇒ Google::Cloud::Dialogflow::V2::StreamingRecognitionResult 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The result of speech recognition.
 - 
  
    
      #response_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The unique identifier of the response.
 - 
  
    
      #webhook_status  ⇒ Google::Rpc::Status 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Specifies the status of the webhook request.
 
Instance Attribute Details
#query_result ⇒ Google::Cloud::Dialogflow::V2::QueryResult
Returns The result of the conversational query or event processing.
      257  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 257 class StreamingDetectIntentResponse; end  | 
  
#recognition_result ⇒ Google::Cloud::Dialogflow::V2::StreamingRecognitionResult
Returns The result of speech recognition.
      257  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 257 class StreamingDetectIntentResponse; end  | 
  
#response_id ⇒ String
Returns The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
      257  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 257 class StreamingDetectIntentResponse; end  | 
  
#webhook_status ⇒ Google::Rpc::Status
Returns Specifies the status of the webhook request.
      257  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 257 class StreamingDetectIntentResponse; end  |