I have a Mathematica file in my Google drive. There is no option to open the Mathematica file directly, without downloading it.
Is it possible to directly open the file from Google drive?
If you have a public link, you can follow the answer to this question, and basically just import the data
Import[url, "Data"]
If you need to authenticate to get a private link, then you will need this answer and the packlet by @b3m2a1
PacletInstall[
"ServiceConnection_GoogleDrive",
"Site" ->
"http://www.wolframcloud.com/objects/b3m2a1.paclets/PacletServer"
];
gd = ServiceConnect["GoogleDrive"]
Import
does download, I suppose (although you might not find the resulting file on your file system).
$\endgroup$
There is now a Chrome app for opening Wolfram notebooks in Wolfram Cloud.
Once you've installed the app, you can visit your Google Drive on the web and double-click to open a notebook file. You'll get something that looks like this...
Choose Wolfram Cloud. If you've never done it before, you'll be prompted to log into Wolfram Cloud, and then asked to link your Google account to your Wolfram ID in a series of prompts including something like this...
Once you've navigated adding the various permissions, the notebook will open directly in Wolfram Cloud. Even though it's opened in Wolfram Cloud, it'll be backed by Google Drive rather than by the storage in your Wolfram Cloud account. In the toolbar, you'll see a button with a Google Drive icon (and the filename widget will also have the tooltip depicted here):
Note, though, that it's not strictly necessary to press the Save button. The document will auto-save to your Drive account periodically.