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\u003eThe \u003ccode\u003eUniversalAction\u003c/code\u003e class provides a way to create actions that are always available in the add-on toolbar menu, regardless of the current message context.\u003c/p\u003e\n"],["\u003cp\u003eIt is part of the \u003ccode\u003eGoogle.Apps.Script.Type.Gmail\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Apps.Script.Type.dll\u003c/code\u003e assembly and has versions ranging from 1.0.0 to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUniversalAction\u003c/code\u003e class implements interfaces like \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\u003eIt can be constructed with either no parameters or by copying an existing \u003ccode\u003eUniversalAction\u003c/code\u003e object, and includes properties such as \u003ccode\u003eOpenLink\u003c/code\u003e, \u003ccode\u003eRunFunction\u003c/code\u003e, and \u003ccode\u003eText\u003c/code\u003e to define the action's behavior and display.\u003c/p\u003e\n"],["\u003cp\u003eThe class uses the \u003ccode\u003eActionTypeCase\u003c/code\u003e to get the correct \u003ccode\u003eActionTypeOneofCase\u003c/code\u003e description for the current object.\u003c/p\u003e\n"]]],[],null,[]]