View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason (google_api_dialogflow v0.88.3)

Stores extra information about why users provided thumbs down rating.

Attributes

  • feedback (type: String.t, default: nil) - Optional. Additional feedback about the rating. This field can be populated without choosing a predefined reason.
  • reasonLabels (type: list(String.t), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason{
    feedback: String.t() | nil,
    reasonLabels: [String.t()] | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.