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

pub struct AnswerRecord {
    pub name: String,
    pub answer_feedback: Option<AnswerFeedback>,
    pub record: Option<Record>,
}

Answer records are records to manage answer history and feedbacks for Dialogflow.

Currently, answer record includes:

It doesn’t include:

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][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are returned to the customers.
  2. The customer uses the [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to call the [UpdateAnswerRecord][] method to send feedback about a specific answer that they believe is wrong.

Fields

name: String

The unique identifier of this answer record. Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method. Format: projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>.

answer_feedback: Option<AnswerFeedback>

Optional. The AnswerFeedback for this record. You can set this with [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about this answer.

record: Option<Record>

Output only. The record for this answer.

Trait Implementations

impl Clone for AnswerRecord[src]

impl Debug for AnswerRecord[src]

impl Default for AnswerRecord[src]

impl Message for AnswerRecord[src]

impl PartialEq<AnswerRecord> for AnswerRecord[src]

impl StructuralPartialEq for AnswerRecord[src]

Auto Trait Implementations

impl RefUnwindSafe for AnswerRecord

impl Send for AnswerRecord

impl Sync for AnswerRecord

impl Unpin for AnswerRecord

impl UnwindSafe for AnswerRecord

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]