Google is committed to advancing racial equity for Black communities. See how.

HomepageTrigger manifest resource

The resource configuration that is used to define G Suite add-on homepage triggers.

HomepageTrigger

The G Suite add-on manifest configuration for homepage triggers.

Homepage triggers can be defined in the addOns.common.homepageTrigger resource or the resources of the individual host applications. The homepage trigger of a host application, if defined and enabled, overrides the homepage trigger defined in addOns.common.homepageTrigger.

See Homepage configuration for more details.

JSON representation
{
  "enabled": boolean,
  "runFunction": string
}
Fields
enabled

string

Whether or not homepage (non-contextual) cards are enabled for this host application. Defaults to true.
runFunction

string

The name of the function to run this trigger fires. If specified, you must implement this function to build and return an array of one or more Card objects for display as this add-on's homepage in this host application.