Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class RatingReason.
Stores extra information about why users provided thumbs down rating.
Generated from protobuf message google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingReason
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ AnswerFeedbackMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ reason_labels
array
Optional. Custom reason labels for thumbs down rating provided by the user. The maximum number of labels allowed is 10 and the maximum length of a single label is 128 characters.
↳ feedback
string
Optional. Additional feedback about the rating. This field can be populated without choosing a predefined reason
.
getReasonLabels
Optional. Custom reason labels for thumbs down rating provided by the user. The maximum number of labels allowed is 10 and the maximum length of a single label is 128 characters.
setReasonLabels
Optional. Custom reason labels for thumbs down rating provided by the user. The maximum number of labels allowed is 10 and the maximum length of a single label is 128 characters.
var
string[]
$this
getFeedback
Optional. Additional feedback about the rating.
This field can be populated without choosing a predefined reason
.
string
setFeedback
Optional. Additional feedback about the rating.
This field can be populated without choosing a predefined reason
.
var
string
$this