public sealed class AnswerFeedback : IMessage<AnswerFeedback>, IEquatable<AnswerFeedback>, IDeepCloneable<AnswerFeedback>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class AnswerFeedback.
Stores information about feedback provided by users about a response.
Implements
IMessageAnswerFeedback, IEquatableAnswerFeedback, IDeepCloneableAnswerFeedback, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
AnswerFeedback()
public AnswerFeedback()
AnswerFeedback(AnswerFeedback)
public AnswerFeedback(AnswerFeedback other)
Parameter | |
---|---|
Name | Description |
other | AnswerFeedback |
Properties
CustomRating
public string CustomRating { get; set; }
Optional. Custom rating from the user about the provided answer, with maximum length of 1024 characters. For example, client could use a customized JSON object to indicate the rating.
Property Value | |
---|---|
Type | Description |
string |
Rating
public AnswerFeedback.Types.Rating Rating { get; set; }
Optional. Rating from user for the specific Dialogflow response.
Property Value | |
---|---|
Type | Description |
AnswerFeedbackTypesRating |
RatingReason
public AnswerFeedback.Types.RatingReason RatingReason { get; set; }
Optional. In case of thumbs down rating provided, users can optionally provide context about the rating.
Property Value | |
---|---|
Type | Description |
AnswerFeedbackTypesRatingReason |