문제

In the ADMIN SDK Reports API we can retrieve specific events of admin using statement like:

service.activities().list(applicationName="admin",userKey=userEmail,eventName="TRANSFER_DOCUMENT_OWNERSHIP").execute()  

But Is there facility to generate such admin activity (TRANSFER_DOCUMENT_OWNERSHIP) using the script.????

Any help will be appreciated.

도움이 되었습니까?

해결책

If I understand your question correctly, you are asking about how to generate a document transfer event? The Reports API is read-only, it's meant to only inform you of actions that took place.

In order to generate a document owner change event, you can either manually change ownership of a document in the Drive UI, or perform the change of ownership via the Drive API.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top