Class: Google::Cloud::Dialogflow::CX::V3::FulfillIntentResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::FulfillIntentResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/session.rb
Overview
Response of [FulfillIntent][]
Instance Attribute Summary collapse
-
#output_audio ⇒ ::String
The audio data bytes encoded as specified in the request.
-
#output_audio_config ⇒ ::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig
The config used by the speech synthesizer to generate the output audio.
-
#query_result ⇒ ::Google::Cloud::Dialogflow::CX::V3::QueryResult
The result of the conversational query.
-
#response_id ⇒ ::String
Output only.
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.response_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.
In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
1245 1246 1247 1248 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1245 class FulfillIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#output_audio_config ⇒ ::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig
Returns The config used by the speech synthesizer to generate the output audio.
1245 1246 1247 1248 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1245 class FulfillIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#query_result ⇒ ::Google::Cloud::Dialogflow::CX::V3::QueryResult
Returns The result of the conversational query.
1245 1246 1247 1248 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1245 class FulfillIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#response_id ⇒ ::String
Returns Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
1245 1246 1247 1248 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1245 class FulfillIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |