The resource configuration that is used to define Google Workspace Add-on content and behavior within Google Calendar. Google Workspace Add-on manifests must have all the components marked as Requiredif they extend Calendar.
Calendar
The Google Workspace Add-on manifest configuration for Google Calendar extensions. See Extending Calendar with Google Workspace Add-ons for more information.
JSON representation |
---|
{ "createSettingsUrlFunction": string, "conferenceSolution": [ { object ( ConferenceSolution ) } ], "currentEventAccess": string, "eventOpenTrigger": { object ( EventOpenTrigger ) }, "eventUpdateTrigger": { object ( EventUpdateTrigger ) }, "eventAttachmentTrigger": { object ( EventAttachmentTrigger ) }, "homepageTrigger": { object ( HomepageTrigger ) } } |
createSettingsUrlFunction
string
See Adding conferencing add-on settings for more details.
conferenceSolution[]
object ( ConferenceSolution
)
currentEventAccess
string
Determines what level of access the add-on has to user-generated data event data. If not provided, no event metadata is passed to the add-on. The valid settings are the following:
-
METADATA
indicates that the add-on only has access to basic event metadata. -
READ
indicates that the add-on can read user-generated event data in addition to the basic event metadata. -
WRITE
indicates that the add-on can write user-generated event data. -
READ_WRITE
indicates that the add-on can read and write user-generated event data, as well as reading basic metadata.
If set to READ
or READ_WRITE
, the add-on
must have the https://www.googleapis.com/auth/calendar.addons.current.event.read
scope
.
If set to WRITE
or READ_WRITE
, the add-on must
have the https://www.googleapis.com/auth/calendar.addons.current.event.write
scope
.
eventOpenTrigger
object ( EventOpenTrigger
)
The trigger specification for event open triggers in Calendar.
eventUpdateTrigger
object ( EventUpdateTrigger
)
Required to provide contextual event update interfaces in Google Calendar. The trigger specification for event update triggers in Calendar.
eventAttachmentTrigger
object ( EventAttachmentTrigger
)
The trigger specification for event attachment triggers in Calendar.
homepageTrigger
object ( HomepageTrigger
)
The trigger function specification for creating the add-on homepage
in the
Calendar host. This overrides addOns.common.homepageTrigger
.
ConferenceSolution
The configuration of a conferencing solution offered by the add-on. Each solution has a corresponding conferencing option presented in the Google Calendar Edit EventUI.
JSON representation |
---|
{ "id": string, "logoUrl": string, "name": string, "onCreateFunction": string } |
Fields | |
---|---|
id
|
|
logoUrl
|
This cannot be an arbitrary URL —the image must be hosted on Google's infrastructure. See Providing conference solution logos for details. If provided, this image may be distinct from the add-on calendar.logoUrl
, which the image used to represent
the add-on in the host applications it extends. If a logo image is not
provided for a specific solution, calendar.logoUrl
is used instead. |
name
|
|
onCreateFunction
|
|
EventOpenTrigger
A configuration for a contextual trigger that fires when a Google Calendar event is opened by the user. See Extending the Calendar event interface for more information.
JSON representation |
---|
{ "runFunction": string } |
Fields | |
---|---|
runFunction
|
Card
objects for display in the add-on UI. |
EventUpdateTrigger
A configuration for a contextual trigger that fires when a Google Calendar event is edited and saved by the user. See Updating Calendar events for more information.
JSON representation |
---|
{ "runFunction": string } |
Fields | |
---|---|
runFunction
|
Card
objects for display in the add-on UI. |
EventAttachmentTrigger
A configuration for a contextual trigger that fires when the user clicks on the add-on attachment provider in the Calendar dropdown menu.
JSON representation |
---|
{ "runFunction": string, "label": string, } |
Fields | |
---|---|
runFunction
|
Card
objects for display in the add-on UI. |
label
|
|