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.



814
815
816
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 814

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



807
808
809
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 807

def feedback_chips
  @feedback_chips
end

#thumbs_feedbackString

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

Returns:

  • (String)


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