Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContext

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedAssistantFeedbackContext

Returns a new instance of AppsDynamiteSharedAssistantFeedbackContext.



762
763
764
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 762

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#feedback_chipsArray<Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContextFeedbackChip>

Specifies a list of feedback chips to show Corresponds to the JSON property feedbackChips



755
756
757
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 755

def feedback_chips
  @feedback_chips
end

#thumbs_feedbackString

Whether the thumbs feedback is provided Corresponds to the JSON property thumbsFeedback

Returns:

  • (String)


760
761
762
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 760

def thumbs_feedback
  @thumbs_feedback
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



767
768
769
770
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 767

def update!(**args)
  @feedback_chips = args[:feedback_chips] if args.key?(:feedback_chips)
  @thumbs_feedback = args[:thumbs_feedback] if args.key?(:thumbs_feedback)
end