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.



2816
2817
2818
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2816

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



2798
2799
2800
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2798

def action
  @action
end

#host_app_actionGoogle::Apis::CloudsearchV1::HostAppActionMarkup

Actions handled by individual host apps. Corresponds to the JSON property hostAppAction



2803
2804
2805
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2803

def host_app_action
  @host_app_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



2809
2810
2811
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2809

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



2814
2815
2816
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2814

def open_link
  @open_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2821
2822
2823
2824
2825
2826
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2821

def update!(**args)
  @action = args[:action] if args.key?(:action)
  @host_app_action = args[:host_app_action] if args.key?(:host_app_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