Google日历事件API-如何设置“修改事件”在作者的日历中正确吗? [英] Google calendar event api - How to set "modify event" to true in Author's calender?

查看:157
本文介绍了Google日历事件API-如何设置“修改事件”在作者的日历中正确吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在作者的日历中将修改事件设置为true。
-用于发送API查询的用户是创建事件时作为参与者添加的来宾用户之一。

I have a requirement of setting "Modify Event" to true in Author's calender. - An user used to send API query is one of the Guest user added as a participant when an event was created.



任何帮助都将不胜感激。

Any help is greatly appreciated.

推荐答案

解决了这个问题:

您需要通过Google Developer Console创建服务帐户。并使用此用户进行API调用。
当您需要更新其他Google用户创建的事件时,需要通过服务帐户模拟该用户,然后服务帐户就可以对该事件进行修改。

You need to create "Service account" through Google Developer Console. And use this user for making API calls. When you need to update events created by other google user, you need to impersonate this user by service account and then service account will be able to make modifications to that event.

这篇关于Google日历事件API-如何设置“修改事件”在作者的日历中正确吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆