Reference documentation and code samples for the Google Workspace Add-ons V1 API class Google::Apps::Script::Type::Gmail::UniversalAction.
An action that is always available in the add-on toolbar menu regardless of message context.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#open_link
def open_link() -> ::String
-
(::String) — A link that is opened by Gmail when the user triggers the action.
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) — A link that is opened by Gmail when the user triggers the action.
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) — A link that is opened by Gmail when the user triggers the action.
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) — An endpoint that is called when the user triggers the
action. See the universal actions
guide for details.
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) — An endpoint that is called when the user triggers the
action. See the universal actions
guide for details.
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) — An endpoint that is called when the user triggers the
action. See the universal actions
guide for details.
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.
#text
def text() -> ::String
- (::String) — Required. User-visible text describing the action, for example, "Add a new contact."
#text=
def text=(value) -> ::String
- value (::String) — Required. User-visible text describing the action, for example, "Add a new contact."
- (::String) — Required. User-visible text describing the action, for example, "Add a new contact."