HomepageTrigger manifest resource
The resource configuration that is used to define
Google Workspace add-on
homepage triggers.
HomepageTrigger
The Google Workspace 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 |
boolean
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
[null,null,["Last updated 2024-12-19 UTC."],[[["Homepage triggers define the configuration for Google Workspace Add-on homepages, letting you control card display and functionality."],["These triggers can be set globally or for specific host applications, with host-specific settings taking precedence."],["Homepage triggers are configured using the `enabled` and `runFunction` fields within the add-on's manifest file."],["The `runFunction` field points to a function that constructs and returns `Card` objects to populate the add-on's homepage."]]],[]]