SCRT-HQ / PSGSuite

Powershell module for Google / G Suite API calls wrapped in handy functions. Authentication is established using a service account via P12 key to negate the consent popup and allow for greater handsoff automation capabilities
https://psgsuite.io/
Apache License 2.0
235 stars 67 forks source link

Add support for file revisions #193

Closed Foggy2 closed 5 years ago

Foggy2 commented 5 years ago

Hey @scrthq

I have come across the situation a couple times where it would be handy for us to be able to programmatically download the file revisions for specific files from drive.

The API seems to indicate that it should be quite straight forward. https://developers.google.com/drive/api/v2/reference/revisions

I am thinking that we would need a new function to retrieve all of the revisions and then perhaps a new parameter on the Get-GSDriveFile function that accepts the revision ID.

Thanks!

scrthq commented 5 years ago

Awesome @Foggy2 ! Checking it out!

scrthq commented 5 years ago

Hey @Foggy2 - I'm still working on this, hoping to have it built out by the weekend. Just wanted to provide an update since this issue hadn't been responded to in a while!

scrthq commented 5 years ago

deployed!