Google calendar api ExtendedProperty在get事件api响应中不可用
我们正在开发谷歌日历插件,需要一些关于插件开发的帮助。 •我们通常在事件的“ExtendedProperty->private”部分下设置键值对,并根据需要读取。之前(一周前)“ExtendedProperty->private”曾经可用,但现在,我们看到“ExtendedProperty”本身在事件响应中不可用。每当我们试图从事件响应中获取密钥时,就会出现消息“无法从未定义中读取属性”private“的错误 •扩展属性可用时的事件响应示例:Google calendar api ExtendedProperty在get事件api响应中不可用,google-calendar-api,Google Calendar Api,我们正在开发谷歌日历插件,需要一些关于插件开发的帮助。 •我们通常在事件的“ExtendedProperty->private”部分下设置键值对,并根据需要读取。之前(一周前)“ExtendedProperty->private”曾经可用,但现在,我们看到“ExtendedProperty”本身在事件响应中不可用。每当我们试图从事件响应中获取密钥时,就会出现消息“无法从未定义中读取属性”private“的错误 •扩展属性可用时的事件响应示例: ```{ "kind":"cal
```{
"kind":"calendar#event",
"etag":"\"3109778738149000\"",
"id":"5s2qqbjgqghjo5611mndeb9p17",
"status":"confirmed",
"extendedProperties":{
"private":{
"everyoneDeclinedDismissed":"-1",
"Recurence":"Single"
}
},
"conferenceData":{ },
"reminders":{ }
}```
•扩展属性不可用时的示例事件响应:
{
“种类”:“日历事件”,
“etag”:“3132407561772000”,
“id”:“6o22abo31tj8f75j3tsueg5k5c”,
“状态”:“已确认,
“会议数据”:{},
“提醒”:{}
}
•用于读取/写入事件响应的示例代码
o Get: ```{Event_Response}.extendedProperties.private.Recurence
o Set:
{Event_Response}.extendedProperties.private['Recurence'] = value
Calendar.Events.patch(Event_Response, accountId, eventid)```
•是否在API级别发生了任何更改,因为之前(一周前)扩展属性的get和set工作正常