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.
1300 1301 1302 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1300 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
1293 1294 1295 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1293 def action_id @action_id end |
#suggestion_message_id ⇒ Google::Apis::CloudsearchV1::MessageId
Primary key for Message resource.
Corresponds to the JSON property suggestionMessageId
1298 1299 1300 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1298 def @suggestion_message_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1305 1306 1307 1308 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1305 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 |