Using the Node client of Google Document AI we want to be able to check which review operations got completed after a certain time. However, it seems it's only possible to filter on CreateTime
and not on UpdateTime
: https://cloud.google.com/document-ai/docs/reference/rpc/google.longrunning#listoperationsrequest
For this reason, we'd like to delete completed operations that we already processed. We saw there is a deleteOperation
method in the Node client, but even with the Document AI Administrator
role, we're not allowed to delete a review operation:
Error: The caller does not have permission
If there any other way to know which review operations were completed besides polling all of them individually using for example cloud tasks?