50,759 questions
0
votes
0
answers
17
views
Get Google Cloud service accounts using the Node.js client
I want to retrieve details of service accounts in Google Cloud, using Node.js.
The docs indicate this isn't supported: https://cloud.google.com/nodejs/docs/reference/iam/latest
Contrast this in Java ...
1
vote
0
answers
16
views
How do you run Python Hadoop Jobs on Dataproc?
I am trying to run my Python code for Hadoop job on Dataproc. I have a mapper.py and a reducer.py file. I am running this command on the terminal -
gcloud dataproc jobs submit hadoop \
--cluster=my-...
0
votes
0
answers
16
views
GCP Workflow deployment failed: token recognition error at: '“' when using variables
I am trying to deploy a GCP Workflow like this:
main:
steps:
- init:
assign:
- project_id: ${sys.get_env("GOOGLE_CLOUD_PROJECT_ID")}
- job_location: europe-...
0
votes
0
answers
23
views
gcloud CLI: Permission denied moving project between organizations
I’m trying to move a Google Cloud project from our org (Org ID: ORG_ID_1) into the client’s org (Org ID: ORG_ID_2) with:
gcloud beta projects move PROJECT_ID --organization=ORG_ID_2
but I immediately ...
0
votes
1
answer
30
views
Default values on Google workflow YAML file
I am looking into a way of defining default variables into a Google workflow YAML file, but for some reason I cannot find if it is supported or not.
Imagine the following YAML file for a workflow:
...
-2
votes
0
answers
17
views
Chirp 3 HD(TTS) with 8000hz sample rate? [closed]
Is it possible to use Chirp 3 HD or Chirp HD in streaming mode with an output of 8000hz as a sample rate instead of the default 24000hz, the sampleRateHertz parameter in streamingAudioConfig is not ...
0
votes
0
answers
30
views
Network issue in Cloud Run Service
I have a Cloud Run service that does the following:
Starts a change stream for a monogdb collection
Batches the changes and publsihes them to pubsub every 1 second
Stores resume token every 5 minutes ...
0
votes
1
answer
17
views
Bigquery dataset is not able to find table
I have configured opentelmetry collector to export traces to googlecloud
exporters:
googlecloud:
project: demo-dev
logging: {}
extensions:
health_check: {}
memory_ballast:
...
0
votes
1
answer
29
views
Correct way to use GKE Connect Gateway client?
I'm trying to use the Connect Gateway client in python to connect to GKE but I keep getting 400, even if everything seemingly is correct.
Example
from google.cloud.gkeconnect import gateway_v1
client ...
1
vote
0
answers
29
views
Workarounds for GCP Load Balancer Closing SSE Connections After Timeout Without Increasing Backend Timeout?
I'm hosting a Go service behind a Google Cloud HTTP(S) Load Balancer that serves Server-Sent Events (SSE) to clients as one of their service (there's another service which only serves normal API ...
0
votes
0
answers
27
views
Unable to run Video Intelligence AI due to Message Serialization Error
i'm trying to run Google Cloud Video Intelligence through cloud functions locally using firebase emulator. This function hasn't been deployed to production and i get an error.
I'm following the ...
-1
votes
1
answer
40
views
Edit Google Drive and Sheets Files (Airflow Google Provider): Insufficient credentials
I am trying to modify a Google Sheets file and a CSV file in Google Drive via the Apache Airflow Google Provider:
df = pd.DataFrame(data)
csv_data = df.to_csv(index=True)
gcs_hook = GCSHook(...
0
votes
1
answer
40
views
Firebase Firestore rules with count [closed]
Can someone demonstrate how to use the count() function in a Firestore Security Rules to limit the number of documents created?
This is my current code, but it is now working:
match /doc/{docId}{
...
0
votes
0
answers
28
views
GCP Infrastructure Manager needs excessive ADMIN or OWNER role on project to work
I'm trying to configure GCP Infrastructure Manager (IM) with my custom Service Account (SA), but I can't do that without assigning it a project ADMIN or OWNER role.
I assigned SA the following roles:
...
0
votes
0
answers
16
views
Google Map Styles - How to access/edit an existing custom map style using JSON
I created a custom Map Style on the Google Cloud console.
This map was created by uploading some JSON.
Processed followed:
map style->create style->JSON(tab)->Customize->save)
This works ...
0
votes
0
answers
78
views
setOwner(emailAddress) method returns a Exception: Access denied: DriveApp error? Is there a fix to this? [duplicate]
function transferOwnership() {
const fileId = "some-sheet-id-that-i-own";
const newOwnerEmail = "[email protected]"
const file = DriveApp.getFileById(fileId);
const ...
1
vote
0
answers
48
views
why isn't my GCS-triggered Python Gen2 Cloud Function executing/logging despite Editor role?
I am trying to trigger a simple Python 3.11 Gen2 Cloud Function (parse-ticket-v2) in project loadsnap-prod (ID: 266229951076, region us-central1) when a file is finalized in the GCS bucket gs://...
0
votes
1
answer
19
views
Datastore Query Null Ancestor
I have an entity Foo in Datastore that sometimes has an ancestor defined and sometimes doesn't.
How can I query Datastore for entities that have no (null) ancestor?
I tried (GQL):
SELECT * FROM `Foo` ...
1
vote
1
answer
32
views
Flutter Google Sign-In Error: ApiException: 10
I’m encountering an ApiException: 10 error when implementing Google Sign-In in my Flutter app. Despite following documentation and troubleshooting steps, the issue persists.
Error Details:
...
0
votes
1
answer
39
views
GCP load balancer url re-writing and backend-mapping not happening the way I'd expect
I am using a classic application load balancer with two backends. I want my main backend to handle most requests and my auth backend to handle requests to /auth/*. I've been playing around with ...
0
votes
1
answer
44
views
How to generate the Endpoint URL to cloud functions for push subscriptions on Google Pub/Sub?
I have a Cloud Function (v1) that is set to trigger every time a message is received in a specific topic. This part of the configuration is done correctly (since I've followed previous working cloud ...
1
vote
0
answers
70
views
Menu not showing after install; issues with onOpen() and AuthMode.NONE [closed]
I'm working on a Google Workspace Add-on (a Mail Merge tool), and I keep getting rejected by the GWM review team with this feedback:
*
Menu - Menu options not shown after App is installed. Please ...
0
votes
2
answers
38
views
Can't enable Google Cloud Platform Geocoder service
When I try to enable the Geocoding API, I receive this error:
Even though I'm not in India (I have checked Google account region, GCP account region to see if there is any incorrect setting).
If I ...
0
votes
1
answer
38
views
Which GCP Service to use in order to migrate Elasticsearch from AWS to GCP
We're looking for the name of a managed Elasticsearch service on Google Cloud Platform (GCP) — something that can serve as an alternative to AWS OpenSearch.
So far, we haven't found any clear ...
0
votes
0
answers
49
views
How to implement data encryption in postgresql [closed]
In HRMS service I made employee,salary and other things for employee apis,have done secret manager implementation so that only user with specific roles can access the api now want to implement db ...
-1
votes
1
answer
54
views
How can I do `math.ceiling()` in GCP cloud workflow?
I found math.floor: https://cloud.google.com/workflows/docs/reference/stdlib/math/floor
actually, I didn't even find math.floor useful, since I can already accomplish the same effect by calling int() ...
-1
votes
1
answer
54
views
GCP: Why can't my Backend Bucket find my public files?
Short Version:
I have configured a backend bucket on my load balancer and mapped it to /__/auth/, that bucket contains a publicly acessable file named handler, but when I hit /__/auth/handler I get an ...
0
votes
1
answer
30
views
The --update-labels argument of gcloud functions deploy does absolutely nothing
Maybe this is a bug because its suppose to work: https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--update-labels
This command completes without issue:
gcloud alpha functions deploy <...
1
vote
1
answer
34
views
BigQuery select last modified time using __TABLES__ from all tables in all datasets?
I would like to get list or csv and store it in GCS, where the list contains list of all the tables and the last modified date.
I have more than 130 datasets and 10-20 tables in each datasets. Since I ...
0
votes
1
answer
36
views
Cheapest way to check if two BigQuery tables are identical up to row ordering?
I need to check if two BigQuery tables are identical, where the only difference might be the ordering of rows. Obviously, I want to avoid scanning both tables completely.
I initially thought of ...
0
votes
1
answer
25
views
Disable auto scaling for templated jobs
In Dataflow, you can run jobs without autoscaling. This is typically achieved by setting a pipeline_option called autoscaling_algorithm to NONE. Attempting the equivalent on Templated Dataflow Jobs ...
0
votes
1
answer
48
views
How to prevent deletions from source (GCP CloudSQL MySQL) reflecting in GCP BigQuery using Datastream?
Description:
We are currently using Google Cloud Datastream to replicate data from a CloudSQL (MySQL) instance into BigQuery in near real-time. The replication works perfectly for insert and update ...
1
vote
0
answers
29
views
Spring Boot fails to load DataSource properties from GCP Secret Manager on GCE
I'm trying to configure my Spring Boot application running on GCE (Google Compute Engine) to fetch database connection properties from GCP Secret Manager.
Goal:
I want to store multiple related ...
0
votes
1
answer
37
views
GCP Cloud Functions - How to import local scripts outside of cloud function? How to structure projects that use a global config.py file?
I have one giant repo folder which contains many more sub-repos, and each sub-repo contains multiple cloud functions, i.e.
|-repo_master
|-repo_a
|-cloud_function_a
|-....
0
votes
0
answers
16
views
What is the accuracy of the location in the metadata returned by the Google Street View API? [closed]
I am currently conducting research related to positioning, and I plan to use the Google Street View API as one of the data sources. When returning street view images, the Google Street View API also ...
0
votes
1
answer
52
views
Seeing mixed results from clustering in BigQuery [closed]
We have tables partitioned by day, and we want to additionally improve with clustering.
I understand from How can I improve the amount of data queried with a partitioned+clustered table? that ...
0
votes
1
answer
42
views
Stop Otel from tracing its own internal metric exporting activity
I've implemented Otel for my python app sending telemetry to GCP backend. I'm seeing these trace spans for https://otel-collector-xxx.asia-southeast1.run.app/opentelemetry.proto.collector.metrics.v1....
-1
votes
0
answers
22
views
How to get an event when a label is created using pub/sub [closed]
I am working on gmail API and want to know is there any event triggered when we create a new label inside the gmail application.
as per documentation I get notified when an email is added to the ...
0
votes
1
answer
70
views
GKE Multi-Cluster Ingress (MCI) ignores BackendConfig Health Check, uses default HTTP / check
Environment:
GKE Standard Clusters (Version: ~1.31.6-gke.1064001)
2 Clusters (sglang-us in us-central1, sglang-asia in asia-northeast1)
Clusters registered to a Fleet, MCI enabled, sglang-us is the ...
0
votes
0
answers
47
views
Resource busy error when using Pins package with Google Cloud Storage in R
I am using R with the pins package to write a vetiver model to my storage bucket in GCP.
I am getting the following error when I use this code:
board <- board_gcs(
"john-mlops-bucket",
...
1
vote
0
answers
31
views
Setting to increase GCP Pub/Sub subscription send throughput
I am trying to figure out the source of latency in my application as I am seeing a number of un-acked messages per unit time on the dashboard for my GCP Pub/Sub subscription. My application simply ...
0
votes
2
answers
57
views
Deploy via Maven to GCP Standard Edition has started to fail - Python missing
I have been using the following cloudbuild.yaml file for a number of years and it has worked perfectly
steps:
- name: "gcr.io/cloud-builders/mvn:appengine"
args: ["-D", &...
0
votes
0
answers
47
views
How can I securly add Client_secret to my code when authenticating a serverless desktop app on google cloud platform?
I'm trying to make a desktop app (without a server) with python that allows the user to do some automation in google sheets.
I'm having trouble in managing the Client_secret file provided by google's ...
0
votes
1
answer
55
views
Can I add extra build steps when deploy cloud functions on GCP?
I am using terraform to deploy a python cloud function, similar to the official example, things are working as expected but now I want to use protobuf, which requires extra compile step, I know cloud ...
0
votes
1
answer
88
views
Google Sign-In without Firebase — ApiException 12500 when using serverClientId in Flutter
I'm implementing Google Sign-In in Flutter without Firebase.
I completed the setup on Google Cloud Console:
Configured OAuth consent screen
Created OAuth 2.0 Client IDs
Added SHA-1 certificate ...
0
votes
1
answer
48
views
Why is priority treated differently in VPC firewall rules vs Artifact Registry on GCP?
In the VPC firewall priority rules documentation on Google Cloud, it states:
Specify the Priority of the rule. The lower the number, the higher the priority
In the Artifact Registry virtual repository ...
0
votes
0
answers
19
views
Should I use Apigee X with VPC peering or not, if both backend and API proxies are internet-facing?
I'm currently setting up Apigee X and I'm wondering whether it's necessary to use VPC peering (or even Private Service Connect) in my case.
Here's my setup:
All of my backend services are already ...
0
votes
0
answers
52
views
Spanner error while updating data into a JSON column
I am working with the GCP Spanner database using the sqlalchemy ORM. This is the table schema where I am trying to insert/update (based on a check) data into a JSON column:
from sqlalchemy import ...
0
votes
2
answers
40
views
Deploying Revision. Resource readiness deadline exceeded
I have several cloud run + triggers connected to github. Everything run fine until yestersay, today if I commit and the trigger starts de deploy of the new version, it takes between 30-60min and then ...
0
votes
1
answer
43
views
How can I access users GA4 data using service account without adding service email as a user
I have a laravel project, where I try to get user's google analytics data. I created a OAuth2 authentication to get user's credentials. I also set a google cloud project, created a service account and ...