Interface ContextualTriggerOrBuilder (2.20.0)

public interface ContextualTriggerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOnTriggerFunction()

public abstract String getOnTriggerFunction()

Required. The name of the endpoint to call when a message matches the trigger.

string on_trigger_function = 4;

Returns
TypeDescription
String

The onTriggerFunction.

getOnTriggerFunctionBytes()

public abstract ByteString getOnTriggerFunctionBytes()

Required. The name of the endpoint to call when a message matches the trigger.

string on_trigger_function = 4;

Returns
TypeDescription
ByteString

The bytes for onTriggerFunction.

getTriggerCase()

public abstract ContextualTrigger.TriggerCase getTriggerCase()
Returns
TypeDescription
ContextualTrigger.TriggerCase

getUnconditional()

public abstract UnconditionalTrigger getUnconditional()

UnconditionalTriggers are executed when any mail message is opened.

.google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1;

Returns
TypeDescription
UnconditionalTrigger

The unconditional.

getUnconditionalOrBuilder()

public abstract UnconditionalTriggerOrBuilder getUnconditionalOrBuilder()

UnconditionalTriggers are executed when any mail message is opened.

.google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1;

Returns
TypeDescription
UnconditionalTriggerOrBuilder

hasUnconditional()

public abstract boolean hasUnconditional()

UnconditionalTriggers are executed when any mail message is opened.

.google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1;

Returns
TypeDescription
boolean

Whether the unconditional field is set.