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
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
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_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. |
NONE | NONE means compose trigger won't be able to access any data of the draft when a compose addon is triggered. |
NONE_VALUE | NONE means compose trigger won't be able to access any data of the draft when a compose addon is triggered. |
UNRECOGNIZED | |
UNSPECIFIED | Default value when nothing is set for DraftAccess. |
UNSPECIFIED_VALUE | Default value when nothing is set for DraftAccess. |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |