Struct gapi_grpc::google::cloud::dialogflow::v2beta1::AnalyzeContentResponse[][src]

pub struct AnalyzeContentResponse {
    pub reply_text: String,
    pub reply_audio: Option<OutputAudio>,
    pub automated_agent_reply: Option<AutomatedAgentReply>,
    pub message: Option<Message>,
    pub human_agent_suggestion_results: Vec<SuggestionResult>,
    pub end_user_suggestion_results: Vec<SuggestionResult>,
    pub dtmf_parameters: Option<DtmfParameters>,
}

The response message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].

Fields

reply_text: String

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

reply_audio: Option<OutputAudio>

Optional. The audio data bytes encoded as specified in the request. This field is set if:

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.

automated_agent_reply: Option<AutomatedAgentReply>

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][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead.

message: Option<Message>

Output only. Message analyzed by CCAI.

human_agent_suggestion_results: Vec<SuggestionResult>

The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].

end_user_suggestion_results: Vec<SuggestionResult>

The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].

dtmf_parameters: Option<DtmfParameters>

Indicates the parameters of DTMF.

Trait Implementations

impl Clone for AnalyzeContentResponse[src]

impl Debug for AnalyzeContentResponse[src]

impl Default for AnalyzeContentResponse[src]

impl Message for AnalyzeContentResponse[src]

impl PartialEq<AnalyzeContentResponse> for AnalyzeContentResponse[src]

impl StructuralPartialEq for AnalyzeContentResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for AnalyzeContentResponse

impl Send for AnalyzeContentResponse

impl Sync for AnalyzeContentResponse

impl Unpin for AnalyzeContentResponse

impl UnwindSafe for AnalyzeContentResponse

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]