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.
814 815 816 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 814 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
807 808 809 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 807 def feedback_chips @feedback_chips end |
#thumbs_feedback ⇒ String
Whether the thumbs feedback is provided
Corresponds to the JSON property thumbsFeedback
812 813 814 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 812 def thumbs_feedback @thumbs_feedback end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
819 820 821 822 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 819 def update!(**args) @feedback_chips = args[:feedback_chips] if args.key?(:feedback_chips) @thumbs_feedback = args[:thumbs_feedback] if args.key?(:thumbs_feedback) end |