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
0 votes
0 answers
4 views

Link GCP Compute Engine with (Sub-)Domain

I'm looking for a way to access the web server by my domain. Is there a way to get access by add a hostname to my vm or have to use DNS? Please give me short tips, where i have to edit/setup my ...
CodeHaMbUrGeR's user avatar
0 votes
0 answers
5 views

How to set options of Firebase Functions gen2 in code?

I want to use the best practice, set options (minInstances, timeout, ...) on a configuration object inside the function code. I use Function Gen2 to expose an Express app to HTTP endpoints. import { ...
Thach Lockevn's user avatar
0 votes
0 answers
6 views

Spring security 6 authorization Server or KeyCloak for Oauth2.0

what is the best solution to implement oauth2.0.Spring security 6 authorization Server or KeyCloak, I need to manage user authentication and Authorization(roles,permission) extensively. My application ...
Clementine's user avatar
0 votes
0 answers
10 views

Giving a Spatial GEOGPOINT in BigQuery, How can we plot X points surrounded equally from the center point

In BigQuery assume I have a GEOPOINT Datatype. Say for eg ST_GEOGPOINT(-122, 37) How can I find say 10 GEOGPOINTS that make the Outer Circle with the radius as 100 km. The requirement is for a Looker ...
sarath.mec's user avatar
-2 votes
0 answers
19 views

Major Performance Issue in Looker Studio

Our company is based in the USA. We have successfully built several critical reports using Looker Studio. These reports work seamlessly when accessed in our India office. However, we have encountered ...
Reporting  PathWell Health's user avatar
0 votes
0 answers
7 views

Domain Transfer from Google Workspace to Hostinger

I'm a full stack web developer for 5 years, Its my first time to encounter this scenario, I need your idea and expertise. By the way I chose Hostinger because I have existing 32 projects running in a ...
Jason Lipreso's user avatar
0 votes
0 answers
18 views

Variable name substitution undefined in cloud build gcp

Hi all I have an issue which I am unable to proceed. According to the user guide, it mentioned that $REPO_NAME is supposed to be substitute to the repository name checked out. An example the ...
isme's user avatar
  • 190
0 votes
0 answers
22 views

Developing with Cloud Shell Editor

So I'm very excited to be working with Google Cloud and I wanted to know if it was possible to develop with the Google Cloud Editor similar to how I work when coding on my own machine. Normally on my ...
Granto's user avatar
  • 1
0 votes
0 answers
25 views

increase the waiting time for response from server before returning the server time error with django and kubernetes

I am using Kubernetes and Google Cloud to host my web application and was looking for a way to increase the time for waiting for the server response before returning the error Internal server error ...
ladhari's user avatar
  • 505
0 votes
1 answer
9 views

ERR_NAME_NOT_RESOLVED error when React app execute REST API call to Spring Boot app which deployed into GKE

I faced with problem of resolving my backend IP address from frontend service. Both deployed into GKE. There are two deployment files - for the backend and frontend. The frontend app calls the backend ...
Stan's user avatar
  • 3
0 votes
0 answers
4 views

GCP archetect questions. the best way to Integrating On-Premises Active Directory with Google Cloud?

Your company wants to start using Google Cloud resources but wants to retain their on-premises Active Directory domain controller for identity management. What should you do? A. Use the Admin ...
Lingxue Li's user avatar
0 votes
0 answers
8 views

Google Cloud Run Issue: Revision Not Ready to Serve Traffic - Container Fails to Start on Specified Port

I'm trying to deploy a service on Google Cloud Run, but I'm encountering an issue during deployment. I'm receiving the following error: Deployment failed ERROR: (gcloud.run.services.replace) Revision '...
Marcos Vile's user avatar
0 votes
0 answers
17 views

How To Run Both JS And Python In Firebase Cloud Functions? [duplicate]

I am looking to run both python cloud functions and JS cloud functions side by side. Also I want to be able to run these in my local emulator when doing dev work. Are both of these scenarios possible? ...
Joe Alvini's user avatar
-1 votes
0 answers
17 views

How to use Google Cloud Identity Platform as an idp for SSO

I use Google Cloud Identity Platform (Firebase) for user management with multi-tenancy. GCP offers a lot of different authentication methods, including OIDC, but it does not seem to be able to ...
Pete's user avatar
  • 1
0 votes
0 answers
8 views

Is it possible to export a csv file to an SFTP server using Google Cloud Data Fusion?

I have a requirement whereby I need to import a file from an SFTP (Source), perform some basic operations (wrangler) and send it to another SFTP (Target). So far, I managed to import and transform the ...
Youssef Kanso's user avatar
0 votes
0 answers
17 views

Why is GCP reporting lower CPU utilizations for the same node when monitored from K8S?

I'm debugging CPU utilization in our kubernetes cluster. When I open the page of a specific kubernetes node in a node pool, GCP reports an average of 14%. But when I open the details of the same node ...
Federico Fissore's user avatar
0 votes
0 answers
23 views

Google Drive API (v106.0.0) problem uploading files

I am using the googleapis library in Node.js (v14) to upload files to Google Drive. My code runs without errors, and I receive a 200 response code, but the problem is that the uploaded file turns out ...
Cesar Insuasty's user avatar
0 votes
0 answers
7 views

TensorFlow Object Detection Image Decoding

I created an object detection model that works locally. When I host it in the cloud and put a base 64 encoded image for prediction, I get an error that the base 64 contains invalid characters. I ...
David C.'s user avatar
1 vote
0 answers
20 views

How to send token to php verifier on Google Sign In?

So, I'm trying to implement Google Sign In into a site to add more security and ways to log in, prior to this, the only way to log in, was via a 8-9 digit number as a user, and a 4 digit pin, right ...
Elian Robles's user avatar
1 vote
1 answer
14 views

Is there a practical difference between Google Cloud Run Jobs and GCP Batch Jobs?

Google Cloud Run is a serverless platform that can be used to run docker containers as batch jobs or as services. Google Cloud Batch is a serverless platform that can be used to run docker containers ...
user21682269's user avatar
-1 votes
1 answer
13 views

A e2-small VM instance is currently unavailable in the us-west4-b zone

No se pudo iniciar instance-1: A e2-small VM instance is currently unavailable in the us-west4-b zone. Alternatively, you can try your request again with a different VM hardware configuration or at a ...
Guillermo Melo Olivero's user avatar
1 vote
0 answers
41 views

Google cloud app engine and Flask application infinitely loading

I have been trying to deploy a web application that using Google cloud app engine. My Application uses Flask and sqlalchemy to connect to a mysql google cloud database. The website gets created but ...
Figbar's user avatar
  • 11
0 votes
0 answers
15 views

BigQuery to Elasticsearch Dataflow template ConnectionClosedException

I am using the BigQuery to Elasticsearch Dataflow template to create an Elasticsearch index by transferring a BigQuery table. I am however getting a ConnectionClosedException at times. At times (...
Begona Echavarren's user avatar
0 votes
0 answers
10 views

how to authenticate iid.googleapis.com with oauth2 access tokens

Im trying to use https://iid.googleapis.com/iid/v1:batchImport to convert apns keys to fcm keys but I kept getting curl -X POST "https://iid.googleapis.com/iid/v1:batchImport" \ -H '...
LIew's user avatar
  • 1
0 votes
0 answers
10 views

How to enable flow.run_local_server() for HTTPs in Django?

My code was working accurate on localhost. But not when I try to host in DigitalOcean Droplet. from __future__ import print_function from googleapiclient.discovery import build from googleapiclient....
sodmzs2's user avatar
  • 43
0 votes
1 answer
12 views

Why do we need Startup Script in Google Cloud VM Instance Metadata and not in Automation

In the above image, I am trying to create a VM instance on Google Cloud Platform. The wizard has options to add a startup script. The startup scripts could be added in the Automation section. In this ...
Aditya Bhuyan's user avatar
0 votes
0 answers
6 views

How Enabling Ordering key in cloud pub/sub messages works as i am facing an issue while trying to access those messages in batch

Enabling ordering key in cloud pubsub message is not working as expected like when we have same ordering key for multiple messages in topic it will process the messages sequentially one by one in an ...
Prashant Verma's user avatar
0 votes
0 answers
42 views

GCP App Engine Custom Domain -- A Records requested for root domain

I have an App Engine service called my-api, and I wish to use a custom domain to point to this service. It looks straightforward enough to use a dispatch.yaml file to perform the redirect to the ...
Rob Lyndon's user avatar
  • 12.1k
0 votes
0 answers
15 views

No suitable driver found for jdbc:mysql://metastore.example.com/metastore in Google Dataproc Serverless

I am trying to run a Spark job using Google Cloud Dataproc Serverless. This jobs runs fine when I run it using a normal dataproc Spark cluster. It uses a Hive metastore stored in a mysql db. When I ...
Piyush Shrivastava's user avatar
0 votes
0 answers
6 views

what approach we need to follow to process cloud pub/sub messages in batches periodically & why that approach is appropriate in GCP

what approach we need to follow to process cloud pub/sub messages in batches periodically like a job to process the messages at regular interval time and why that approach is appropriate in Google ...
Prashant Verma's user avatar
0 votes
1 answer
31 views

How to use OAuth 2.0 for security purpose when its deprecated in Spring Boot?

I have a Spring Boot application. Spring Boot 3 and Java 17. I want to use OAuth 2.0 for security purpose. I checked a few articles. It states that OAuth 2.0 is deprecated. Can anyone suggest how to ...
Clementine's user avatar
0 votes
1 answer
46 views

aborting a cloud run service

I had cloud run service with a timeout of 60 mins and it connects to a redis instance in memorystore. I had an issue connecting to that specific instance, and in my code it keeps retrying until ...
tankman07's user avatar
0 votes
2 answers
14 views

Cost-effective solution to connect Cloud Scheduler to internal Cloud Load Balancer?

I am trying to set up an every-one-minute cron job using Cloud Scheduler to call an internal load balancer IP. However, I am unable to connect to the load balancer private IP from Cloud Scheduler. Is ...
akshay's user avatar
  • 1
-1 votes
0 answers
32 views

langchain SQLDatabase, using GCP BigQuery, querying a dataset in another project

I've been playing around with the langchain library and trying to create a sql agent. i.e. asking the model a question, and it returning both the query + the result I've started out by following the ...
Helpisneeded's user avatar
0 votes
0 answers
8 views

what does "write_gcm: Server response (CollectdTimeseriesRequest) contains errors:#012" mean?

i checked something in my syslog of my VM and i found this message: write_gcm: Server response (CollectdTimeseriesRequest) contains errors:#012{#012 "summary": {#012 "...
Rodrigo Chantes's user avatar
0 votes
0 answers
23 views

what are the steps to resolve An error occured:403 Request is prohibited by organization's policy. vpcServiceControlsUniqueIdentifier: error in pubsub

I am trying to publish a message from a cloud run service to pubsub push subscription that triggers another cloudrun post endpoint to recive the message data,i had made sure my serivce account has a ...
akshay dirisala's user avatar
0 votes
0 answers
19 views

Youtube Private videos via Google Oauth2?

I am building a closed system for training. It is a login with Google Oauth 2.0 as in the admin panel I have a white list emails that can use the system (log in). I am trying to use YouTube private ...
Todor Markov's user avatar
0 votes
1 answer
25 views

In GCP's DocumentAI, when importing documents via API, is it possible to add a Document Type label?

I am creating a Custom Document Classification Processor in GCP's DocumentAI platform, and am trying to understand whether it is possible to assign a Document Type label to documents when importing ...
J L's user avatar
  • 400
0 votes
1 answer
12 views

GKE Auto cluster creation failing with DNS error

GKE Cluster creation is failing with below error `DNS API error: Failed creating DNS Managed Zone with name "gke-gke-webapp-poc-a769c313-dns", setClusterHash - false, error - googleapi: ...
Zama Ques's user avatar
  • 1,502
1 vote
1 answer
15 views

How do I safely deprecate fields in Google Cloud Datastore?

I am working on an API that involves creating datastore entities and reading them back after some time from an asynchronous callback. I am trying to remove fields safely and more easily rollback, by ...
Max's user avatar
  • 33
0 votes
1 answer
14 views

GCP: Billing Account change on project hosting export dataset. What happens to data in transit?

We have billing export enabled. afaik it can take a few days until billing data is ingested into BigQuery and the GCP project hosting the BigQuery dataset for the export has to be linked to the source ...
M. F. Bostanci's user avatar
0 votes
2 answers
30 views

how to store the elements of a document snapshot as objects in a list and retrieve their document ids in a transaction operating on firestore database

I have created a Firestore database that contains objects of a user-defined class named "Courses" as its documents. Now I want to read these documents in a transaction as a list together ...
goksel demiradam's user avatar
-2 votes
0 answers
18 views

Architecture of a WebApp on GCP using Cloud Run, Cloud Functions, Cloud storage and Firestore [closed]

I would like to build a website with a private area for users to log in and get their (personal) documentation. The website will have a navigation menu with access to different sections (About us, ...
lauramc's user avatar
  • 47
0 votes
1 answer
33 views

Unable to connect from GCP Cloud Build to GitLab Self-managed

Unfortunately I'm unable to connect to GitLab Self-managed from Cloud Build on a private IP address as described in this guide: https://cloud.google.com/build/docs/automating-builds/gitlab/connect-...
amazze's user avatar
  • 1
0 votes
1 answer
47 views

Google Cloud Function HTTP request connection times out

I am performing an http request to the LibreNMS API via the following Python code: import requests TOKEN = './token.json' def get_request(request_type): url = f'http://192.168.1.141/api/v0/{...
Dylan Solms's user avatar
0 votes
1 answer
13 views

No data in MQL query

I created a Google Cloud function that executes a database query and returns a count: import psycopg2 def my_function(request): """Runs a custom SQL query on a Cloud SQL database and ...
Dragos Cazangiu's user avatar
0 votes
0 answers
9 views

How to get GCP Bearer/Access token programmatically in Node.js?

I am using Google Cloud's Vertex API for making a AI app. I am currently working on the feature of getting caption/description for an image using this API. I am using the following function to do the ...
Anurag Dhote's user avatar
1 vote
2 answers
37 views

Store geo points efficiently with Firestore

I am thinking about how to model a collection where each document is a building with a geolocation. I know I should use Geohashes, but what I am worried about is that I would get for each query dozens ...
lex's user avatar
  • 103
2 votes
1 answer
45 views

BigQuery load to partitioned Table

hello i am pretty new with bigquery, i am about to load data into partitioned table let's say its named as table1_partitioned, this table also has column named timestamp which at first in table ...
usr6969's user avatar
  • 75
0 votes
0 answers
55 views

All my cloud functions stopped working suddenly [closed]

All my cloud functions stopped suddenly I didn't change anything in the last few days but the only thing critical I changed was the owner email who connected the billing credentials to the account ; I ...
Amr Mahmoud's user avatar

1
2 3 4 5
954