Package google.apps.script.type.drive

  • Drive add-ons can be customized through the DriveAddOnManifest, affecting their look and execution.

  • DriveAddOnManifest allows customization of the add-on's homepage and behavior when items are selected in Drive views.

  • DriveExtensionPoint provides a structure for defining triggers that activate specific functions within the add-on.

  • When a Drive extension point is triggered, the specified runFunction is executed.

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.