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.
782 783 784 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 782 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
775 776 777 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 775 def feedback_chips @feedback_chips end |
#thumbs_feedback ⇒ String
Whether the thumbs feedback is provided
Corresponds to the JSON property thumbsFeedback
780 781 782 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 780 def thumbs_feedback @thumbs_feedback end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
787 788 789 790 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 787 def update!(**args) @feedback_chips = args[:feedback_chips] if args.key?(:feedback_chips) @thumbs_feedback = args[:thumbs_feedback] if args.key?(:thumbs_feedback) end |