Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback
- 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
-
#custom_rating ⇒ String
Corresponds to the JSON property
customRating. -
#rating ⇒ String
Corresponds to the JSON property
rating. -
#rating_reason ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
Corresponds to the JSON property
ratingReason.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AnswerFeedback
constructor
A new instance of GoogleCloudDialogflowCxV3AnswerFeedback.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AnswerFeedback
Returns a new instance of GoogleCloudDialogflowCxV3AnswerFeedback.
610 611 612 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 610 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_rating ⇒ String
Corresponds to the JSON property customRating
598 599 600 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 598 def @custom_rating end |
#rating ⇒ String
Corresponds to the JSON property rating
603 604 605 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 603 def @rating end |
#rating_reason ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
Corresponds to the JSON property ratingReason
608 609 610 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 608 def @rating_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
615 616 617 618 619 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 615 def update!(**args) @custom_rating = args[:custom_rating] if args.key?(:custom_rating) @rating = args[:rating] if args.key?(:rating) @rating_reason = args[:rating_reason] if args.key?(:rating_reason) end |