-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to upload data from memory to Cloud Storage? #1197
Comments
OK, I figured it out. I just needed to use this: conn = GoogleApi.Storage.V1.Connection.new("TOKEN")
{:ok, object} =
GoogleApi.Storage.V1.Api.Objects.storage_objects_insert(
conn,
"BUCKET_NAME",
body: "Hello, World! This is the content of the file.",
name: "file.txt"
) I was confused by error message happening because of the #972 - any idea when the fix will be released? |
We have a bunch of updates queued up and expect to do a general release in the next week or two. It may have to come after the GCP Next conference is over because most of us are working there. |
Thanks for the info @dazuma |
Greetings, we're closing this. Looks like the issue got resolved. Please let us know if the issue needs to be reopened. |
Is it possible to upload data to Cloud Storage directly from memory without providing local file path?
I would like to do something like this:
I searched the documentation, even tried to look into the source code, but with no luck.
Thanks a lot. :-)
The text was updated successfully, but these errors were encountered: