Struct google_dialogflow2::api::GoogleCloudDialogflowV2AnswerRecord[][src]

pub struct GoogleCloudDialogflowV2AnswerRecord {
    pub agent_assistant_record: Option<GoogleCloudDialogflowV2AgentAssistantRecord>,
    pub answer_feedback: Option<GoogleCloudDialogflowV2AnswerFeedback>,
    pub name: Option<String>,
}

Answer records are records to manage answer history and feedbacks for Dialogflow. Currently, answer record includes: - human agent assistant article suggestion - human agent assistant faq article It doesn't include: - DetectIntent intent matching - DetectIntent knowledge Answer records are not related to the conversation history in the Dialogflow Console. A Record is generated even when the end-user disables conversation history in the console. Records are created when there's a human agent assistant suggestion generated. A typical workflow for customers provide feedback to an answer is: 1. For human agent assistant, customers get suggestion via ListSuggestions API. Together with the answers, AnswerRecord.name are returned to the customers. 2. The customer uses the AnswerRecord.name to call the UpdateAnswerRecord method to send feedback about a specific answer that they believe is wrong.

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

agent_assistant_record: Option<GoogleCloudDialogflowV2AgentAssistantRecord>

Output only. The record for human agent assistant.

answer_feedback: Option<GoogleCloudDialogflowV2AnswerFeedback>

Required. The AnswerFeedback for this record. You can set this with AnswerRecords.UpdateAnswerRecord in order to give us feedback about this answer.

name: Option<String>

The unique identifier of this answer record. Format: projects//locations//answerRecords/.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2AnswerRecord[src]

impl Debug for GoogleCloudDialogflowV2AnswerRecord[src]

impl Default for GoogleCloudDialogflowV2AnswerRecord[src]

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

impl RequestValue for GoogleCloudDialogflowV2AnswerRecord[src]

impl ResponseResult for GoogleCloudDialogflowV2AnswerRecord[src]

impl Serialize for GoogleCloudDialogflowV2AnswerRecord[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2AnswerRecord[src]

impl Send for GoogleCloudDialogflowV2AnswerRecord[src]

impl Sync for GoogleCloudDialogflowV2AnswerRecord[src]

impl Unpin for GoogleCloudDialogflowV2AnswerRecord[src]

impl UnwindSafe for GoogleCloudDialogflowV2AnswerRecord[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.