# Package google.apps.script.type.drive

## Index

- `https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.script.type/drive#google.apps.script.type.drive.DriveAddOnManifest` (message)
- `https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.script.type/drive#google.apps.script.type.drive.DriveExtensionPoint` (message)

## DriveAddOnManifest

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

| Fields ||
|---|---|
| `homepageTrigger` | `https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.script.type#google.apps.script.type.HomepageExtensionPoint` If present, this overrides the configuration from `addOns.common.homepageTrigger`. |
| `onItemsSelectedTrigger` | `https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.script.type/drive#google.apps.script.type.drive.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. |