Struct google_dialogflow2::api::GoogleCloudDialogflowV2AnalyzeContentResponse[][src]

pub struct GoogleCloudDialogflowV2AnalyzeContentResponse {
    pub automated_agent_reply: Option<GoogleCloudDialogflowV2AutomatedAgentReply>,
    pub dtmf_parameters: Option<GoogleCloudDialogflowV2DtmfParameters>,
    pub end_user_suggestion_results: Option<Vec<GoogleCloudDialogflowV2SuggestionResult>>,
    pub human_agent_suggestion_results: Option<Vec<GoogleCloudDialogflowV2SuggestionResult>>,
    pub message: Option<GoogleCloudDialogflowV2Message>,
    pub reply_audio: Option<GoogleCloudDialogflowV2OutputAudio>,
    pub reply_text: Option<String>,
}

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<GoogleCloudDialogflowV2AutomatedAgentReply>

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<GoogleCloudDialogflowV2DtmfParameters>

Indicates the parameters of DTMF.

end_user_suggestion_results: Option<Vec<GoogleCloudDialogflowV2SuggestionResult>>

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

human_agent_suggestion_results: Option<Vec<GoogleCloudDialogflowV2SuggestionResult>>

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

message: Option<GoogleCloudDialogflowV2Message>

Message analyzed by CCAI.

reply_audio: Option<GoogleCloudDialogflowV2OutputAudio>

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>

The output text content. This field is set if the automated agent responded with text to show to the user.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

impl Debug for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

impl Default for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

impl ResponseResult for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

impl Serialize for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

impl Send for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

impl Sync for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

impl Unpin for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

impl UnwindSafe for GoogleCloudDialogflowV2AnalyzeContentResponse[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.