Relative Content

Tag Archive for google-cloud-platformgoogle-cloud-functions

Google App: Transferred App – Google Cloud Functions showing errors

I recently transferred my app from my personal Google developer account to my organization developer account. My android app uses Google Cloud functions like pub/sub and service agents. Since the transfer, I’ve had errors with my cloud functions. I get 401 unauthorized errors for a pub/sub scheduled function and I get a resource name error for my Firestore trigger function. When one transfers apps, do the Cloud Functions permissions invalidate and I have to create them from scratch?

Can’t deploy gen2 cloud function with the cli with my own service account

gcloud –version Google Cloud SDK 488.0.0 alpha 2024.08.09 beta 2024.08.09 bq 2.1.8 core 2024.08.09 gcloud-crc32c 1.0.0 gsutil 5.30 istioctl 1.20.47 I’m at a loss for how to execute the gcloud functions deploy –gen2 command. I can deploy gen1, but gen2 throws indecipherable service account errors. First going right from the docs: https://cloud.google.com/functions/docs/deploy#basics gcloud functions deploy […]

Are cloud functions an appropriate solution for running a long webscraping job?

I’m using a GCP cloud function, planning to trigger runs via requests. My function runs a web scraper to build a dataset, which should probably take around 30 minutes. I think I saw GCP options for scheduling jobs, but in my case I need to manually renew and pass in an API key every run and I thought it’d be easier to do this by making HTTP requests to the GCP function endpoint and passing the API key in the request body.