Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedCardClickSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedCardClickSuggestion
- 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
Card click which identifies one suggestion provided by the app/bot.
Instance Attribute Summary collapse
-
#action_id ⇒ String
Identify the button/action that created the suggestion.
-
#suggestion_message_id ⇒ Google::Apis::CloudsearchV1::MessageId
Primary key for Message resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedCardClickSuggestion
constructor
A new instance of AppsDynamiteSharedCardClickSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedCardClickSuggestion
Returns a new instance of AppsDynamiteSharedCardClickSuggestion.
1244 1245 1246 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_id ⇒ String
Identify the button/action that created the suggestion. A simple example would
be a card button within the stream, or the id which can identify a specific
suggestion.
Corresponds to the JSON property actionId
1237 1238 1239 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1237 def action_id @action_id end |
#suggestion_message_id ⇒ Google::Apis::CloudsearchV1::MessageId
Primary key for Message resource.
Corresponds to the JSON property suggestionMessageId
1242 1243 1244 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1242 def @suggestion_message_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1249 1250 1251 1252 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1249 def update!(**args) @action_id = args[:action_id] if args.key?(:action_id) @suggestion_message_id = args[:suggestion_message_id] if args.key?(:suggestion_message_id) end |