Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAction
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedAction
- 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
An action that describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form.
Instance Attribute Summary collapse
-
#function ⇒ String
Apps Script function to invoke when the containing element is clicked/ activated.
-
#interaction ⇒ String
Corresponds to the JSON property
interaction. -
#load_indicator ⇒ String
Corresponds to the JSON property
loadIndicator. -
#parameters ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedActionActionParameter>
List of action parameters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedAction
constructor
A new instance of AppsDynamiteSharedAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedAction
Returns a new instance of AppsDynamiteSharedAction.
570 571 572 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 570 def initialize(**args) update!(**args) end |
Instance Attribute Details
#function ⇒ String
Apps Script function to invoke when the containing element is clicked/
activated.
Corresponds to the JSON property function
553 554 555 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 553 def function @function end |
#interaction ⇒ String
Corresponds to the JSON property interaction
558 559 560 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 558 def interaction @interaction end |
#load_indicator ⇒ String
Corresponds to the JSON property loadIndicator
563 564 565 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 563 def load_indicator @load_indicator end |
#parameters ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedActionActionParameter>
List of action parameters.
Corresponds to the JSON property parameters
568 569 570 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 568 def parameters @parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
575 576 577 578 579 580 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 575 def update!(**args) @function = args[:function] if args.key?(:function) @interaction = args[:interaction] if args.key?(:interaction) @load_indicator = args[:load_indicator] if args.key?(:load_indicator) @parameters = args[:parameters] if args.key?(:parameters) end |