Google Gmail API - Delegation settings

◇◆丶佛笑我妖孽 提交于 2019-12-12 07:21:43

问题


Apologies if this is covered elsewhere and I have missed it.

Google's Email Settings API is deprecated and set to be turned off on July 7, 2017.

With this date looming, I have started investigating migrating our local delegated account management web application to the new API. As you might expect, this applications allows users to list, add and delete delegate access to a Gmail account.

It currently uses the OAuth 2.0 scope of.

https://apps-apis.google.com/a/feeds/emailsettings/2.0/{domain}/{username}/delegation

However, the delegate section of the migration guide, written in July 2016, says:

Delegation settings are not yet available via the API.

The most recent version of the Gmail API I can find is Gmail API v1 (Rev. 62) 1.22.0 which has no obvious support for Delegated accounts.

Ideally I want the application to keep working beyond 7th July. How should I proceed?


回答1:


Joel Solomons of Google replied to my query on Google Cloud Connect (maybe sometimes it pays to cross post?). He said the Gmail API will support delegation in the future. However, this has been pushed out until the end of Q2 2017.

So Google have postponed the deprecation of the Email settings API until November 15th 2017 to compensate.

UPDATE

This has been further delayed until sometime around September 2018




回答2:


Google has updated the Gmail API to support delegation now.

https://developers.google.com/gmail/api/v1/reference/users/settings/delegates



来源:https://stackoverflow.com/questions/42623328/google-gmail-api-delegation-settings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!