Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantSuggestion
- 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 for an Assistant suggestion.
Instance Attribute Summary collapse
-
#debug_context ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantDebugContext
Represents info regarding suggestion debug information.
-
#feedback_context ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContext
Data needed to render feedback on the Assistant card Corresponds to the JSON property
feedbackContext
. -
#find_document_suggestion ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedFindDocumentSuggestion
Data for a FindDocument suggestion type.
-
#serialized_suggestions ⇒ String
String representation of the suggestions provided.
-
#session_context ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantSessionContext
Session context specific for Assistant suggestions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedAssistantSuggestion
constructor
A new instance of AppsDynamiteSharedAssistantSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedAssistantSuggestion
Returns a new instance of AppsDynamiteSharedAssistantSuggestion.
900 901 902 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 900 def initialize(**args) update!(**args) end |
Instance Attribute Details
#debug_context ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantDebugContext
Represents info regarding suggestion debug information.
Corresponds to the JSON property debugContext
878 879 880 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 878 def debug_context @debug_context end |
#feedback_context ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantFeedbackContext
Data needed to render feedback on the Assistant card
Corresponds to the JSON property feedbackContext
883 884 885 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 883 def feedback_context @feedback_context end |
#find_document_suggestion ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedFindDocumentSuggestion
Data for a FindDocument suggestion type.
Corresponds to the JSON property findDocumentSuggestion
888 889 890 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 888 def find_document_suggestion @find_document_suggestion end |
#serialized_suggestions ⇒ String
String representation of the suggestions provided.
Corresponds to the JSON property serializedSuggestions
893 894 895 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 893 def serialized_suggestions @serialized_suggestions end |
#session_context ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantSessionContext
Session context specific for Assistant suggestions.
Corresponds to the JSON property sessionContext
898 899 900 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 898 def session_context @session_context end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
905 906 907 908 909 910 911 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 905 def update!(**args) @debug_context = args[:debug_context] if args.key?(:debug_context) @feedback_context = args[:feedback_context] if args.key?(:feedback_context) @find_document_suggestion = args[:find_document_suggestion] if args.key?(:find_document_suggestion) @serialized_suggestions = args[:serialized_suggestions] if args.key?(:serialized_suggestions) @session_context = args[:session_context] if args.key?(:session_context) end |