public sealed class CommonAddOnManifest : IMessage<CommonAddOnManifest>, IEquatable<CommonAddOnManifest>, IDeepCloneable<CommonAddOnManifest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google.Apps.Script.Type class CommonAddOnManifest.
Add-on configuration that is shared across all add-on host applications.
Implements
IMessageCommonAddOnManifest, IEquatableCommonAddOnManifest, IDeepCloneableCommonAddOnManifest, IBufferMessage, IMessageNamespace
GoogleGoogle.AppsGoogle.Apps.ScriptTypeAssembly
Google.Apps.Script.Type.dll
Constructors
CommonAddOnManifest()
public CommonAddOnManifest()
CommonAddOnManifest(CommonAddOnManifest)
public CommonAddOnManifest(CommonAddOnManifest other)
Parameter | |
---|---|
Name | Description |
other | CommonAddOnManifest |
Properties
AddOnWidgetSet
public AddOnWidgetSet AddOnWidgetSet { get; set; }
The widgets used in the add-on. If this field is not specified, it indicates that default set is used.
Property Value | |
---|---|
Type | Description |
AddOnWidgetSet |
HomepageTrigger
public HomepageExtensionPoint HomepageTrigger { get; set; }
Defines an endpoint that will be executed in any context, in any host. 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.
Property Value | |
---|---|
Type | Description |
HomepageExtensionPoint |
LayoutProperties
public LayoutProperties LayoutProperties { get; set; }
Common layout properties for the add-on cards.
Property Value | |
---|---|
Type | Description |
LayoutProperties |
LogoUrl
public string LogoUrl { get; set; }
Required. The URL for the logo image shown in the add-on toolbar.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Required. The display name of the add-on.
Property Value | |
---|---|
Type | Description |
string |
OpenLinkUrlPrefixes
public ListValue OpenLinkUrlPrefixes { get; set; }
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also match one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.
Property Value | |
---|---|
Type | Description |
ListValue |
UniversalActions
public RepeatedField<UniversalActionExtensionPoint> UniversalActions { get; }
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
Property Value | |
---|---|
Type | Description |
RepeatedFieldUniversalActionExtensionPoint |
UseLocaleFromApp
public bool UseLocaleFromApp { get; set; }
Whether to pass locale information from host app.
Property Value | |
---|---|
Type | Description |
bool |