Google Workspace Add-ons V1 API - Class Google::Apps::Script::Type::UniversalActionExtensionPoint (v1.0.0)

Reference documentation and code samples for the Google Workspace Add-ons V1 API class Google::Apps::Script::Type::UniversalActionExtensionPoint.

Format for declaring a universal action menu item extension point.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#label

def label() -> ::String
Returns
  • (::String) — Required. User-visible text describing the action taken by activating this extension point, for example, "Add a new contact".

#label=

def label=(value) -> ::String
Parameter
  • value (::String) — Required. User-visible text describing the action taken by activating this extension point, for example, "Add a new contact".
Returns
  • (::String) — Required. User-visible text describing the action taken by activating this extension point, for example, "Add a new contact".
def open_link() -> ::String
Returns
  • (::String) — URL to be opened by the UniversalAction.
def open_link=(value) -> ::String
Parameter
  • value (::String) — URL to be opened by the UniversalAction.
Returns
  • (::String) — URL to be opened by the UniversalAction.

#run_function

def run_function() -> ::String
Returns
  • (::String) — Endpoint to be run by the UniversalAction.

#run_function=

def run_function=(value) -> ::String
Parameter
  • value (::String) — Endpoint to be run by the UniversalAction.
Returns
  • (::String) — Endpoint to be run by the UniversalAction.