Class: Google::Apis::CloudsearchV1::AppsDynamiteStorageOnClick

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) ⇒ AppsDynamiteStorageOnClick

Returns a new instance of AppsDynamiteStorageOnClick.



3387
3388
3389
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3387

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

Instance Attribute Details

#actionGoogle::Apis::CloudsearchV1::AppsDynamiteStorageAction

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



3369
3370
3371
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3369

def action
  @action
end

#host_app_actionGoogle::Apis::CloudsearchV1::HostAppActionMarkup

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



3374
3375
3376
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3374

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



3380
3381
3382
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3380

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



3385
3386
3387
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3385

def open_link
  @open_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3392
3393
3394
3395
3396
3397
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3392

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