pub struct GoogleCloudDialogflowV2AnswerRecord {
pub agent_assistant_record: Option<GoogleCloudDialogflowV2AgentAssistantRecord>,
pub answer_feedback: Option<GoogleCloudDialogflowV2AnswerFeedback>,
pub name: Option<String>,
}Expand description
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).
- answer records patch projects (request|response)
- locations answer records patch projects (request|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§
Source§impl Clone for GoogleCloudDialogflowV2AnswerRecord
impl Clone for GoogleCloudDialogflowV2AnswerRecord
Source§fn clone(&self) -> GoogleCloudDialogflowV2AnswerRecord
fn clone(&self) -> GoogleCloudDialogflowV2AnswerRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudDialogflowV2AnswerRecord
impl Default for GoogleCloudDialogflowV2AnswerRecord
Source§fn default() -> GoogleCloudDialogflowV2AnswerRecord
fn default() -> GoogleCloudDialogflowV2AnswerRecord
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2AnswerRecord
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2AnswerRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudDialogflowV2AnswerRecord
impl ResponseResult for GoogleCloudDialogflowV2AnswerRecord
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2AnswerRecord
impl RefUnwindSafe for GoogleCloudDialogflowV2AnswerRecord
impl Send for GoogleCloudDialogflowV2AnswerRecord
impl Sync for GoogleCloudDialogflowV2AnswerRecord
impl Unpin for GoogleCloudDialogflowV2AnswerRecord
impl UnwindSafe for GoogleCloudDialogflowV2AnswerRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more