如何使用 google 日历 api 更改 Google 日历中的 "Created By"?
How can I change "Created By" in Google Calendar using google calendar api?
我已经为创建者对象提供了名称和电子邮件 ID,但它仍然仅使用我的 Gmail ID 保存在 google 日历中。
{
"end": {
"dateTime": "2017-07-20T20:30:00.392227",
"timeZone": "Asia/Kolkata"
},
"start": {
"dateTime": "2017-07-20T20:00:00.392227",
"timeZone": "Asia/Kolkata"
},
"summary": "Birthday Party",
"creator": {
"displayName": "Lara",
"email": "lara@gmail.com"
"self": true
}
}
我应该如何更改 Google 日历中事件的创建者或 "Created By"?
我认为这些属性(creator
、creator.displayName
、creator.email
、creator.id
、creator.self
)不可编辑,因为它们被标记为Events resources 中的只读 属性。您只能按原样使用它们。
我已经为创建者对象提供了名称和电子邮件 ID,但它仍然仅使用我的 Gmail ID 保存在 google 日历中。
{
"end": {
"dateTime": "2017-07-20T20:30:00.392227",
"timeZone": "Asia/Kolkata"
},
"start": {
"dateTime": "2017-07-20T20:00:00.392227",
"timeZone": "Asia/Kolkata"
},
"summary": "Birthday Party",
"creator": {
"displayName": "Lara",
"email": "lara@gmail.com"
"self": true
}
}
我应该如何更改 Google 日历中事件的创建者或 "Created By"?
我认为这些属性(creator
、creator.displayName
、creator.email
、creator.id
、creator.self
)不可编辑,因为它们被标记为Events resources 中的只读 属性。您只能按原样使用它们。