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
- (::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
- value (::String) — Required. User-visible text describing the action taken by activating this extension point, for example, "Add a new contact".
- (::String) — Required. User-visible text describing the action taken by activating this extension point, for example, "Add a new contact".
#open_link
def open_link() -> ::String
-
(::String) — URL to be opened by the UniversalAction.
Note: The following fields are mutually exclusive:
open_link
,run_function
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#open_link=
def open_link=(value) -> ::String
-
value (::String) — URL to be opened by the UniversalAction.
Note: The following fields are mutually exclusive:
open_link
,run_function
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — URL to be opened by the UniversalAction.
Note: The following fields are mutually exclusive:
open_link
,run_function
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#run_function
def run_function() -> ::String
-
(::String) — Endpoint to be run by the UniversalAction.
Note: The following fields are mutually exclusive:
run_function
,open_link
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#run_function=
def run_function=(value) -> ::String
-
value (::String) — Endpoint to be run by the UniversalAction.
Note: The following fields are mutually exclusive:
run_function
,open_link
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Endpoint to be run by the UniversalAction.
Note: The following fields are mutually exclusive:
run_function
,open_link
. If a field in that set is populated, all other fields in the set will automatically be cleared.