Skip to content

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

FieldTypePresenceDescription and constraints
$objectRoot
backgroundColorstringOptionalBackground color of the label in hexadecimal format, such as “#039be5”. Events with this label are displayed in this color. Required.
idstringOptionalThe 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.
namestringOptionalName of the label. Optional.
If provided this must have at most 50 characters.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.