Types for Google Apps Script Type Calendar API¶
- class google.apps.script.type.calendar.types.CalendarAddOnManifest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Calendar add-on manifest.
- homepage_trigger¶
Defines an endpoint that will be executed contexts that don’t match a declared contextual trigger. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
- conference_solution¶
Defines conference solutions provided by this add-on.
- Type
MutableSequence[google.apps.script.type.calendar.types.ConferenceSolution]
- create_settings_url_function¶
An endpoint to execute that creates a URL to the add-on’s settings page.
- Type
- event_open_trigger¶
An endpoint to trigger when an event is opened (viewed/edited).
- event_update_trigger¶
An endpoint to trigger when the open event is updated.
- current_event_access¶
Define the level of data access when an event addon is triggered.
- class EventAccess(value)[source]¶
Bases:
proto.enums.Enum
An enum defining the level of data access event triggers require.
- Values:
- UNSPECIFIED (0):
Default value when nothing is set for EventAccess.
- METADATA (1):
METADATA gives event triggers the permission to access the metadata of events such as event id and calendar id.
- READ (3):
READ gives event triggers access to all provided event fields including the metadata, attendees, and conference data.
- WRITE (4):
WRITE gives event triggers access to the metadata of events and the ability to perform all actions, including adding attendees and setting conference data.
- READ_WRITE (5):
READ_WRITE gives event triggers access to all provided event fields including the metadata, attendees, and conference data and the ability to perform all actions.
- class google.apps.script.type.calendar.types.CalendarExtensionPoint(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Common format for declaring a calendar add-on’s triggers.
- class google.apps.script.type.calendar.types.ConferenceSolution(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Defines conference related values.
- id¶
Required. IDs should be unique across ConferenceSolutions within one add-on, but this is not strictly enforced. It is up to the add-on developer to assign them uniquely, otherwise the wrong ConferenceSolution may be used when the add-on is triggered. While the developer may change the display name of an add-on, the ID should not be changed.
- Type