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.
48,418
questions
0
votes
0
answers
4
views
GCP cloud function using python for storageBucketPublicAccessRemediationFunction
I am writing a python code in a GCP cloud function for storage Bucket Public Access Remediation Function.
Here is python code,
import logging
import os
import base64
import json
from googleapiclient ...
0
votes
0
answers
10
views
Google Drive files deleted along with *previous* owner
In our Google workspace for education, an account (A1) was deleted.
Previously, Google drive files' ownership were transferred to another account (A2).
Yet, the deletion of the account A1 implied the ...
0
votes
0
answers
8
views
Getting API error on video upload and stream but locally its working fine
My code is hosted on cloud run service of GCP, here is the example snippet of the code:
// Serve the video from Google Cloud Storage
const bucket = storageClient.bucket(bucketName);
const ...
0
votes
0
answers
22
views
Unable to create Bean in Spring boot app with Google Cloud Datastore
For an existing project running in Google app Engine, I am trying to create a standalone Spring boot app to do CRUD operations in the Google Cloud Datastore.
With lot of examples from web, one such ...
1
vote
0
answers
18
views
How to eliminate recurring authorization prompts for Google Apps Script?
I have Google Apps Script projects related to Telegram bot. The script is triggered mainly through doPost requests from telegram. I created a separate project in Google Cloud and linked it to a script....
0
votes
1
answer
13
views
How to Securely Manage creds.json for Google Cloud Run Deployment
I'm working on a Python project requiring integration with Google services, and I need to use a creds.json file for authentication with a Google service account.
I understand the importance of keeping ...
-1
votes
0
answers
24
views
Why did my wildcard CNAME record break after creating and deleting another, more specific CNAME record?
I originally posted this issue with Google's bug tracking system, but it was rejected because they believe it to be a local issue; I do not think this is the case, but we do not have a the right ...
0
votes
1
answer
18
views
Add instance metadata to an already running gcp compute instance with terraform
I already have a vm instance running in GCP.Is there a way we can add custom metadata to it using terraform. Terraform has a resource to add custom metadata to a project but not a instance.
I tried to ...
0
votes
0
answers
5
views
How to install google page speed module on Nginx bitnami wordpress in GCP
How to install google page speed module on Nginx bitnami wordpress(debian) in GCP.. do i need to re-install nginx for installing Page speed module? I have low coding knowledge 😧
trying from 2 days.. ...
0
votes
0
answers
16
views
What can I do to reduce cost of GCP infrastructure?
I am beginner to use cloud service and I'm using GCP as my cloud computing service. In GKE, I run my service (Odoo) with 2 replica, deployed with ingress and using cloud sql - postgresql. I also use ...
0
votes
0
answers
19
views
GCP BigQuery: Mirror BigQuery table in other project to another project
We have an use where a third party application is updating several BigQuery tables (ex.table-A) in a GCP project (my-project-a) at regular intervals. This project is not accessible to end users. We ...
-1
votes
0
answers
18
views
Hosting my app on GCP: what are my best options [closed]
I have an app which is basically displaying some data visualization. It's an admin panel.
The data is stored in Big query. I'm wondering what would be my options to deploy the app into production.
is ...
0
votes
1
answer
14
views
Firestore - I cannot see the data page on one of my databases
I have two databases in Firestore. One is TwitterClone. The second is memorials. See image 1. When I click on TwitterClone database and select Firestore Database on the side panel, I get the data ...
0
votes
0
answers
23
views
Google Cloud Directory Sync Org Units Exclusion Rules Regex
Looking to exclude all other School-OUs that doesn't match my <School-specificOUName>. I've read the google documentation here:https://support.google.com/a/answer/6138405?hl=en#zippy=%2Cgoogle-...
0
votes
0
answers
16
views
How to config Springboot with Google cloud platform API vesion
I am building springboot application that uses Google Cloud Platform Vision API, to use Google cloud platform, the credentials is required so I am trying to configure it but it does not talk it and ...
0
votes
0
answers
11
views
Google Document AI Form Parser is not returning entities for all pages
I am trying the Google Document AI with a standard Form Parser. I processed a 60 pages PDF file and the OCR result returned entities for a first few pages and the rest of the pages do not include the ...
1
vote
1
answer
36
views
Use process.env variables inside next.config.js
I have an application with NextJS deployed on GCP. Right now I'm setting up the CD for the application and i have three CDs because there's three different deploys. Let's call it cd-one.yaml, cd-two....
0
votes
1
answer
14
views
Anonymous URL pointing to file in Public GCP bucket
I am trying to send emails from my server these emails will contain files from a bucket in GCP. Currently the bucket holding these files is private. The issue Im facing is the file sizes are too large ...
1
vote
1
answer
31
views
How to access Google Cloud Token Service API with a Service Account?
I am trying to use this API through a service account.
https://securetoken.googleapis.com/v1/token?key=[API_KEY]
Reference:
https://cloud.google.com/identity-platform/docs/use-rest-api#section-...
0
votes
0
answers
22
views
502 Bad Gateway Error on Google Cloud with PostgreSQL and Node Managed Database
I'm encountering intermittent 502 Bad Gateway errors on my server, which is running a Node.js application connected to a Google Cloud managed PostgreSQL database. The errors seem to occur sporadically,...
0
votes
0
answers
17
views
Chrome Verified Access API always fails with PERMISSION_DENIED (The caller does not have permission")
We have built a ChromeOS extension that calls "chrome.enterprise.platformKeys.challengeKey" and sends the signed challenge to our backend. We have this extension force installed on our ...
0
votes
0
answers
23
views
Mediapipe Pose Estimator with Multiprocessing hanging with when used in a Docker container
I am trying to run mediapipe pose estimator inference in a docker container, multiprocessing.Process(). My scripts are connected to a Google PubSub service, reading messages containing images and then ...
0
votes
0
answers
19
views
When attempting to create a Data Store for GCP's "Search & Conversaion", storage.objects.get permission is missing
For Google Cloud Platform's Search & Conversation, I am trying to create a "Data Store" using Google Cloud Storage (GCS) as the source. Step 1 is to choose the source (GCS in this case), ...
0
votes
1
answer
20
views
Insert Overwrite Partitioned Table in BigQuery dynamically
I just need a way on Bigquery to insert overwrite data from my SELECT statement to my partitioned target table dynamically, meaning, if the select has data for a partition that already exists in my ...
2
votes
0
answers
27
views
LoadBalancer SSL policy is not updated after helm changes GCP [closed]
I am applying the SSL policy using FrontendConfig in helm k8s
apiVersion: networking.gke.io/v1beta1
kind: FrontendConfig
metadata:
name: test-preview
spec:
sslPolicy: {{ .Values.frontendConfig....
0
votes
0
answers
22
views
Vertex AI Search Index stays forever with Creating status
From some weeks, we successfully created some Vertex AI Search Indexes in the console UI and with Terraform in several projects, some creations lasted around 30 mins, some even only 3 or 4 mins.
From ...
0
votes
1
answer
50
views
What IAM roles/permissions do I need to enable an API on someone else's GCP project?
Someone at my organisation created a Google Cloud Project and granted me access. I want to enable the Solar API and generate an API key for it.
Is there any IAM role they can give me so that I can do ...
0
votes
0
answers
12
views
Locust test with Cloud Run
I am attempting to test an API that I have deployed on Cloud Run using Locust. When testing the local version with Docker, the API functions correctly and receives the requests I send to it. The same ...
0
votes
0
answers
21
views
Repeated calls to the Google Identity Plattform API blocks requests
I manage users of my API with Google Identity Plattform. To this end, I let users send their credentials (email/password) to my server which then sends requests to the identity plattform API for ...
0
votes
0
answers
12
views
Problem in `gs4_auth()` and `gs4_deauth()` of googlesheets4
My ultimate goal is to deploy the app on shinyapps.io, and everyone without google account could edit my Google sheet.
First, I follow this guide https://stackoverflow.com/a/70215575/22331901, it ...
0
votes
0
answers
36
views
Train a custom classifier on Document AI via code
I want to understand how to train via code a document classifier using the Document AI API, but I haven't found relevant information in the documentation or code samples. I have defined an Invoice OCR ...
0
votes
1
answer
27
views
How to recover restricted Google Play Console Account (verification failure)?
I recently created a developer account and encountered an issue during the verification process. I had used my brother's card for the payment, and mistakenly, I entered my own details instead of the ...
0
votes
0
answers
19
views
Unrecognized element <app-engine-apis> means can't access legacy bundle services on Java 11+ GAE server
I finally migrated a long-running Google App Engine Java 8 project to Java 11+ standard environment before we lose Java 8 support in Jan 2024.
But I need to use the legacy bundled services including ...
0
votes
0
answers
11
views
Is there a solution to the error that WidgetConfig already exists when creating a website search in Vertex AI Search?
When creating an application to search a website in Vertex AI Search and Conversation, I get an error that WidgetConfig already exists and cannot create the application.
The specific error message is
...
-1
votes
0
answers
35
views
How to allow external traffic to call Firebase Functions behind VPC
I'm trying to redirect my API which is in Australia region from my Firebase function since the firewall is blocked outside Australia we can't hit the API from the Firebase functions, so how can we ...
0
votes
1
answer
50
views
HTTP request header names are converted to lower-case
I wrote a simple web service in .NET 7 that echos back HTTP headers. When run locally, the headers are echoed back in the same case in which they are sent. But when run on GCP Cloud Run, the header ...
0
votes
0
answers
22
views
Google App Engine Custom Domain not working | DNS records could not be found
I have been struggling to complete the creation of a subdomain for Google Cloud's App Engine.
The website is hosted on zen.co.uk
The DNS records are on Cloudflair
I have got as far as adding a ...
0
votes
1
answer
28
views
How to reduce the Cloud SQL Logging cost in GCP?
I am currently checking for an option to reduce Cloud SQL logging cost (Cloud Logging cost in GCP). Currently the Cloud SQL instance is writing millions of log entries in stackdriver per day. Out of ...
-1
votes
0
answers
26
views
Find nearby places with a max price and no price level Google Places API
I'm working on a project to recommend users places to go based on their input, one of which being how much they're willing to pay as a price level 0-4.
I'm using Google Places API's Nearby Search and ...
0
votes
1
answer
16
views
Can Flutter's Firestore cache manage several FirestoreListView with the exact same query without requesting the data several times?
I have an app that has this Firestore structure:
Collection "groups"
title: "Group's title"
members:
- "user_id_1"
- "user_id_2"
posts: SubCollection
Group'...
0
votes
0
answers
21
views
Cannot login to my VM, it says I must grant compute.instances.setMetadata permission
I am a very new user of GCM using it to transfer some data between two cloud storage services.
Everything was going fine until just recently, and now I am unable to login to my VM.
When I try, I get ...
0
votes
0
answers
19
views
Firewall Rules for Public facing application [closed]
I have an public facing application deployed on Google Cloud.
As I am new to cloud I need your help on understanding the firewall rules.
Currently in firewall broadcast ip is used.i.e 0.0.0.0/0
Which ...
0
votes
1
answer
20
views
How to set up a wildcard cert with Google Load Balancer (GLB) using Pulumi
I've been using certs with Google load balancers deployed with Pulumi but it seems the certificates need to be FQDN addresses and doesn't support wildcard subdomains. Ideally, if I could get example ...
0
votes
0
answers
27
views
How to upload a file larger than 32MB from django admin panel hosted in Cloud Run?
Problem
I need to upload zip files with a size of ~800MB to a GCP Cloud Storage bucket using Django's admin panel. My Django API is hosted in Cloud Run, and I just found out Cloud Run has a request ...
0
votes
1
answer
16
views
Bulk create new records without overwriting in Firestore
I'm ingesting in Firestore a large number of records (company information) from CSV files. I could be creating 100K+ new records from one single file.
The requirement is that if the record is already ...
0
votes
0
answers
14
views
dfcx-scrapi error while trying to export agent to GCS Bucket
I've written a python script to export a dialogflow agent to GCS Bucket.
from dfcx_scrapi.core.agents import Agents
gcs_bucket = "gs://<my-bucket-name>"
print("Starting ...
0
votes
1
answer
27
views
Is there any way to export a BigQuery table's schema as YAML?
I understand we can export table schema info in JSON format by 'bq show'command in GCP, but don't know how to export to yaml file.
We'd be grateful if there are any way to convert schema info to yaml ...
0
votes
1
answer
58
views
How to do a clean installation of an upgraded version of Spark on Dataproc
I created a Dataproc cluster using the 2.1 image which comes with Spark 3.3.2. I am planning to perform a clean upgrade to Spark 3.5 and had a few queries:
What are the recommended steps for ...
0
votes
1
answer
44
views
Dash app with Gunicorn doesn't start in Cloud Run
I have a Python Dash app deployed in GCP Cloud Run for reporting and analysis. The app works as it does locally, and having it in GCR allows for multiple user access at the same time and implement ...
0
votes
0
answers
10
views
Getting Bigquery resources exceeded error in LookerML
we are getting the "Resources exceeded during query execution: The query could not be executed in the allotted memory. Peak usage: 100% of the limit. Top memory consumer(s): aggregate functions ...