Got 5 mins? Help us improve Add-ons documentation by taking a quick survey.

Package google.apps.script.type.drive

Index

DriveAddOnManifest

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

Fields
homepageTrigger

HomepageExtensionPoint

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

onItemsSelectedTrigger

DriveExtensionPoint

Corresponds to behavior that executes when items are selected in the relevant Drive view, such as the My Drive Doclist.

DriveExtensionPoint

Common format for declaring a Drive add-on's triggers.

Fields
runFunction

string

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