Interface ContextualTriggerOrBuilder (2.47.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
Type Description
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
Type Description
ByteString

The bytes for onTriggerFunction.

getTriggerCase()

public abstract ContextualTrigger.TriggerCase getTriggerCase()
Returns
Type Description
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
Type Description
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
Type Description
UnconditionalTriggerOrBuilder

hasUnconditional()

public abstract boolean hasUnconditional()

UnconditionalTriggers are executed when any mail message is opened.

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

Returns
Type Description
boolean

Whether the unconditional field is set.