FeedbackResponse

  • User feedback on message quality triggers a response.

  • Feedback includes the message identifier, a user rating, and the time of creation.

  • The message field uses a specific format to identify the conversation and message.

  • The rating field is an enumerated type representing the user's feedback.

  • The createTime field is a timestamp indicating when the feedback was provided.

A response initiated when a user provides feedback for a message quality.

JSON representation
{
  "message": string,
  "rating": enum (FeedbackRating),
  "createTime": string
}
Fields
message

string

The message for which the feedback is provided for. Resolves to "conversations/{conversationId}/messages/{messageId}", where {conversationId} is the unique ID for the conversation and {messageId} is the unique ID for the message.

rating

enum (FeedbackRating)

A rating from the user.

createTime

string (Timestamp format)

The time that the user tapped the feedback button.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".