PUT
gcalendar_events_update.py
from charter.packs import gcalendar
result = await gcalendar.events_update.ainvoke({"calendarId": ..., "eventId": ..., "event": ...})
Requires
https://www.googleapis.com/auth/calendar.events. Costs 1 against the provider’s own quota.This tool’s JSON schema is 33 KB, because it models the whole resource this endpoint writes.
That is more context than most tasks. Narrow it at the call site
with Those are its heaviest branches by schema size, not a recommendation: which ones you can spare is yours to decide. The tool underneath is unchanged.
See Projections.
Tool.derived:narrowed = gcalendar.events_update.derived(
name="events_update_narrowed",
drop={"event.conference_data", "event.attendees", "event.working_location_properties"},
)
Path parameters
| Field | Type | Description |
|---|---|---|
calendarId * | string | Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the “primary” keyword. |
eventId * | string | Event identifier. |
Query parameters
| Field | Type | Description |
|---|---|---|
conferenceDataVersion | integer | Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event’s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0. Acceptable values are 0 to 1, inclusive. ≥ 0; ≤ 1 |
eventLabelVersion | integer | Version number of the event label feature supported by the API client. Version 0 assumes no event label support and processes the colorId field for color management. Version 1 enables support for event labels, and processes the eventLabelId in the event’s body. In this case, the colorId field is ignored. The default is 0. Acceptable values are 0 to 1, inclusive. ≥ 0; ≤ 1 |
maxAttendees | integer | The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional. ≥ 1 |
sendUpdates | SendUpdates | Guests who should receive notifications about the change. Acceptable values are: “all” (notifications are sent to all guests), “externalOnly” (notifications are sent to non-Google Calendar guests only), “none” (no notifications are sent; for calendar migration tasks, consider using the Events.import method instead). |
supportsAttachments | boolean | Whether API client performing operation supports event attachments. Optional. The default is False. |
Body
| Field | Type | Description |
|---|---|---|
event * | Event | The event, in full. This replaces the stored event, so any field left out is cleared rather than kept — use events_patch to change part of an event. |