pub struct GoogleCloudDialogflowV2beta1AnalyzeContentResponse {
pub automated_agent_reply: Option<GoogleCloudDialogflowV2beta1AutomatedAgentReply>,
pub dtmf_parameters: Option<GoogleCloudDialogflowV2beta1DtmfParameters>,
pub end_user_suggestion_results: Option<Vec<GoogleCloudDialogflowV2beta1SuggestionResult>>,
pub human_agent_suggestion_results: Option<Vec<GoogleCloudDialogflowV2beta1SuggestionResult>>,
pub message: Option<GoogleCloudDialogflowV2beta1Message>,
pub reply_audio: Option<GoogleCloudDialogflowV2beta1OutputAudio>,
pub reply_text: Option<String>,
}
Expand description
The response message for Participants.AnalyzeContent.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§automated_agent_reply: Option<GoogleCloudDialogflowV2beta1AutomatedAgentReply>
Optional. Only set if a Dialogflow automated agent has responded. Note that: AutomatedAgentReply.detect_intent_response.output_audio and AutomatedAgentReply.detect_intent_response.output_audio_config are always empty, use reply_audio instead.
dtmf_parameters: Option<GoogleCloudDialogflowV2beta1DtmfParameters>
Indicates the parameters of DTMF.
end_user_suggestion_results: Option<Vec<GoogleCloudDialogflowV2beta1SuggestionResult>>
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.
human_agent_suggestion_results: Option<Vec<GoogleCloudDialogflowV2beta1SuggestionResult>>
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.
message: Option<GoogleCloudDialogflowV2beta1Message>
Output only. Message analyzed by CCAI.
reply_audio: Option<GoogleCloudDialogflowV2beta1OutputAudio>
Optional. 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.
reply_text: Option<String>
Output only. The output text content. This field is set if the automated agent responded with text to show to the user.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1AnalyzeContentResponse
impl Clone for GoogleCloudDialogflowV2beta1AnalyzeContentResponse
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1AnalyzeContentResponse
fn clone(&self) -> GoogleCloudDialogflowV2beta1AnalyzeContentResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more