Google日历事件插入不遵守eventType

huangapple go评论63阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年2月7日 02:36:31
  • 转载请务必保留本文链接:https://go.coder-hub.com/75365307.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定