英文:
Google Calendar Events insert not honoring eventType
问题
I cannot create a "focus time" event using the "try this method" page here.
I have "eventType": "focusTime" but the returned JSON has this (and the calendar shows a regular event was created):
"eventType": "default"
Am I doing something wrong? The API clearly says this is supported.
Thanks
英文:
I cannot create a "focus time" event using the "try this method" page here.
I have "eventType": "focusTime" but the returned JSON has this (and the calendar shows a regular event was created):
"eventType": "default"
Am I doing something wrong? The API clearly says this is supported.
Thanks
答案1
得分: 1
如在事件文档中所述,eventType
参数是一个只读参数。
> eventType - 事件的具体类型。只读。可能的值包括:
"default" - 一个常规事件或未进一步指定的事件。
"outOfOffice" - 离开办公事件。
"focusTime" - 专注时间事件。
在Google的问题追踪器中已经有了这个功能请求。你可以通过这里为该请求投票。
英文:
As mentioned in the Events documentation, the eventType
parameter, is a read-only parameter.
> eventType - Specific type of the event. Read-only. Possible values are:
"default" - A regular event or not further specified.
"outOfOffice" - An out-of-office event.
"focusTime" - A focus-time event.
There is already a feature request for this in Google's Issue Tracker. You can vote for the request through here.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论