Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedOnClick

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedOnClick

Returns a new instance of AppsDynamiteSharedOnClick.



2780
2781
2782
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2780

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

Instance Attribute Details

#actionGoogle::Apis::CloudsearchV1::AppsDynamiteSharedAction

An action that describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form. Corresponds to the JSON property action



2767
2768
2769
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2767

def action
  @action
end

An action that describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form. Corresponds to the JSON property openDynamicLinkAction



2773
2774
2775
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2773

def open_dynamic_link_action
  @open_dynamic_link_action
end

If specified, this onClick triggers an open link action. Corresponds to the JSON property openLink



2778
2779
2780
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2778

def open_link
  @open_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2785
2786
2787
2788
2789
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2785

def update!(**args)
  @action = args[:action] if args.key?(:action)
  @open_dynamic_link_action = args[:open_dynamic_link_action] if args.key?(:open_dynamic_link_action)
  @open_link = args[:open_link] if args.key?(:open_link)
end