public sealed class UniversalAction : IMessage<UniversalAction>, IEquatable<UniversalAction>, IDeepCloneable<UniversalAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Google.Apps.Script.Type class UniversalAction.
An action that is always available in the add-on toolbar menu regardless of
message context.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation and code samples for the \u003ccode\u003eUniversalAction\u003c/code\u003e class within the \u003ccode\u003eGoogle.Apps.Script.Type\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUniversalAction\u003c/code\u003e class represents an action that is available in the add-on toolbar menu, regardless of the message context in Gmail.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUniversalAction\u003c/code\u003e has two primary action types that can be set: \u003ccode\u003eOpenLink\u003c/code\u003e, to open a URL, and \u003ccode\u003eRunFunction\u003c/code\u003e, to call a specified endpoint, as well as containing the \u003ccode\u003eText\u003c/code\u003e property, a user-visible description of the action.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document shows that version 2.3.0 is the latest release, with 2.2.0 being the current version of the document you are reading, and version history going back to version 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]