Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContextFeedbackChip
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContextFeedbackChip
- 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
Suggestion chips for users to indicate positive or negative feedback
Instance Attribute Summary collapse
-
#feedback_chip_type ⇒ String
What type of chip to display Corresponds to the JSON property
feedbackChipType
. -
#state ⇒ String
Whether the chip has been selected Corresponds to the JSON property
state
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedAssistantFeedbackContextFeedbackChip
constructor
A new instance of AppsDynamiteSharedAssistantFeedbackContextFeedbackChip.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedAssistantFeedbackContextFeedbackChip
Returns a new instance of AppsDynamiteSharedAssistantFeedbackContextFeedbackChip.
839 840 841 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feedback_chip_type ⇒ String
What type of chip to display
Corresponds to the JSON property feedbackChipType
832 833 834 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 832 def feedback_chip_type @feedback_chip_type end |
#state ⇒ String
Whether the chip has been selected
Corresponds to the JSON property state
837 838 839 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 837 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
844 845 846 847 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 844 def update!(**args) @feedback_chip_type = args[:feedback_chip_type] if args.key?(:feedback_chip_type) @state = args[:state] if args.key?(:state) end |