I am trying to write a new file (not upload an existing file) to a Google Cloud Storage bucket from inside a Python Google Cloud Function.
I tried using
google-cloud-storagebut it does not have the "open" attribute for the bucket.I tried to use the App Engine library
GoogleAppEngineCloudStorageClientbut the function cannot deploy with this dependencies.I tried to use
gcs-clientbut I cannot pass the credentials inside the function as it requires aJSONfile.
Any ideas would be much appreciated.
Thanks.