Class: Google::Apis::CloudsearchV1::AppsDynamiteStorageCardCardAction
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteStorageCardCardAction
- 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
A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser.
Instance Attribute Summary collapse
-
#action_label ⇒ String
The label that displays as the action menu item.
-
#on_click ⇒ Google::Apis::CloudsearchV1::AppsDynamiteStorageOnClick
The onclick action for this action item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteStorageCardCardAction
constructor
A new instance of AppsDynamiteStorageCardCardAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteStorageCardCardAction
Returns a new instance of AppsDynamiteStorageCardCardAction.
2977 2978 2979 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2977 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_label ⇒ String
The label that displays as the action menu item.
Corresponds to the JSON property actionLabel
2970 2971 2972 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2970 def action_label @action_label end |
#on_click ⇒ Google::Apis::CloudsearchV1::AppsDynamiteStorageOnClick
The onclick action for this action item.
Corresponds to the JSON property onClick
2975 2976 2977 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2975 def on_click @on_click end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2982 2983 2984 2985 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2982 def update!(**args) @action_label = args[:action_label] if args.key?(:action_label) @on_click = args[:on_click] if args.key?(:on_click) end |