Page Summary
-
Resource configuration used to define Google Workspace add-on content and behavior within Google Drive.
-
Google Workspace add-on manifests must have all required components if they extend Drive.
-
The manifest includes configurations for a homepage trigger and an on items selected trigger.
-
The
onItemsSelectedTriggeris required for add-on behavior triggered by user selection of items in Drive. -
The
runFunctionfield withinonItemsSelectedTriggerspecifies the function to execute when items are selected.
The resource configuration used to define Google Workspace add-on content and behavior within Google Drive. Google Workspace add-on manifests must include all components marked as Required if they extend Drive.
Drive
The Google Workspace add-on manifest configuration for Google Drive extensions. See Extending Drive with Google Workspace add-ons for more information.
| JSON representation |
|---|
{
"homepageTrigger": {
object (HomepageTrigger)
},
"onItemsSelectedTrigger": {
object (OnItemsSelectedTrigger)
}
} |
| Fields | |
|---|---|
homepageTrigger |
The trigger function for the add-on
homepage in the
Drive host. This overrides
|
onItemsSelectedTrigger |
Required to provide add-on behavior triggered by user selection of items in Drive. The contextual trigger function for item selections in Google Drive. |
OnItemsSelectedTrigger
A configuration for a contextual trigger that fires when a user selects files or folders in Google Drive. See Drive contextual interface for items selected for details.
| JSON representation |
|---|
{
"runFunction": string
} |
| Fields | |
|---|---|
runFunction |
Card
objects for the UI.
|