google-api-python-client icon indicating copy to clipboard operation
google-api-python-client copied to clipboard

Resume stopped vault export jobs after `24 hours`

Open cibinmathew opened this issue 2 years ago • 1 comments

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is your feature request related to a problem? Please describe.

Currently there is no programatic way to detect and resume vault export jobs that get stopped automatically when crossing 24 hours.

the available code documentation only shows the four states. https://github.com/googleapis/google-api-python-client/blob/b115a4fbf48aeebb790ee8ff7b29e45fa4110ecd/googleapiclient/discovery_cache/documents/vault.v1.json#L1581-L1597

Describe the solution you'd like

  1. Update documentation if the feature already exists in the library.
  2. Add a .resume() function like below with a new status STOPPED
service.matters().exports().resume(matterId="xyz", exportId="abc").execute()

Describe alternatives you've considered

Additional context

cibinmathew avatar Mar 01 '23 17:03 cibinmathew

+1

Anie3142 avatar Mar 06 '23 09:03 Anie3142