public sealed class ContextualTrigger : IMessage<ContextualTrigger>, IEquatable<ContextualTrigger>, IDeepCloneable<ContextualTrigger>, IBufferMessage, IMessage
Defines a trigger that fires when the open email meets a specific criteria. When the trigger fires, it executes a specific endpoint, usually in order to create new cards and update the UI.
Implements
IMessage<ContextualTrigger>, IEquatable<ContextualTrigger>, IDeepCloneable<ContextualTrigger>, IBufferMessage, IMessageNamespace
Google.Apps.Script.Type.GmailAssembly
Google.Apps.Script.Type.dll
Constructors
ContextualTrigger()
public ContextualTrigger()
ContextualTrigger(ContextualTrigger)
public ContextualTrigger(ContextualTrigger other)
Parameter | |
---|---|
Name | Description |
other | ContextualTrigger |
Properties
OnTriggerFunction
public string OnTriggerFunction { get; set; }
Required. The name of the endpoint to call when a message matches the trigger.
Property Value | |
---|---|
Type | Description |
String |
TriggerCase
public ContextualTrigger.TriggerOneofCase TriggerCase { get; }
Property Value | |
---|---|
Type | Description |
ContextualTrigger.TriggerOneofCase |
Unconditional
public UnconditionalTrigger Unconditional { get; set; }
UnconditionalTriggers are executed when any mail message is opened.
Property Value | |
---|---|
Type | Description |
UnconditionalTrigger |