public sealed class UniversalAction : IMessage<UniversalAction>, IEquatable<UniversalAction>, IDeepCloneable<UniversalAction>, IBufferMessage, IMessage
An action that is always available in the add-on toolbar menu regardless of message context.
Implements
IMessage<UniversalAction>, IEquatable<UniversalAction>, IDeepCloneable<UniversalAction>, IBufferMessage, IMessageNamespace
Google.Apps.Script.Type.GmailAssembly
Google.Apps.Script.Type.dll
Constructors
UniversalAction()
public UniversalAction()
UniversalAction(UniversalAction)
public UniversalAction(UniversalAction other)
Type | Name | Description |
---|---|---|
UniversalAction | other |
Properties
ActionTypeCase
public UniversalAction.ActionTypeOneofCase ActionTypeCase { get; }
Type | Description |
---|---|
UniversalAction.ActionTypeOneofCase |
OpenLink
public string OpenLink { get; set; }
A link that is opened by Gmail when the user triggers the action.
Type | Description |
---|---|
String |
RunFunction
public string RunFunction { get; set; }
An endpoint that is called when the user triggers the action. See the universal actions guide for details.
Type | Description |
---|---|
String |
Text
public string Text { get; set; }
Required. User-visible text describing the action, for example, "Add a new contact."
Type | Description |
---|---|
String |