title: Upload a file to shared google drive location using Java with Google Drive API V3?
body: <p>I need to upload files to a shared Google Drive location(which is not owned by me, rather shared with me) using Java. Using the <a href="https://developers.google.com/drive/api/v3" rel="nofollow noreferrer">Drive API</a>s, We can upload files to a drive location which the user owns, But have not found any solution to allow upload to a shared location. The use case is something like different users of an application need to upload files to a shared Google Drive location. There are few other questions( i.e <a href="https://stackoverflow.com/questions/38807714/file-upload-to-shared-link-of-the-google-drive-using-java-program">this</a>) asked on this topic, but none of them has proper answer. Please help if it is possible or please inform it is not possible to achieve this programmatically.</p>