I activated the Advanced Drive Service (Drive API, V2), and I tried to publish to the web a file
I tried the following, but obviously, I miss something (the resource).
function test(){
var fileId = '1c5fRpKAk2YdUVzCa1LOCqDgTLZmYjsfSvTzR9BSGPYo';
var revisions = Drive.Revisions.list(fileId);
var items = revisions.items;
var revisionId = items[items.length-1].id;
var resource;
Drive.Revisions.update( resource , fileId, revisionId).published = true;
}