Google: Creates an event — request body — body gadget
Creates an event.: request body, field body / gadget. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Creates an event — request body — body gadget
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata. |
display | string | Optional | The gadget’s display mode. Deprecated. Possible values are: - “icon” - The gadget displays next to the event’s title in the calendar view. - “chip” - The gadget displays when the event is clicked. |
height | integer | Optional | The gadget’s height in pixels. The height must be an integer greater than 0. Optional. Deprecated. Format: int32 |
iconLink | string | Optional | The gadget’s icon URL. The URL scheme must be HTTPS. Deprecated. |
link | string | Optional | The gadget’s URL. The URL scheme must be HTTPS. Deprecated. |
preferences | object | Optional | Preferences. Additional keys: see wildcard field |
preferences.* | string | Additional keys | The preference name and corresponding value. |
title | string | Optional | The gadget’s title. Deprecated. |
type | string | Optional | The gadget’s type. Deprecated. |
width | integer | Optional | The gadget’s width in pixels. The width must be an integer greater than 0. Optional. Deprecated. Format: int32 |