Enum ComposeTrigger.DraftAccess (2.16.0)

public enum ComposeTrigger.DraftAccess extends Enum<ComposeTrigger.DraftAccess> implements ProtocolMessageEnum

An enum defining the level of data access this compose trigger requires.

Protobuf enum google.apps.script.type.gmail.ComposeTrigger.DraftAccess

Implements

ProtocolMessageEnum

Static Fields

NameDescription
METADATA

METADATA gives compose trigger the permission to access the metadata of the draft when a compose addon is triggered. This includes the audience list (To/cc list) of a draft message.

METADATA = 2;

METADATA_VALUE

METADATA gives compose trigger the permission to access the metadata of the draft when a compose addon is triggered. This includes the audience list (To/cc list) of a draft message.

METADATA = 2;

NONE

NONE means compose trigger won't be able to access any data of the draft when a compose addon is triggered.

NONE = 1;

NONE_VALUE

NONE means compose trigger won't be able to access any data of the draft when a compose addon is triggered.

NONE = 1;

UNRECOGNIZED
UNSPECIFIED

Default value when nothing is set for DraftAccess.

UNSPECIFIED = 0;

UNSPECIFIED_VALUE

Default value when nothing is set for DraftAccess.

UNSPECIFIED = 0;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()