Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContextFeedbackChip

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

Suggestion chips for users to indicate positive or negative feedback

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typeString

What type of chip to display Corresponds to the JSON property feedbackChipType

Returns:

  • (String)


832
833
834
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 832

def feedback_chip_type
  @feedback_chip_type
end

#stateString

Whether the chip has been selected Corresponds to the JSON property state

Returns:

  • (String)


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