Calendar “Created by” field

2019-08-05 13:42发布

问题:

I'm creating an event with the Google Calendar API. When I create events, one of the fields in the event is called "Created by" and it lists the email address of the service account I used to create the event (123456789-qwertyuiop@developer.gserviceaccount.com) rather than the gmail address of the main account (my_address@gmail.com). Can you change the created by field to that of the main account?

回答1:

The created by field is not marked as "writable" in the documentation https://developers.google.com/google-apps/calendar/v3/reference/events which means it's read only and you cannot modify it.