Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top