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.
2111 2112 2113 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2111 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
2104 2105 2106 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2104 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
2109 2110 2111 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2109 def card_click_suggestion @card_click_suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2116 2117 2118 2119 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2116 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 |