Restore a previous version of a document (via the Drive ID of one of its attachment) by creating a new version based on document content of the chosen past version.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the file
The ID of the version (past version only) to be restored
The name of the new version to be created
The description of the new version to be created
The security code
The G Suite domain