Class: Google::Cloud::Dialogflow::V2::AnalyzeContentResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::AnalyzeContentResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/participant.rb
Overview
The response message for Participants.AnalyzeContent.
Instance Attribute Summary collapse
-
#automated_agent_reply ⇒ ::Google::Cloud::Dialogflow::V2::AutomatedAgentReply
Only set if a Dialogflow automated agent has responded.
-
#dtmf_parameters ⇒ ::Google::Cloud::Dialogflow::V2::DtmfParameters
Indicates the parameters of DTMF.
-
#end_user_suggestion_results ⇒ ::Array<::Google::Cloud::Dialogflow::V2::SuggestionResult>
The suggestions for end user.
-
#human_agent_suggestion_results ⇒ ::Array<::Google::Cloud::Dialogflow::V2::SuggestionResult>
The suggestions for most recent human agent.
-
#message ⇒ ::Google::Cloud::Dialogflow::V2::Message
Message analyzed by CCAI.
-
#reply_audio ⇒ ::Google::Cloud::Dialogflow::V2::OutputAudio
The audio data bytes encoded as specified in the request.
-
#reply_text ⇒ ::String
The output text content.
Instance Attribute Details
#automated_agent_reply ⇒ ::Google::Cloud::Dialogflow::V2::AutomatedAgentReply
Returns Only set if a Dialogflow automated agent has responded. Note that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use reply_audio instead.
347 348 349 350 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 347 class AnalyzeContentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#dtmf_parameters ⇒ ::Google::Cloud::Dialogflow::V2::DtmfParameters
Returns Indicates the parameters of DTMF.
347 348 349 350 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 347 class AnalyzeContentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#end_user_suggestion_results ⇒ ::Array<::Google::Cloud::Dialogflow::V2::SuggestionResult>
Returns The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
347 348 349 350 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 347 class AnalyzeContentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#human_agent_suggestion_results ⇒ ::Array<::Google::Cloud::Dialogflow::V2::SuggestionResult>
Returns The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
347 348 349 350 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 347 class AnalyzeContentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#message ⇒ ::Google::Cloud::Dialogflow::V2::Message
Returns Message analyzed by CCAI.
347 348 349 350 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 347 class AnalyzeContentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#reply_audio ⇒ ::Google::Cloud::Dialogflow::V2::OutputAudio
Returns The audio data bytes encoded as specified in the request. This field is set if:
reply_audio_config
was specified in the request, or- The automated agent responded with audio to play to the user. In such
case,
reply_audio.config
contains settings used to synthesize the speech.
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.
347 348 349 350 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 347 class AnalyzeContentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#reply_text ⇒ ::String
Returns The output text content. This field is set if the automated agent responded with text to show to the user.
347 348 349 350 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 347 class AnalyzeContentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |