Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#feedback ⇒ String
Corresponds to the JSON property
feedback. -
#reason_labels ⇒ Array<String>
Corresponds to the JSON property
reasonLabels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
constructor
A new instance of GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
Returns a new instance of GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason.
636 637 638 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 636 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feedback ⇒ String
Corresponds to the JSON property feedback
629 630 631 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 629 def feedback @feedback end |
#reason_labels ⇒ Array<String>
Corresponds to the JSON property reasonLabels
634 635 636 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 634 def reason_labels @reason_labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
641 642 643 644 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 641 def update!(**args) @feedback = args[:feedback] if args.key?(:feedback) @reason_labels = args[:reason_labels] if args.key?(:reason_labels) end |