Class: Google::Cloud::Dialogflow::V2::DetectIntentResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::DetectIntentResponse
- Defined in:
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb
Overview
The message returned from the DetectIntent method.
Instance Attribute Summary collapse
-
#output_audio ⇒ String
The audio data bytes encoded as specified in the request.
-
#output_audio_config ⇒ Google::Cloud::Dialogflow::V2::OutputAudioConfig
The config used by the speech synthesizer to generate the output audio.
-
#query_result ⇒ Google::Cloud::Dialogflow::V2::QueryResult
The selected results of the conversational query or event processing.
-
#response_id ⇒ String
The unique identifier of the response.
-
#webhook_status ⇒ Google::Rpc::Status
Specifies the status of the webhook request.
Instance Attribute Details
#output_audio ⇒ String
Returns The audio data bytes encoded as specified in the request.
Note: The output audio is generated based on the values of default platform
text responses found in the query_result.fulfillment_messages
field. If
multiple default text responses exist, they will be concatenated when
generating audio. If no default platform text responses exist, the
generated audio content will be empty.
76 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 76 class DetectIntentResponse; end |
#output_audio_config ⇒ Google::Cloud::Dialogflow::V2::OutputAudioConfig
Returns The config used by the speech synthesizer to generate the output audio.
76 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 76 class DetectIntentResponse; end |
#query_result ⇒ Google::Cloud::Dialogflow::V2::QueryResult
Returns The selected results of the conversational query or event processing.
See alternative_query_results
for additional potential results.
76 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 76 class DetectIntentResponse; 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.
76 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 76 class DetectIntentResponse; end |
#webhook_status ⇒ Google::Rpc::Status
Returns Specifies the status of the webhook request.
76 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 76 class DetectIntentResponse; end |