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.
2053 2054 2055 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2053 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
2046 2047 2048 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2046 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
2051 2052 2053 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2051 def card_click_suggestion @card_click_suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2058 2059 2060 2061 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2058 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 |