2.4.0 (latest) 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public enum ComposeTrigger.Types.DraftAccess

Reference documentation and code samples for the Google.Apps.Script.Type enum ComposeTrigger.Types.DraftAccess.

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

## Namespace

[Google.Apps.Script.Type.Gmail](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apps.Script.Type/latest/Google.Apps.Script.Type.Gmail.md.txt)

## Assembly

Google.Apps.Script.Type.dll

| ## 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. |
| `None` | NONE means compose trigger won't be able to access any data of the draft when a compose addon is triggered. |
| `Unspecified` | Default value when nothing is set for DraftAccess. |