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,455
questions
0
votes
0
answers
25
views
Desperately need help from an experienced GCP user [closed]
I'm building a cloud function to support some math for my app project but I just can't get it to work. I'm very new to coding and I'm sure I'm doing something very basic wrong but I really just don't ...
0
votes
0
answers
10
views
How can I migrate an Google App Engine Flex app to Google Compute Engine?
I'd like to convert my Google App Engine Flask WSGI application to a Google Compute Engine one, but I'm not sure how to do it.
I'm running the Geneplore API https://docs.geneplore.com if that helps.
0
votes
0
answers
15
views
How To Allow External Domains To Map To App Engine App
I am in the process of trying to map custom domains to my app engine app. Basically what we are trying to do is white label our current service and allow external domains such as www.myexternaldomain....
0
votes
1
answer
10
views
One AWS instance can call Google Cloud Run service using WIF, but another can't
Related to/following on from this question: Invoking Google Cloud Run service using Workflow Identity Federation
I'm finding one instance can successfully call the Google Cloud Run service using ...
0
votes
0
answers
13
views
Google Chat API - downloading messages in Google Apps Script to Google Sheets
I have Google Sheets linked with Google Chat API and Google Cloud Platform (with activated Google Chat API).
I can’t download messages from Google Chat via API. These credentials download messages in ...
-3
votes
0
answers
17
views
Dynamically creating tables using Terraform and Ansible on GCP Cloud sql postgres instance [closed]
Cloud sql doesn't support ssh connection how can run my ansible script I want to create 3 schemas and multiple tables using sql scripts. I don't want to hardcode the database password in ansible ...
-3
votes
0
answers
21
views
Which cloud service is the best for running multithreaded Minecraft? [closed]
I'm creating a synthetic machine learning dataset using Minecraft. I've developed a mod for the data collection process with whom a player is running around in a world.
The mod requires lots of CPU ...
-2
votes
0
answers
41
views
Google cloud node.js app build and deploy error [closed]
I create an nodejs app n Google cloud.I get this error.
`ERROR: (gcloud.run.deploy) Build failed; check build logs for details
Package.json:
{
"name": "helloworld",
"...
0
votes
0
answers
11
views
Setting cors on my GCP bucket not making a difference when accessing data from my bucket
I set all my GCP bucket items to be accessible to the public. I also set cors on my bucket using gsutil cors set cors-config.json gs://myBucketName. My cors config file looks like this: [{"origin&...
0
votes
0
answers
15
views
Convert streaming dataflow pipeline having kafka as source to batch pipeline in GCP
I have a streaming dataflow pipeline in which kafka is acting as input and data is loaded to bigquery. As this operation is expensive and KafkaIO source returns unbounded collection of Kafka records ...
0
votes
0
answers
22
views
Why do images like `cloudnativelabs/whats-my-ip` not run on Cloud Run? [duplicate]
When I tried to run cloudnativelabs/whats-my-ip from Docker Hub it said:
/home/server: line 1: syntax error: unexpected "("
Container called exit(2).
It looks like it tried to interpret ...
0
votes
0
answers
17
views
Google Input methods API
I am adding the functionality of converting hand-written text to actual text (aka digital ink recognition) on my website. During my search, I passed by a JavaScript library on Github that creates a ...
0
votes
1
answer
33
views
Service account is missing iam.serviceAccountTokenCreator error when deploying Cloud Function with Eventarc trigger
I'm trying to deploy a Cloud Function with Eventarc trigger. When deploying, I get the following message:
Service account [[email protected]] is missing the ...
1
vote
1
answer
30
views
Standard mistake whereas making GKE Autopilot Cluster. Deficiently territorial quantity: 300GB capacity required whereas constrain is 250GB
Error creating a deployment Insufficient regional quota to satisfy request: resource "SSD_TOTAL_GB": request requires '300.0' and is short '50.0'. project has a quota of '250.0' with '250.0'...
0
votes
0
answers
26
views
How to create a serverless VPC with paid billing account while the free trial is active?
I just created my GCP project, and I have already inputted my billing account.
On the top of my page, I dont see any free trial status for me to upgrade it anymore. So I assume that my billing should ...
1
vote
1
answer
26
views
Invoking Google Cloud Run service using Workflow Identity Federation
I'm trying to invoke a service which I have deployed to Google Cloud Run. It is a simple 'hello world' service but with 'require authentication' as the authentication option.
I am trying to call it ...
0
votes
0
answers
7
views
Get Dockerfile that generated by pack build --builder gcr.io/buildpacks/builder:v1
I tried pack builder feature from Google Cloud, it's working fine. I'm glad that there's such feature that make deploying app easily. I mean it handles automatically without writing Dockerfile, ...
0
votes
0
answers
6
views
Does Vertex AI Search allow sorting by date?
Google is sunsetting the site-restrict custom search API and attempting to replace it with Vertex AI search. A core feature of the CSE search functionality is sorting results by most recent.
Does ...
1
vote
0
answers
16
views
Remove Postgres database from GCP with active connections via GitHub actions
When a developer opens a PR for our backend, a new copy from the staging database is created for the PR via a GitHub action.
The database copy is created in the same SQL instance as the staging ...
-2
votes
0
answers
17
views
Google maps key shows for developers purpose only message [closed]
I have my account attached to a billing account with a valid payment method attached to it, However I get "developer purpose only" message on my web app and mobile app when I use the api key....
0
votes
1
answer
26
views
Dialogflow API Permission Issue on EC2: Service Account Key and Roles Confirmed
Question:
I'm encountering permission issues when attempting to make Dialogflow API calls from my Node.js(NestJs) application deployed on an EC2 instance. Notably, the service account key and roles ...
0
votes
0
answers
14
views
Change l4 to l7 LB on GKE with nginx-ingress-controller
I have the following service, the default service for nginx-ingress-controller:
apiVersion: v1
kind: Service
metadata:
annotations:
cloud.google.com/app-protocols: '{"http":"HTTP2&...
0
votes
0
answers
14
views
Inconsistent EventBridge Rule Execution In AWS: Seeking Guidance For Ensuring Proper Intervals In API Calls"
I've configured an EventBridge rule in AWS to trigger an API call every 3 hours, and I've implemented logging to monitor these calls in CloudWatch. However, I've noticed inconsistent behavior in the ...
0
votes
0
answers
13
views
Enabling "NGINX-INGRESS-CONTROLLER" with GKE --enable-cdn
So, I have a single Autopilot cluster on GKE, which has a nginx-ingress-controller in LB mode.
I need to be able to enable Google CDN on top of the nginx-ingress-controller.
I have tried multiple ...
0
votes
0
answers
29
views
GCP Cloud Function is executed multiple times when invoked from browser
When executing a Cloud Function triggered by HTTPS requests, while making a POST request in the script, it only executes once, but when making a GET request from the web browser(Edge or Chrome), it ...
0
votes
0
answers
24
views
Unable to create http to https redirect using terraform for GCP Classic Load balancer
I am trying to create a HTTP load balancer which can redirect request to http to https.
Please refer to this image I am trying to enable this but am not able to figure how to enable this in terraform.
...
1
vote
0
answers
29
views
Unable to set up nginx proxy to another URL
I have been trying to set up a proxy server to access content on megacorp.partnerpage.io on the URL https://gomegacorp.com/service-partners with the following constraints:
The desired outcome is that ...
0
votes
1
answer
30
views
How to skip Python Google App Script script authentication?
I am trying to create a funtion that runs an Apps script macro on Google sheets. The apps script is deployed as an API excecutable. The original plan is to deploy the code to a scheduler. The code ...
0
votes
0
answers
18
views
Move files from private google bucket to a google drive
well we basically store some files on buckets in Google cloud, now I started to work on a feature to schedule tasks and move files, so what we want is the user to provide an api key/secret of google ...
0
votes
0
answers
15
views
Document AI - GCP error in dataset maximum number of documents to train a custom processor reached
I am working with document AI from GCP training 2 custom processors to extract information from a image/pdf but an error begun to arises in one of then.
custom processor I error log:
{
"name&...
-1
votes
0
answers
15
views
SpeechToText returns billing data alone
I am trying to post a json message with encoded sound but I keep getting the note that I was billed without any results. Am I Doing something wrong ?
See the POST dialog here
I POST to https://speech....
-2
votes
0
answers
11
views
Persistent storage volume dynamically on Google Cloud Platform [closed]
How to create a persistent storage volume dynamically on Google Cloud Platform. The temporary local storage limit is 10GB on GCP. Need to increase this.
We are not finding the documentation on this. ...
1
vote
0
answers
20
views
How to retrieve audit logs for user sign ins in Google Cloud?
I am in need to get Audit logs for events related to user sign ins to Google cloud platform. I have searched the documentation and even after enabling all audit data sources in the IAM I can't seen ...
-1
votes
1
answer
25
views
Parse date from _table_suffix
I want parse date from _table_suffix for execute last date in table names, but i can't to do it.
Firstly, i select just like
After parsed dates me saw a mistake about parse string with '..x' in the ...
0
votes
0
answers
12
views
GCP Building VM with HDD by Using "gcloud compute instances import" Command
I have a 75 GB .OVA file in my bucket(250 GB as VM).
When I wanted to build this .OVA by using "gcloud compute instances import" command, I am getting 'SSD_TOTAL_GB' exceeded error because ...
0
votes
0
answers
36
views
Cloud Function with Pub/sub trigger always creates new Eventarc subscription for the Topic
I'm currently working on a project where I'm using Google Cloud Functions triggered by Pub/Sub messages. In my workflow, When I create a Cloud Function with pubsub trigger, it automatically create a ...
-1
votes
1
answer
44
views
vpc peering not able to communicate between gke and bastion host
I have 2 vpc networks, one consists of a gke cluster (private cluster with private access on subnet) and another vpc with a virtual machine to act as a bastion host for connectivity to the gke cluster....
0
votes
1
answer
28
views
GoogleSQL in BigQuery evaluating IF always True inside FOR-loop but False if manually checked
Goodmorning everyone,
recently we started to use BigQuery in my current company to analyze an enormous amount of data (around 4TB) from a client.
Apparently a lot of columns in some table seems to be ...
0
votes
1
answer
40
views
How do I get the requestor's IP address inside a container in a google cloud k8 cluster?
When I try printing out the x-forwarded-for value I get the ip address of a Node inside the cluster instead of the requesting client.
I believe my current setup looks something like this:
External LB -...
0
votes
0
answers
9
views
GoogleApiClient is depricated how to migrate my code from apiclient to GoogleApi
Here is My entire java File
package com.example.autosilentme;
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.NotificationManager;
...
0
votes
0
answers
29
views
Define Schema for Bigquery Log Sink in GCP
I am using the Bigquery Log Sink for GCP. As stated by the documentation, BigQuery Log Sink defines the schema of the table based on the first record inserted.
Any changes in record structure in ...
0
votes
1
answer
23
views
Error while trying to call a cloud function using service account
const { GoogleAuth } = require('google-auth-library')
const auth = new GoogleAuth();
async function func1() {
const client = await auth.getIdTokenClient(targetAudience);
const ...
-2
votes
0
answers
27
views
the WAF detact the proxy container keep sending HTTP.URI.SQL.Injection , Cross.Site.Scripting to attack the GCP bucket [closed]
these content maybe has grammar or word incorrect , because i am not english native speaker , thanks for your attention and help.
background :
my website is prepare migrate to cloud now that we have ...
0
votes
1
answer
67
views
Error when creating materialized view on datastream enabled Bigquery tables
We have tables in bigquery that are populated using datastream from postgres. We want to create materialized views on top of these bigquery tables but we run into the following error
Materialized ...
1
vote
0
answers
12
views
Serilog structured data doesn't work in Google Cloud functions with C# / .NET
We're using Serilog (wrapped in a .NET ILogger) to perform logging in Google Cloud functions written using .NET Core, and also in ASP.NET Core APIs that are in Kubernetes containers in Google Cloud. ...
-2
votes
0
answers
16
views
How to interpret the dominant pollutants data from the response of the google air-quality history lookup API? [closed]
I had queried the airquality history api and got the below response with hoursInfo and pollutants,I see that dominant pollutant is pm10 based on Universal AQI and PM25 from another AQI reference, and ...
0
votes
1
answer
47
views
Load Balancer SSL Issue: Not Trusted Warning Despite Valid OV Certificate
I've implemented a load balancer using my own OV certificate, which is valid until next year. Initially, everything was working fine, but I've encountered an issue where some users, including myself ...
-1
votes
1
answer
18
views
CORS Header missing from POST request in Google Cloud Function (Python)
I have the following Google Cloud function in Python:
`@functions_framework.http
def main(request):
# Enable CORS for all routes
headers = {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-...
0
votes
0
answers
12
views
How to query Google Cloud for not exceeding the free quota of a service?
I'm actually coding a tool for text to speech language learning and use the Google Cloud Text-to-Speech API.
There is a free quota of 1 and 4 million bytes per month.
Does anybody know how to query ...
0
votes
0
answers
24
views
Exclude an entire OU when GCDS does a sync
In Google Cloud Directory Sync Config-Manager, I am trying to exclude the Schools that are not of particular interest by doing the following regex pattern under Org-Units-->Exclusion Rules
OU=...