Google.Apps.Script.Type - Class MenuItemExtensionPoint (2.3.0)

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

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

Common format for declaring a menu item, or button, that appears within a host app.

Inheritance

object > MenuItemExtensionPoint

Namespace

Google.Apps.Script.Type

Assembly

Google.Apps.Script.Type.dll

Constructors

MenuItemExtensionPoint()

public MenuItemExtensionPoint()

MenuItemExtensionPoint(MenuItemExtensionPoint)

public MenuItemExtensionPoint(MenuItemExtensionPoint other)
Parameter
NameDescription
otherMenuItemExtensionPoint

Properties

Label

public string Label { get; set; }

Required. User-visible text describing the action taken by activating this extension point. For example, "Insert invoice".

Property Value
TypeDescription
string

LogoUrl

public string LogoUrl { get; set; }

The URL for the logo image shown in the add-on toolbar.

If not set, defaults to the add-on's primary logo URL.

Property Value
TypeDescription
string

RunFunction

public string RunFunction { get; set; }

Required. The endpoint to execute when this extension point is activated.

Property Value
TypeDescription
string