I'm accessing the Google Calendar API and authenticating with a service token to a calendar owned by an apps-for-domains account. When I call calendar.events.list, I get the response:
{ kind: 'calendar#events',
etag: [snip],
summary: [snip],
description: [snip],
updated: '2014-11-16T12:33:06.434Z',
timeZone: 'Europe/London',
accessRole: 'reader', <------ this is the problem
defaultReminders: [],
nextSyncToken: [snip],
items: [] }
I would like to be able to write to the calendar. The token's accessRole
is reader
. How do I grant the service token writer
access to the calendar? I have tried using the Google Calendar web UI to give "Make changes AND manage sharing" access to the service-token's email address, but it automatically changes to "See all event details" when I save.