Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContext
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContext
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Data needed to render feedback on the Assistant card
Instance Attribute Summary collapse
-
#feedback_chips ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContextFeedbackChip>
Specifies a list of feedback chips to show Corresponds to the JSON property
feedbackChips. -
#thumbs_feedback ⇒ String
Whether the thumbs feedback is provided Corresponds to the JSON property
thumbsFeedback.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedAssistantFeedbackContext
constructor
A new instance of AppsDynamiteSharedAssistantFeedbackContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedAssistantFeedbackContext
Returns a new instance of AppsDynamiteSharedAssistantFeedbackContext.
736 737 738 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feedback_chips ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContextFeedbackChip>
Specifies a list of feedback chips to show
Corresponds to the JSON property feedbackChips
729 730 731 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 729 def feedback_chips @feedback_chips end |
#thumbs_feedback ⇒ String
Whether the thumbs feedback is provided
Corresponds to the JSON property thumbsFeedback
734 735 736 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 734 def thumbs_feedback @thumbs_feedback end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
741 742 743 744 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 741 def update!(**args) @feedback_chips = args[:feedback_chips] if args.key?(:feedback_chips) @thumbs_feedback = args[:thumbs_feedback] if args.key?(:thumbs_feedback) end |