First let me ask if this is the right group for this question? I am using the Java Google Calendar API to retrieve and update Calendar event data. I have no problem reading the Event objects but I need to also store some application data in the Event object and I'm trying to use Event#setUnknownKeys(GenericData gd) for this. I then call the following but the data is not being stored/updated. On the next call to get the Event the call to Event#getUnknownKeys() returns an empty set. What am I doing wrong? How to store data in Event?
service.events().update(PRIMARY, event.getId(), event).execute();