Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedOriginAppSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedOriginAppSuggestion
- 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
Stores the suggestion provided by apps/bots.
Instance Attribute Summary collapse
-
#app_id ⇒ Google::Apis::CloudsearchV1::AppId
Identifier of an App.
-
#card_click_suggestion ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedCardClickSuggestion
Card click which identifies one suggestion provided by the app/bot.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedOriginAppSuggestion
constructor
A new instance of AppsDynamiteSharedOriginAppSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedOriginAppSuggestion
Returns a new instance of AppsDynamiteSharedOriginAppSuggestion.
1914 1915 1916 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1914 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ Google::Apis::CloudsearchV1::AppId
Identifier of an App.
Corresponds to the JSON property appId
1907 1908 1909 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1907 def app_id @app_id end |
#card_click_suggestion ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedCardClickSuggestion
Card click which identifies one suggestion provided by the app/bot.
Corresponds to the JSON property cardClickSuggestion
1912 1913 1914 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1912 def card_click_suggestion @card_click_suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1919 1920 1921 1922 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1919 def update!(**args) @app_id = args[:app_id] if args.key?(:app_id) @card_click_suggestion = args[:card_click_suggestion] if args.key?(:card_click_suggestion) end |