Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAction

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedAction

Returns a new instance of AppsDynamiteSharedAction.



550
551
552
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 550

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#functionString

Apps Script function to invoke when the containing element is clicked/ activated. Corresponds to the JSON property function

Returns:

  • (String)


533
534
535
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 533

def function
  @function
end

#interactionString

Corresponds to the JSON property interaction

Returns:

  • (String)


538
539
540
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 538

def interaction
  @interaction
end

#load_indicatorString

Corresponds to the JSON property loadIndicator

Returns:

  • (String)


543
544
545
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 543

def load_indicator
  @load_indicator
end

#parametersArray<Google::Apis::CloudsearchV1::AppsDynamiteSharedActionActionParameter>

List of action parameters. Corresponds to the JSON property parameters



548
549
550
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 548

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



555
556
557
558
559
560
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 555

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