Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class AnswerFeedback.
Stores information about feedback provided by users about a response.
Generated from protobuf message google.cloud.dialogflow.cx.v3.AnswerFeedback
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ rating
int
Optional. Rating from user for the specific Dialogflow response.
↳ rating_reason
AnswerFeedback\RatingReason
Optional. In case of thumbs down rating provided, users can optionally provide context about the rating.
↳ custom_rating
string
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.
getRating
Optional. Rating from user for the specific Dialogflow response.
int
setRating
Optional. Rating from user for the specific Dialogflow response.
var
int
$this
getRatingReason
Optional. In case of thumbs down rating provided, users can optionally provide context about the rating.
hasRatingReason
clearRatingReason
setRatingReason
Optional. In case of thumbs down rating provided, users can optionally provide context about the rating.
$this
getCustomRating
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.
string
setCustomRating
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.
var
string
$this