Questions tagged [google-cloud-platform]

Google Cloud Platform provides cloud computing services that let you build applications and websites, store data, and analyze data on Google's infrastructure.

Filter by
Sorted by
Tagged with
5 votes
1 answer
208 views

Cloud Function: Deleting from both Firestorage and Firestore in a kind of "batch"

I've written code that deletes a "post" the user has sent with my Android app. A "post" is made of an image (stored in Firestorage) named A, of a Firestore document named B which is the user UID (this ...
JarsOfJam-Scheduler's user avatar
4 votes
2 answers
226 views

Searching within multiple objects of the bucket

I have millions of files in the Google cloud storage's bucket. I want to search within files with a .index extension and retrieve the contents. This is currently what I am doing, but the time ...
user3054204's user avatar
4 votes
1 answer
492 views

Decorate a python function to work as a Google Cloud Function

I wrote this for a class project, the backend for this dog voting website. I noticed duplicate code among multiple functions I was writing to be deployed as a cloud function: they all were wrapped in ...
Julian Zucker's user avatar
2 votes
2 answers
254 views

Parse output of Google Cloud command into PHP associative array

This is my idea on how to turn Shell exec output in PHP to array output. I just want to share it and get feedback in case there is any better way. Below is a code example to get server info from GCE. ...
Meta_data's user avatar
  • 121
2 votes
1 answer
141 views

Stock data REST API extractor with GCP storage options

I'm currently working on an AI-driven trading system, the code below aims to extract ticker data from polygon REST API, this is a paid service so, in order to test the code you will need to subscribe /...
watch-this's user avatar
1 vote
1 answer
2k views

Uploading multiple images to Google Cloud Storage using Node.js

I am no JavaScript expert, and I have managed to hack together a node.js script that does exactly what I want it to do: upload images contained within a folder to Google Cloud Storage for a Firebase ...
pho_pho's user avatar
  • 113