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
deflabel()->::String
Returns
(::String) — Required. User-visible text describing the action taken by activating this
extension point, for example, "Add a new contact".
#label=
deflabel=(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".
#open_link
defopen_link()->::String
Returns
(::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=
defopen_link=(value)->::String
Parameter
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.
Returns
(::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
defrun_function()->::String
Returns
(::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=
defrun_function=(value)->::String
Parameter
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.
Returns
(::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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Workspace Add-ons V1 API - Class Google::Apps::Script::Type::UniversalActionExtensionPoint (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/latest/Google-Apps-Script-Type-UniversalActionExtensionPoint)\n- [1.2.1](/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/1.2.1/Google-Apps-Script-Type-UniversalActionExtensionPoint)\n- [1.1.0](/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/1.1.0/Google-Apps-Script-Type-UniversalActionExtensionPoint)\n- [1.0.1](/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/1.0.1/Google-Apps-Script-Type-UniversalActionExtensionPoint)\n- [0.6.0](/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/0.6.0/Google-Apps-Script-Type-UniversalActionExtensionPoint)\n- [0.5.2](/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/0.5.2/Google-Apps-Script-Type-UniversalActionExtensionPoint)\n- [0.4.0](/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/0.4.0/Google-Apps-Script-Type-UniversalActionExtensionPoint)\n- [0.3.0](/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/0.3.0/Google-Apps-Script-Type-UniversalActionExtensionPoint)\n- [0.2.0](/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/0.2.0/Google-Apps-Script-Type-UniversalActionExtensionPoint)\n- [0.1.0](/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/0.1.0/Google-Apps-Script-Type-UniversalActionExtensionPoint) \nReference documentation and code samples for the Google Workspace Add-ons V1 API class Google::Apps::Script::Type::UniversalActionExtensionPoint.\n\nFormat for declaring a universal action menu item extension point. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #label\n\n def label() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. User-visible text describing the action taken by activating this extension point, for example, \"Add a new contact\".\n\n### #label=\n\n def label=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. User-visible text describing the action taken by activating this extension point, for example, \"Add a new contact\". \n**Returns**\n\n- (::String) --- Required. User-visible text describing the action taken by activating this extension point, for example, \"Add a new contact\".\n\n### #open_link\n\n def open_link() -\u003e ::String\n\n**Returns**\n\n- (::String) --- URL to be opened by the UniversalAction.\n\n 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.\n\n### #open_link=\n\n def open_link=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- URL to be opened by the UniversalAction.\n\n\nNote: 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. \n**Returns**\n\n- (::String) --- URL to be opened by the UniversalAction.\n\n 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.\n\n### #run_function\n\n def run_function() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Endpoint to be run by the UniversalAction.\n\n 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.\n\n### #run_function=\n\n def run_function=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Endpoint to be run by the UniversalAction.\n\n\nNote: 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. \n**Returns**\n\n- (::String) --- Endpoint to be run by the UniversalAction.\n\n 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."]]