Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedActionActionParameter
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedActionActionParameter
- 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
List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze 1 day, snooze next week. You might use action method = snooze(), passing the snooze type and snooze time in the list of string parameters.
Instance Attribute Summary collapse
-
#key ⇒ String
The name of the parameter for the action script.
-
#value ⇒ String
The value of the parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedActionActionParameter
constructor
A new instance of AppsDynamiteSharedActionActionParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedActionActionParameter
Returns a new instance of AppsDynamiteSharedActionActionParameter.
580 581 582 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 580 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
The name of the parameter for the action script.
Corresponds to the JSON property key
573 574 575 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 573 def key @key end |
#value ⇒ String
The value of the parameter.
Corresponds to the JSON property value
578 579 580 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 578 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
585 586 587 588 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 585 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |