Google: Returns metadata for a calendar — response body — label Properties event Labels item
Returns metadata for a calendar.: response body, field labelProperties / eventLabels / item. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Returns metadata for a calendar — response body — label Properties event Labels item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
backgroundColor | string | Optional | Background color of the label in hexadecimal format, such as “#039be5”. Events with this label are displayed in this color. Required. |
id | string | Optional | The ID of the label. Optional when inserting a new label. If not provided, a unique ID will be generated. Required when updating a label. If provided, the ID must be unique within the calendar and follow UUID format. |
name | string | Optional | Name of the label. Optional. If provided this must have at most 50 characters. |