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.
39,063
questions
1
vote
1
answer
19
views
How to get data from Firebase and show it in Android
I need help with getting data from Firebase. I've been working for a few hours and still can't get it right.
It's either throw a Nullpointer or another error I don't understand.
I admit I don't have ...
2
votes
0
answers
29
views
How to get a single document in firestore in detail page?
I retrieved all the documents in a Listviewbuilder in the main page but then the user click on one of the lists I want to go to a detail page and show the respective data,
This is the main page where ...
0
votes
0
answers
12
views
Session/reauthenticate timeout for Google Cloud Services (for individual or free gmail account)
I got a issue related to session timeout for Google Cloud Services (specifically Google Drive). I don't know how much maximum session timeout is for free gmail account.
I found an answer for ...
0
votes
1
answer
19
views
GCP - Where is BQ Table Explorer?
I am following Data Science on Google Cloud Platform, Chapter 3. It talks about Table Explorer table which is visible in the snapshot.
However, in the actual GCP project BQ console, there is no such ...
0
votes
0
answers
26
views
GCP SQL inserts are extremely slow
I have a basic Postgres instance in GCP with the following configuration:
https://i.stack.imgur.com/5FFZ6.png
I have a simple python script using pycopg2 that does inserts in a loop to the database ...
-1
votes
0
answers
16
views
Migrate VM’s to GCP from OCI/Alibaba Cloud/IBM Cloud
Did anyone use “migrate for compute engine” to migrate VM’s from OCI/Alibaba cloud/IBM Cloud to GCP.
It works for Azure & AWS . Not sure about the other cloud providers and hence the question.
...
0
votes
1
answer
33
views
How to add/remove struct fields without re-specifying all other fields in BigQuery
I have the following data shape and working BigQuery query:
WITH
Person AS (
SELECT 'Alice' AS name, 10 AS address_id,
[STRUCT("Rexi" AS name, 5 AS species_id), STRUCT("Luna&...
0
votes
0
answers
16
views
What is your go-to architecture for Backend APIs?
What is generally your go to architecture for backend apis when you're starting a new project, for compute intensive and non compute intesive. You just want to quickly move to production.
For ex:
...
-1
votes
0
answers
12
views
VM Instance GCP doesn't appear when creating an instance group
I want to create an instance group with my wordpress instance, and it doesn't appear the option to choose my instance. It show "No available VMs". Does someone know what can I do?
0
votes
0
answers
9
views
FCM credentials fail in firebase emulator
I am trying to test push notifications through the firebase emulator i.e. locally. I am using cloud functions and calling the function directly.
Here are the steps:
Download admin key
Set ...
0
votes
0
answers
8
views
Roundcube packaged by Bitnami - login failed
Started a Roundcube (packaged by Bitnami) instance at Google Cloud Platform.
There is no documentation about how to login and configure it.
-1
votes
0
answers
8
views
Error waiting for creating Dataproc cluster: Error code 3, message: Multiple Errors:
Error waiting for creating Dataproc cluster: Error code 3, message: Multiple Errors:
│ - Initialization action failed. Failed action 'gs://dataproc-hive-metsore-artif/dataproc/cloud-sql-proxy.sh', ...
1
vote
0
answers
13
views
How to retrieve name and revision of a Cloud Run service, from the service itself?
I am using Error Reporting to report any error in my Cloud Run services and Cloud Run jobs.
In a Node.js application, you can instantiate Error Reporting like this:
const error_reporting = new ...
0
votes
0
answers
12
views
Unable to access distant neo4j from my docker fastapi app
I have actually 2 things : a neo4j database which is deployed on gcp compute engine at this ip bolt://35.241.254.136:7687
And I have a fastapi app that need to access to neo4j.
When I'm running the ...
0
votes
0
answers
8
views
Firebase Auth + Node Rest API + Google Cloud SQL?
I'm building the backend for a mobile application and trying to figure out the best way to approach it. My thought was to use Firebase Auth for authentication and user management. It seems like a ...
-1
votes
0
answers
35
views
Automate a Python code on GCP with Google Sheet as trigger
I have this Python code that I need to automate online. The Python code takes the input from a Google Sheet, performs some actions and updates the sheet on a new column.
But I need the Python code to ...
1
vote
2
answers
25
views
What is the recommended DefaultFS (File system) for Hadoop on ephemeral Dataproc clusters?
What is the recommended DefaultFS (File system) for Hadoop on Dataproc. Are there any benchmarks, considerations available around using GCS vs HDFS as the default file system?
I was also trying to ...
1
vote
1
answer
21
views
Cloud Scheduler doesn't work with custom Cloud Run domain
I'm hosting the backend for an internal admin tool on Cloud Run. Since only admins of the GCP project should be able to access this tool, I followed the instructions here to enable IAP for Cloud Run ...
1
vote
0
answers
50
views
Attribute mappings in configuring workload identity federation between GCP and GitHub
I am trying to wrap my head around this new topic, given that there are still too few examples out there and the documentation is rather obscure.
I am trying to reverse engineer this repo.
What I want ...
0
votes
0
answers
13
views
Why the number of nodes parameter is not returned as part of the response while using java client library to list the nodepools in a cluster
I'm trying to use the java client library (Container.Projects.Locations.Clusters.NodePools.List request) to list down the nodepools present in the cluster. link to the documentation.
But, the response ...
0
votes
0
answers
16
views
Google Firestore client without json credentials file
I need to ship my code in a Docker image to a serverless platform in which I cannot place a creds file.
Typically, I would just copy the firestore_creds.json into to the image at build time and run ...
0
votes
0
answers
13
views
Can YouTube API retrieve captions of an unlisted video?
Is it possible to retrieve the captions track for an unlisted video using the YouTube Data API v3? The video is in a playlist and has a known URL, but I am not the content owner.
What I have tried:
...
0
votes
0
answers
23
views
Create secret for Gcp service accont using Yaml in Kubernetes
I am trying to create a Kubernetes secret for the IAM service account of GCP from the download file which has the following structure
secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: gcp-...
1
vote
2
answers
26
views
How Can I Get Parent Document's Id on Firebase Functions
There is doc document in details collection, and it is child of {id} document in col collection.
What I want to do is, when user changes fields in col/{id}/details/doc, I wanna update fields in col/{...
0
votes
0
answers
36
views
Google Cloud KMS - Encryption works but decryption fails with invalid ciphertext
I am trying to understand why my decryption fails using a symmetric GCP Cloud KMS key. For context, I am encryption a stringified JSON object which I am then storing in MongoDB. Whenever I wish to ...
1
vote
1
answer
25
views
Get all external IPs from Google Kubernates
Im trying to get all the external IPs that the pods from kubernetes can use, its possible consult this in console?
-1
votes
0
answers
12
views
Kubernetes does not seem to update internal IP table after node restart
We're currently experiencing an issue with our GCP Kubernetes which is forwarding client requests to pods that have been assigned IPs that other pods within the cluster have /previously/ gotten. The ...
0
votes
0
answers
9
views
Google Lens Better than Vision API - need advice
With a student team, I am building a system to classify used shoes.
I know that Google Lens is doing a really good job here.
I came across Google Cloud Vision API (which should be a similar thing) and ...
0
votes
0
answers
14
views
Google Cloud SDK throws Reachability Check failed after Command Line Tools update on macOS 12.4
After the software update of Command Line Tools for Xcode to the version 13,4 the gcloud compute ssh command stopped working with the error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: ...
-2
votes
0
answers
24
views
Capacitor Google Maps plugin is not navigatable / not rendered correctly [closed]
I want to use the google maps capacitor plugin. However my map is not rendered as a functioning map but as a movable element. The map is not navigatable and just displayed as an image. The ui also is ...
0
votes
1
answer
17
views
Warnings because of user credentials without quota project
I am currently managing a GCP project, and granted access to a colleague with the Viewer so that he can use the resources on it (mostly downloading files from storage).
I have run into a problem also ...
-3
votes
0
answers
26
views
File Server on the Google Cloud - [closed]
I'm thinking someone must have already made a file server on the google cloud. Scenario is a bunch of services will include file uploads - which will be uploaded onto a common file service - with a ...
-3
votes
1
answer
26
views
New SSL certificate not working on the Google Cloud Platform
I recently installed a new self managed certificate on the Google Cloud Platform. This is be cause the old one was out of date. I believe that I have done this correctly.
sgnapper@cloudshell:~ (...
0
votes
0
answers
31
views
Log Django shell operations to Google Cloud
We use Django shell (shell_plus to be specific) to do some operations with our data. We would like to log all the operations to comply with some regulations. For example, if we are in the shell now:
&...
0
votes
0
answers
25
views
How to separately export a firebase cloud function 2gen from index.ts?
I am trying to update a specific cloud function to 2nd gen by following this documentation : https://firebase.google.com/docs/functions/beta
and it says
"Support for Environment Configuration ...
0
votes
1
answer
17
views
Copy data from GCP to Azure Storage when the bucket in GCP has a requester pays
I am trying to copy data from GCP to Azure Storage, but the bucket in GCP has a Requester Pays, I did try the transfer using AzCopy and Azure Data Factory, at the end of the Azure configuration I can ...
0
votes
0
answers
20
views
Extracting text from a dynamic pdf
I have a react application in which the user submits a form. The form consists of a file upload
section where the user shall upload a pdf file. The file would consist of the travel details of the user ...
0
votes
1
answer
16
views
Vertex AI Custom Container Training Job python SDK - google.api_core.exceptions.FailedPrecondition: 400 '
I have built a custom container which use my managed dataset on vertex to run my training code, it worked successfully when I create the training job on the Vertex AI website interface.
But now I'm ...
0
votes
2
answers
29
views
GRPC Permission denied on Google Pub/Sub [ERROR 7]
I would like to publish message to a topic on Google Cloud pubsub. But I get a Error: 7 PERMISSION_DENIED, I'm running on localhost trying to publish to a regular Cloud PubSub.
I instantiate the ...
0
votes
0
answers
29
views
reCAPTCHA Enterprise malformed token and invalid site key
I'm trying to integrate reCAPTCHA enterprise into my Flask web application on the login page.
Initially, I added the reCAPTCHA checkbox to the login page and retrieve the token via the POST request &...
0
votes
1
answer
14
views
Is there an Editor-level equivalent to Compute Instance Admin and Storage Admin?
I am looking into restricting the permissions of some of our more junior team members that are not using most of their given permissions on GCP.
These users are exclusively creating+using the VM ...
0
votes
0
answers
28
views
Ansible copy files from GCP bucket
I have to copy files from one bucket to another bucket in GCP. How to do it through Ansible playbook using community.google.gc_storage?
0
votes
0
answers
21
views
How to get the gcp pubsub message in a cloudbuild yaml from a topic?
I have two repositories build on Nest JS.
On the execution of first repository on GCP when we create a PR one cloud build trigger gets executed and gets deployed.
Also on yaml of this 1st repo, I am ...
0
votes
0
answers
4
views
GCP: How to add state used for CPU Utilization (OS REPORTED)?
Get trouble on windows machines, can't get CPU Utilization from google-cloud-ops-agent because the used state is unavailable. Tried to upgrade the OPS agent, reinstalling but nothing helped. Despite ...
0
votes
0
answers
16
views
Can I connect my VPN Gateway to Google VPC via VPC Peering? Or is there another way to do that?
I have a resource in my VPN that owns a static IP. From that resource I'd like to access one of my Cloud Run Services that lives internal in my GCP VPC network. I often stumble over the term "VPC ...
0
votes
0
answers
19
views
Authenticate private google cloud artifact registry from Tekton Pipeline
I have a local setup of Tekton Pipeline, which has task to clone and build application . The code base is on java so, clones the code from BitBucket and does a Gradle build.
gradle.build
repositories {...
0
votes
0
answers
26
views
google.auth.exceptions.RefresError: 'No access token in response.'
Environment details
OS type and version:
Python version: 3.9.0
pip version: 22.0.4
google-api-python-client version: 2.48.0
Description
Hi, I'm running into an error when trying to fetch the Google ...
3
votes
0
answers
58
views
Error 503 while connecting to cloud Postgres (hosted on GCP) using gcloud/google sql proxy
I have cloud postgres setup on GCP with public IP enabled. Previously, I have been able to connect via google sql proxy but now I am getting following error:
errors parsing config:
googleapi: Error ...
-4
votes
0
answers
16
views
How to setup Gitlab with Firebase [closed]
I need to have some static frontend websites hosted in firebase. I would like to automate de ci/cd from GitLab repositories. Are there any suggestions or recommendations on doing this?
1
vote
0
answers
48
views
PubSub to Cloud Storage using DataFlow is slow
I am using a slightly adjusted version of the following example snippet to write PubSub messages to GCS:
class WriteToGCS(beam.DoFn):
def __init__(self, output_path, prefix):
self....