2.4.0 (latest) 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class GmailAddOnManifest : IMessage<GmailAddOnManifest>, IEquatable<GmailAddOnManifest>, IDeepCloneable<GmailAddOnManifest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google.Apps.Script.Type class GmailAddOnManifest.

Properties customizing the appearance and execution of a Gmail add-on.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GmailAddOnManifest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GmailAddOnManifest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apps.Script.Type/latest/Google.Apps.Script.Type.Gmail.GmailAddOnManifest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GmailAddOnManifest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apps.Script.Type/latest/Google.Apps.Script.Type.Gmail.GmailAddOnManifest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GmailAddOnManifest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apps.Script.Type/latest/Google.Apps.Script.Type.Gmail.GmailAddOnManifest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## 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

## Constructors

### GmailAddOnManifest()

    public GmailAddOnManifest()

### GmailAddOnManifest(GmailAddOnManifest)

    public GmailAddOnManifest(GmailAddOnManifest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GmailAddOnManifest` |

## Properties

### AuthorizationCheckFunction

    public string AuthorizationCheckFunction { get; set; }

The name of an endpoint that verifies that the add-on has
all the required third-party authorizations, by probing the third-party
APIs. If the probe fails, the function should throw an exception to
initiate the authorization flow. This function is called before each
invocation of the add-on, in order to ensure a smooth user experience.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ComposeTrigger

    public ComposeTrigger ComposeTrigger { get; set; }

Defines the compose time trigger for a compose time add-on. This is the
trigger that causes an add-on to take action when the user is composing an
email.
All compose time addons are required to have the
gmail.addons.current.action.compose scope even though it might not edit the
draft.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ComposeTrigger` |   |

### ContextualTriggers

    public RepeatedField<ContextualTrigger> ContextualTriggers { get; }

Defines the set of conditions that trigger the add-on.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldContextualTrigger` |   |

### HomepageTrigger

    public HomepageExtensionPoint HomepageTrigger { get; set; }

Defines an endpoint that will be executed in contexts that don't
match a declared contextual trigger. Any cards generated by this function
will always be available to the user, but may be eclipsed by contextual
content when this add-on declares more targeted triggers.

If present, this overrides the configuration from
`addOns.common.homepageTrigger`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HomepageExtensionPoint` |   |

### UniversalActions

    public RepeatedField<UniversalAction> UniversalActions { get; }

Defines set of [universal
actions](https://docs.cloud.google.com/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
triggers universal actions from the add-on toolbar menu.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldUniversalAction` |   |