Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedFindDocumentSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedFindDocumentSuggestion
- 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 a FindDocument suggestion type.
Instance Attribute Summary collapse
-
#document_suggestions ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedDocument>
List of documents to render as suggestions.
-
#show_action_buttons ⇒ Boolean
(also: #show_action_buttons?)
Whether to show the action buttons in the card for the suggestions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedFindDocumentSuggestion
constructor
A new instance of AppsDynamiteSharedFindDocumentSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedFindDocumentSuggestion
Returns a new instance of AppsDynamiteSharedFindDocumentSuggestion.
1761 1762 1763 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_suggestions ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedDocument>
List of documents to render as suggestions.
Corresponds to the JSON property documentSuggestions
1753 1754 1755 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1753 def document_suggestions @document_suggestions end |
#show_action_buttons ⇒ Boolean Also known as:
Whether to show the action buttons in the card for the suggestions.
Corresponds to the JSON property showActionButtons
1758 1759 1760 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1758 def @show_action_buttons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1766 1767 1768 1769 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1766 def update!(**args) @document_suggestions = args[:document_suggestions] if args.key?(:document_suggestions) @show_action_buttons = args[:show_action_buttons] if args.key?(:show_action_buttons) end |